Remember, you don’t need to have Developer generate a Flow for you to invoke a web service.
You can look at a generated Flow and follow the basic steps to do this yourself.
You need to start with document types that correspond to the input and output messages. Populate the input document, convert it to a string then a node and add it to the soap body. Do the same thing if you have any header elements.
Once your soap message is populated you can sent it with pub.client:soapHTTP. You will get a soapResponseData object as an output of this service unless there is an exception (like can’t find host). The soapResponseData will contain either the result document inside the soap body or will contain a soap fault.
There’s nothing magic about the Flow generated by the web services connector. In fact, because if uses hardcoded URLs and does not have any capability to retry the soapHTTP call on transient errors, I don’t recommend using the generated code except in early development.
HTH,
Mark
#soa#webMethods#API-Management