Difference between revisions of "Top-down development method"

From GreenVulcano Wiki
Jump to: navigation, search
(Top-down development method)
(Top-down development method)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
== Top-down development method ==
 
== Top-down development method ==
Wizard Top-down development method guides user step by step with the [http://en.wikipedia.org/wiki/Web_service Web Service] creation. Prerequisites to use this wizard is the WSDL file. If you don't know how build a WSDL file visit this  [http://www.w3.org/TR/wsdl link] Right click on GVServices-->Services label and select "Wizard Top-Down Web Service...".New WebService Wizard window will be open.
+
Wizard Top-down development method guides user step by step with the [http://en.wikipedia.org/wiki/Web_service Web Service] creation. Prerequisites to use this wizard is the WSDL file. If you don't know how build a WSDL file visit this  [http://www.w3.org/TR/wsdl link]. Right click on ''GVServices-->Services'' label and select ''Wizard Top-Down Web Service...''. New WebService Wizard window will be shown.
  
In the first Wizard page user selects the WSDL file.The Wizard on the second page proposes the operations that are described in the WSDL file. User selects one or more operations. In the next page user sets the following parameters:
+
In the first Wizard page user selects the WSDL file. The Wizard on the second page proposes the operations that are described in the WSDL file. User selects one or more operations. In the next page user sets the following parameters:
 
*Create Services, if this radio button will be checked the Service parameters are enabled  
 
*Create Services, if this radio button will be checked the Service parameters are enabled  
 
*Use existing services, if this radio button will be checked the Service parameters are disabled  
 
*Use existing services, if this radio button will be checked the Service parameters are disabled  
Line 10: Line 10:
 
*Operation name, the operation name present in the WSDL file
 
*Operation name, the operation name present in the WSDL file
 
*Service, choose {{GVESB}} service to invoke.
 
*Service, choose {{GVESB}} service to invoke.
In the last page User sets the followimg parameters:
+
In the last page User sets the following parameters:
*[[Data provider]]
+
*[[Data provider]], used to adapt the workflow output to the Web Service output
*Input type
+
*Input type, used to choose what must be passes as input to the workflow:
*Input xsd name: the name of your XSD files defined in the XSD folder
+
**context        : the [http://axis.apache.org/axis2/java/core/api/org/apache/axis2/context/MessageContext.html MessageContext]
*Output xsd name: the name of your XSD files defined in the XSD folder
+
**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 [http://ws.apache.org/axiom/apidocs/org/apache/axiom/soap/SOAPEnvelope.html SOAPEnvelope] object
 +
**body-om        : the body as [http://ws.apache.org/axiom/apidocs/org/apache/axiom/soap/SOAPBody.html SOAPBody] object
 +
**body-element-om : the first child of body as [http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMElement.html OMElement] object
 +
**header-om      : the header as [http://ws.apache.org/axiom/apidocs/org/apache/axiom/soap/SOAPHeader.html SOAPHeader] object
 +
*Input xsd name: the name of your XSD file, defined in the xsds folder
 +
*Output xsd name: the name of your XSD file, defined in the xsds folder
 
*Choose if Web Service should be forced to HTTPS
 
*Choose if Web Service should be forced to HTTPS
 
*Choose if target namespace to be used is the one in the xsd
 
*Choose if target namespace to be used is the one in the xsd

Latest revision as of 08:34, 28 February 2012

Top-down development method

Wizard Top-down development method guides user step by step with the Web Service creation. Prerequisites to use this wizard is the WSDL file. If you don't know how build a WSDL file visit this link. Right click on GVServices-->Services label and select Wizard Top-Down Web Service.... New WebService Wizard window will be shown.

In the first Wizard page user selects the WSDL file. The Wizard on the second page proposes the operations that are described in the WSDL file. User selects one or more operations. In the next page user sets the following parameters:

  • Create Services, if this radio button will be checked the Service parameters are enabled
  • Use existing services, if this radio button will be checked the Service parameters are disabled
  • System
  • Participant
  • Channel
  • Operation name, the operation name present in the WSDL file
  • Service, choose GreenVulcano® ESB service to invoke.

In the last page User sets the following parameters:

  • Data provider, used to adapt the workflow output to the Web Service output
  • Input type, used to choose what must be passes 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
  • Input xsd name: the name of your XSD file, defined in the xsds folder
  • Output xsd name: the name of your XSD file, defined in the xsds folder
  • Choose if Web Service should be forced to HTTPS
  • Choose if target namespace to be used is the one in the xsd

Example

Web Service name Operation Description
Credit Card withdrawal This operation............................................................. Example 1
Credit Card Saldo This operation............................................................. Example 2