A “connector” is a Flow service with hardcoded Soap endpoint URLs generated from a WSDL. The web services connector wizard generates this code from the WSDL that you supply.
You don’t need to do this dynamically. You just want to modify the generated code or, better yet, just use the generated code as a starting point or model and create your own Flow that accepts variables for the things you want to parametrize.
There are many posts here on how to use properties files or other config files and several in the SOA Development forum on the frailties inheirent in the Flow generated by the web services connector.
It is beyond the scope of this reply to provide details on how to use Flow to pass values into a called Flow or java service.
Mark
#soa#webMethods#API-Management