XML Schema for SOAP messageI think there are bigger challenges. The soap envelope schema must allow arbitrary content for the body and header elements and sets processContents="lax" for those, so the guts of a specific SOAP message may not be validated by the SOAP processor if insufficient xsi:types are provided, or the schema cannot be found for the body or header content. Furthermore, XML Schema validation will likely be inadequate:
-- there may be cooccurrence constraints between Header and Body content. Some other validation process must deal with these. -- An element found in the body may be inconsistent with the wsdl message that corresponds with the SoapAction. A WSDL processor or the application itself must handle this. -- The content of a wsdl message part may be specified with a type, but the actual Soap message may contain something of a different type. Only a wsdl-aware soap processor or the application can deal with this. Jeff ----- Original Message ----- From: Volkmann, Mark To: '[EMAIL PROTECTED]' Sent: Friday, October 31, 2003 8:53 AM Subject: XML Schema for SOAP message I'm looking for an example of an XML Schema that can be used to validate a specific SOAP request or response. The combination of qualified and unqualified elements in a typical SOAP message seems to make this a real challenge.