Difference between revisions of "Wizard Proxy Web Service"

From GreenVulcano Wiki
Jump to: navigation, search
(Wizard Proxy Web Service)
(Wizard Proxy Web Service)
 
Line 25: Line 25:
 
you can use, for example:   
 
you can use, for example:   
 
Return type = envelope-om  
 
Return type = envelope-om  
 +
 
and Data provider (Axis2MessageContextDataProvider):
 
and Data provider (Axis2MessageContextDataProvider):
 
<syntaxhighlight lang="java5">
 
<syntaxhighlight lang="java5">
Line 49: Line 50:
 
you can use, for example:   
 
you can use, for example:   
 
Return type = envelope-om  
 
Return type = envelope-om  
 +
 
and Data provider (Axis2MessageContextDataProvider):
 
and Data provider (Axis2MessageContextDataProvider):
 
<syntaxhighlight lang="java5">
 
<syntaxhighlight lang="java5">

Latest revision as of 16:14, 13 December 2012

Wizard Proxy Web Service

"Wizard Proxy Web Service" is a wizard that, from a service's WSDL, publishes the same service on GreenVulcano® ESB, therefore it is only a Proxy. In practice, it creates the Web Service call to the service indicated in WSDL file, defines a GreenVulcano® ESB service that makes the Web Service call and exposes this GreenVulcano® ESB service as Web Service.

In the first page you can choose the WSDL file.

In the second page you can select the operations that are described in WSDL file.

In the third page you can select the following parameters of the Web Service call:

  • System
  • Participant
  • Channel
  • Data provider, used to adapt the workflow input to the Web service input
  • Return type, used to choose what must be passed as output to the workflow:
    • context  : the MessageContext
    • envelope  : the envelope as XML serialized string
    • body  : the body as XML serialized string
    • body-element  : the first child of body as XML serialized string
    • header  : the header as XML serialized string
    • envelope-om  : the envelope as SOAPEnvelope object
    • body-om  : the body as SOAPBody object
    • body-element-om : the first child of body as OMElement object
    • header-om  : the header as SOAPHeader object

you can use, for example: Return type = envelope-om

and Data provider (Axis2MessageContextDataProvider):

envelope=#input.object

In the fourth page you can choose your preferred transport protocol between:

  • SOAP
  • SOAP12
  • REST Transport
  • JMS Transport

In the last page you can set the following parameters of the publishing Web Service:

  • Input type, used to choose what must be passed as input to the workflow:
    • context  : the MessageContext
    • envelope  : the envelope as XML serialized string
    • body  : the body as XML serialized string
    • body-element  : the first child of body as XML serialized string
    • header  : the header as XML serialized string
    • envelope-om  : the envelope as SOAPEnvelope object
    • body-om  : the body as SOAPBody object
    • body-element-om : the first child of body as OMElement object
    • header-om  : the header as SOAPHeader object
  • Data provider, used to adapt the workflow output to the Web service output

you can use, for example: Return type = envelope-om

and Data provider (Axis2MessageContextDataProvider):

envelope=#input.object
  • Choose if Web Service should be forced to HTTPS
  • Choose if target namespace to be used is the one in the xsd