Javaton

Friday, May 12, 2006

Strategies for document based web services

I found a very interesting article on strategies for document based web services.

Sameer Tyagi:
To recap, the Document-Based Web Services pattern can be realized using the following eight strategies, each with its own advantages and disadvantages:
  • Using XML in the SOAP body
    • Starting with a Web Services Description Language (WSDL)
    • Starting with Java code
  • Using string in the SOAP body
  • Using base64-encoded or raw bytes in the SOAP body
  • Switching off data binding
  • Using the xsd:any element in WSDL
  • Using the xsd:anyType in WSDL
  • Using an external Uniform Resource Identifier (URI) to reference the business document
  • Using message attachments in the SOAP message

0 Comments:

Post a Comment

<< Home