Purpose of this document is to create a generic document oriented Web Service(not necessarily SOAP/WSDL), that receives an XML Document as request and returns an XML Document as response. Instead of implementing/calling WS Operations - RPC approach user works directly with XML Document (or with the body of SOAP Message) - Document approach.
User specifies the Messaging Type that defines the format of the messages on the wire: HTTP/XML or HTTP/SOAP.
Then, user specifies the technique used to process/generate the request/response :
+-------------------------------------------------------------------------------- + | | | Web Service Name: |_NewWebService_____________________________________________| | | | | Project: |_ModuleX __________________________________________________________| | | Location: |_Source Packages__________________________________________________v| | | Package: |_com.acme_________________________________________________________v| | | | | ------------------------------------------------------------------------------- | | Select the format of the messages on the wire : | | | | (*) HTTP/XML (plain XML documents used to transfer data, e.g.REST WS) | | (*) Use direct access to XML content (javax.xml.transform.Source) | | ( ) Use JAXB to process XML Request and to generate XML Response | | XML Schemas:_____________________________________________ [ Browse... ] | | URL's for XML schemas specifying XML documents | | use comma (,) to separate multiple schemas | | | | ( ) HTTP/SOAP SOAP Version: (*)1.1 ( )1.2 | | (*) Use direct access to SOAP content (javax.xml.transform.Source) | | ( ) Use SAAJ API to process SOAP Request and to generate SOAP Response | | ( ) Use JAXB to process SOAP Request and to generate SOAP Response | | WSDL File: __________________________________________________[ Browse... ] | | URL for WSDL file | | | | This is an error message | +---------------------------------------------------------------------------------+Components:
+-------------------------------------------------------------------------------- + | | | Web Service Client Name: |_NewWebServiceClient________________________________| | | | | Project: |_ModuleX __________________________________________________________| | | Location: |_Source Packages__________________________________________________v| | | Package: |_com.acme_________________________________________________________v| | | | | ------------------------------------------------------------------------------- | | Select the format of the messages on the wire : | | | | (*) HTTP/XML (plain XML documents used to transfer data, e.g.REST WS) | | (*) Use direct access to XML content (javax.xml.transform.Source) | | ( ) Use JAXB to generate XML Request and to process XML Response | | XML Schemas:_____________________________________________ [ Browse... ] | | URL's for XML schemas specifying XML documents | | use comma (,) to separate multiple schemas | | | | ( ) HTTP/SOAP SOAP Version: (*)1.1 ( )1.2 | | (*) Use direct access to SOAP content (javax.xml.transform.Source) | | ( ) Use SAAJ API to generate SOAP Request and to process SOAP Response | | ( ) Use JAXB to generate SOAP Request and to process SOAP Response | | WSDL File: __________________________________________________[ Browse... ] | | URL for WSDL file | | | | This is an error message | +---------------------------------------------------------------------------------+Components:
+-------------------------------------------------------------------------------- + | | | Web Service Name: |_NewWebService_____________________________________________| | | | | Project: |_ModuleX __________________________________________________________| | | Location: |_Source Packages__________________________________________________v| | | Package: |_com.acme_________________________________________________________v| | | | | ------------------------------------------------------------------------------- | | Select the format of the messages on the wire : | | | | (*) HTTP/XML (plain XML documents used to transfer data, e.g.REST WS) | | ( ) HTTP/SOAP 1.1 | | ( ) HTTP/SOAP 1.2 | | | | | | | | | | | | | | | | | | | | | | This is an error message | +---------------------------------------------------------------------------------+
+-------------------------------------------------------------------------------- + | | | Web Service Name: |_NewWebService_____________________________________________| | | | | Project: |_ModuleX __________________________________________________________| | | Location: |_Source Packages__________________________________________________v| | | Package: |_com.acme_________________________________________________________v| | | | | ------------------------------------------------------------------------------- | | Select the format of the messages on the wire : | | | | ( ) HTTP/XML (plain XML documents used to transfer data, e.g.REST WS) | | ( ) HTTP/SOAP 1.1 | | (*) HTTP/SOAP 1.2 | | | | | | (*) Use direct access to SOAP content (javax.xml.transform.Source) | | ( ) Use SAAJ API to generate SOAP Request and to process SOAP Response | | ( ) Use JAXB to generate SOAP Request and to process SOAP Response | | WSDL File: __________________________________________________[ Browse... ] | | URL for WSDL file | | | | | | | | | | This is an error message | +---------------------------------------------------------------------------------+
+-------------------------------------------------------------------------------- + | | | Format of the Message: |_HTTP/SOAP 1.2________________________________________| | | | | | | (*) Use direct access to SOAP content (javax.xml.transform.Source) | | | | ( ) Use SAAJ API to generate SOAP Request and to process SOAP Response | | | | ( ) Use JAXB to generate SOAP Request and to process SOAP Response | | | | WSDL File: __________________________________________________[ Browse... ] | | URL for WSDL file | | | | | | | | | | | | | | This is an error message | +---------------------------------------------------------------------------------+
Author: Lukas Jungmann