Designer 10.7 | webMethods Service Development Help | Working with Web Services | Validating Schemas Associated with a Web Service Descriptor | Enabling Xerces Schema Validation for a Web Service Descriptor
 
Enabling Xerces Schema Validation for a Web Service Descriptor
When you create a web service descriptor from a WSDL document, you can specify that Integration Server use the Xerces Java parser to validate the schemas associated with the WSDL document. Once the web service descriptor exists, you can indicate that Integration Server validate the schemas associated with the web service descriptor by setting the Validate Schema using Xerces property to true. When the Validate Schema using Xerces property is set to true, Integration Server validates the schemas associated with an existing web service descriptor in the following situations:
*You change the IS schemas, document types, or signatures of the services associated with a web service descriptor
Note:Integration Server uses the internal schema processor to validate the schemas at this point as well.
*You select an element declaration from an XML Schema definition to use as the input or output signature of a 6.5 SOAP-MSG style operation. For more information about using 6.5 SOAP-MSG style services as operations, see Using a 6.5 SOAP-MSG Style Service as an Operation.
*You refresh the web service connectors for a consumer web service descriptor.
Integration Server sets the Validate Schema using Xerces property to true for all new web service descriptors. If you migrated a web service descriptor from a previous version of Integration Server, the migration utility set the value based on the version of Integration Server from which the web service descriptor was migrated.
*If the web service descriptor was migrated from Integration Server version 7.1.x, the migration utility set the Validate Schema using Xerces property to true.
*If the web service descriptor was migrated from Integration Server version 8.x, the migration utility used the value of the watt.server.wsdl.validateWSDLSchemaUsingXerces parameter to determine the value of the Validate Schema using Xerces property. If the parameter was set to true, the migration utility set the property to true. It the parameter was set to false, the migration utility set the property to false.
Note:
The watt.server.wsdl.validateWSDLSchemaUsingXerces parameter was removed in Integration Server version 9.0.
*To enable or disable schema validation by the Xerces Java parser
1. In Package Navigator view, open and lock the web service descriptor for which you want to enable or disable schema validation by the Xerces Java parser.
2. In the Properties view, next to Validate schema using Xerces, select True if you want Integration Server to use the Xerces Java parser to validate the XML Schema definitions associated with the web service descriptor. Otherwise, select False. The default is True.
3. Click File > Save.