Cloud Application Integration (On-Premises) : Integration Server Built-In Services : SOAP Folder : pub.soap.utils:validateSoapData
pub.soap.utils:validateSoapData
WmPublic. Verifies that a SOAP object represents a valid SOAP message.
You can use this service to validate a SOAP object that was generated directly from an InputStream or String with pub.soap.utils:stringToSoapData or pub.soap.utils:streamToSoapData. If soapData does not contain a valid SOAP message, validateSoapData will throw an exception.
This service validates the SOAP object against the schema in pub.soap.schema:envelope.
Input Parameters
soapData
Object SOAP object that you want to validate.
Output Parameters
None.
Usage Notes
If you create SOAP objects using the standard message-composition services (for example, pub.soap.utils:createSoapData, pub.soap.utils:addBodyEntry, pub.soap.utils:addHeaderEntry) there is no need to use this service. This service is only necessary when you generate a SOAP object directly from an InputStream or a String.
When validating SOAP, Integration Server uses the W3C recommendation XML Schema Part 2: Datatypes. If you want to validate the input of this service for illegal values in the SOAP envelope and header, set the watt.core.validation.w3cConformant configuration parameter to true. For information about setting this configuration parameter, see webMethods Integration Server Administrator’s Guide.
See Also
pub.soap.utils:stringToSoapData
pub.soap.utils:streamToSoapData
Copyright © 2015- 2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback