Forum Discussion

tslosar's avatar
tslosar
Contributor
12 years ago

SOAP envelope validation - local vs deployed mockservice

Hello and thank you for your time.

When I have a malformed SOAP message in a request the local mockservice returns a SOAP fault as expected:
<faultstring>org.apache.xmlbeans.XmlException: error: The element type "soapenv:Bodyx" must be terminated

However sending that same request to the same mockservice deployed to tomcat returns only
HTTP/1.1 200 OK

Can this validation be enabled with some setting? I could not find it. I thought it might be setting a Fault operation at the Mockservice level but I can only select existing operations in my WSDL.

I really appreciate your help. Looking forward to some response.

Kind regards,
No RepliesBe the first to reply