July 04, 2009

Document Info

IPCOM #
000165692D
Published
Subscription feature
Number of pages
2
Language
Subscription feature
Format(s)
PDF
(HTML)



 

Web Services Description Language (WSDL)-to-XML-Schema document generator for Web service message validation

The problem solved by this concept is to generate well-formed, ordered XML schema document(s) from any suitable WSDL document, for use as inputs to well-known XML parsers such as Xerces, for validating XML messages for a specific Web service interface.

This text was extracted from a PDF file.

Page 1 of 2

Web Services Description Language (WSDL)-to-XML-Schema document generator for Web service message validation

This concept programmatically creates WSDL-derived XML Schema documents for use as inputs to an XML parser, for validating a document-literal Web service SOAP message, with particular emphasis on the SOAP message body (i.e. the Web service payload). The principal requirement for enabling validation for document-literal Web service messages is to insatiate a top-level schema document and any related schema documents, which together describe the service-specific structure of any SOAP message defined for the Web service at-hand.

The top-level schema can be uniformly described by some SOAP envelope schema with optional modifications, e.g. simplifications, if some validation pass-through is desired for the SOAP elements themselves, plus a required modification to replace the SOAP body xs:sequence element .

The resulting SOAP schema template together with some suitable, well-formed document-literal WSDL document are used as inputs to the concept.

From this point, the tasks for the concept are to analyze an arbitrary document-literal WSDL definitions document in order to generate appropriate child elements describing all service messages into the inner xs:choice element of the schema template, and to generate any supporting XML Schema documents necessary to the literal description of the service SOAP messages.

The components of the WSDL definitions document processed by the concept include:
· the wsdl:message elements and their constituent wsdl:part elements
· the types of each wsdl:part element, which in document-literal WSDL are referenced xs:element's described in some xs:schema element in the wsdl:types section

· any xs:schema element in the wsdl:types section used to type a wsdl:part element
· the namespaces associated with any of the above

Processing each wsdl:message element for its child wsdl:part elements produces xs:sequence's and/or xs:element's to be appended as children to the xs:choice element in the SOAP schema template. This also produces additional namespace prefix attributes for the template's outer xs:schema element, i...

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 52% of the total text.

Disclosed by IBM

Previewing pages 1-2 of 2
page 1 of 2 page 2 of 2


Keep up to date with our RSS newsfeed  Download/view the live RSS feed of current documents