Hi all,
How to turn on (if possible) SOAP message validation for incoming requests? I am not asking for checkbox “Input validation”, but for SOAP.
I found this parameter in extended settings:
watt.server.SOAP.validateSOAPMessage=true
but it didn’t work. Any clue?
AFAIK, this feature is not implemented in webMethods (Integration Server does not validate any of the data carried by the message). Feature request should be raised on Empower Brainstorm.
Hi Robert,
Please refer to below details from SAG guide:
watt.server.SOAP.validateSOAPMessage:
When Integration Server acts as the web service provider, indicates whether Integration
Server validates inbound SOAP requests and outbound SOAP responses. When set
to true, Integration Server validates inbound SOAP requests and outbound SOAP
responses against the SOAP schema. Be aware that the validation process checks only
that the message envelope is structured correctly. For example, Integration Server checks
that the message has at least one body element and there is at most one header element.
Integration Server does not validate any of the data carried by the message. The default
is true.
If you are operating in a production environment where the validity
of the messages submitted to the server is assured, you might set
watt.server.SOAP.validateSOAPMessage to false to optimize performance.
Regards,
Syed Faraz Ahmed
Hi Robert,
If you want to validate the content of the SOAP body you can use pub.schema:validate at the beginning of the provider service.
Set conformsTo parameter to the soap schema created during import of WSDL.
Regards,
Holger
Hi,
Maybe you should check Vlad Turian’s blog about web services: http://wm-explorer.com/web-services-headers-handlers-part/
Best regards,
Thx for all replies.
We will consider Gerardo Lisboa suggestion.