Match Input Wrapper Element with Operation name in Soap 1.1 Request to Virtual Service
I am trying to mock an external SOAP WebService that I have no control over. The specs are Soap 1.1 with an empty soapAction HTTP header and a generic URL. There are 13 operations under the URL and wsdl. Their system matches the input wrapper element right after the SOAP Body element. The input wrapper element is the same name as the operation in the wsdl. I've searched days and have found no answers on how I can map the incoming request to the operation that was built in ReadyAPI's virtual service. It seems you can only dispatch incoming request to either a specific URL per operation or the soap action.
I've been looking at the OnRequest Script, which is run before going to the request dispatch, which routes to the correct request operation. I can parse the soap body and get the operation name from the input wrapper element. After that I have found no solution in finding a way to know call the correct operation. I keep getting a HTTP ERROR 500 Failed to dispatch request when submitting the soap request to the virtual service. Does anyone know how I can correctly dispatch the incoming messages to the correct operation in the request? I have not found a way to set the operation name, etc.
Re: Match Input Wrapper Element with Operation name in Soap 1.1 Request to Virtual Service
I would appreciate it if any of thread participants update with the result if any...
Regards, /Alex [Community Hero] ____ [Community Heroes] are not employed by SmartBear Software but are just volunteers who have some experience with the tools by SmartBear Software and a desire to help others. Posts made by [Community Heroes] may differ from the official policies of SmartBear Software and should be treated as the own private opinion of their authors and under no circumstances as an official answer from SmartBear Software. The [Community Hero] signature is used with permission by SmartBear Software. https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame ================================