Designer 10.7 | webMethods Service Development Help | Working with Web Services | Omitting xsd:any from the WSDL Document
 
Omitting xsd:any from the WSDL Document
When generating the WSDL schema for a provider web service descriptor that contains a document reference with the Allow unspecified fields set to True, Integration Server uses the value of the watt.core.schema.createSchema.omitXSDAny server configuration parameter to determine whether the xsd:any element is omitted from or retained in the schema.
The value of watt.core.schema.createSchema.omitXSDAny is global to all web service descriptors. However, you can override the value of the server configuration parameter for an individual web service descriptor by using the Omit xsd:any from WSDL property. If the value of this property is true, the xsd:any element is omitted from the schema portion of the WSDL document whether or not the document variable has Allow unspecified fields set to True. If the value is false, the xsd:any element is retained in the schema portion only if the document variable has Allow unspecified fields set to True.
*To omit or retain xsd:any in the WSDL document
1. In Package Navigator view, open and lock the provider web service descriptor for which you want to omit or retain the xsd:any element when generating the WSDL schema.
2. In the Properties view, next to Omit xsd:any from WSDL, select True if you want Integration Server to omit the xsd:any element from the WSDL document associated with the web service descriptor. Otherwise, select False.
The default is True.
3. To save the changes, click File > Save.
4. For the changes to take effect, right-click the web service descriptor and select Refresh Web Service Descriptor.
Alternatively, you can reload the package that contains the web service descriptor. For more information, see webMethods Service Development Help.