Forum Discussion
M_McDonald
17 years agoSuper Contributor
I have been able to setup Mock Services this way for GET requests, but POST requests always want a SOAP envelope.
I have also tried creating a dummy SOAP service, then modifying the mockRequest.requestContent in OnRequest script of a Mock Service to wrap it in the appropriate envelope, but it seems that the changed requestContent is not passed on as I always get the "missing/invalid SOAP envelope" error.
I have also tried creating a dummy SOAP service, then modifying the mockRequest.requestContent in OnRequest script of a Mock Service to wrap it in the appropriate envelope, but it seems that the changed requestContent is not passed on as I always get the "missing/invalid SOAP envelope" error.