Difference between revisions of "Bottom-up development method"

From GreenVulcano Wiki
Jump to: navigation, search
(Wizard bottom-up development method)
(Wizard bottom-up development method)
Line 10: Line 10:
 
[[File:ws2.png|thumb|WebService Wizard second window ]]
 
[[File:ws2.png|thumb|WebService Wizard second window ]]
 
On the second page you can change:
 
On the second page you can change:
*Soap Action and the mapped operation name to the WebService-This optional property is set on an outgoing SOAP/JMS request message to indicate the soapAction value associated with the Web services request. This property is similar to the SOAPAction HTTP header used when transporting Web service requests over an HTTP transport. The value of the soapAction property is a URI identifying the intent of the SOAP request. If the soapAction property is specified, it is used by the server component to determine the target of the request. The SOAP specification places no restrictions on the format or specificity of the URI or that it is resolvable. Typically, this property is set to the soapAction value from the WSDL document.
+
*Soap Action and the mapped operation name to the WebService, This optional property is set on an outgoing SOAP/JMS request message to indicate the soapAction value associated with the Web services request. This property is similar to the SOAPAction HTTP header used when transporting Web service requests over an HTTP transport. The value of the soapAction property is a URI identifying the intent of the SOAP request. If the soapAction property is specified, it is used by the server component to determine the target of the request. The SOAP specification places no restrictions on the format or specificity of the URI or that it is resolvable. Typically, this property is set to the soapAction value from the WSDL document.
 
[[File:ws3.png|thumb|WebService Wizard third window]]
 
[[File:ws3.png|thumb|WebService Wizard third window]]
 
On the third page you can choose your preferred transport protocol. The properties indicates the version number of the protocol used by the client and server.If the SOAP request message represents a two-way request, the client component must set the JMS message.
 
On the third page you can choose your preferred transport protocol. The properties indicates the version number of the protocol used by the client and server.If the SOAP request message represents a two-way request, the client component must set the JMS message.

Revision as of 17:22, 1 February 2012

Wizard bottom-up development method

WebService Wizard first window

Wizard bottom-up development method help user to create a GreenVulcano® ESB service as a Web Service. Right click on GVServices-->Services label and select "Wizard New WebService...". New WebService Wizard window will be open. Fill the window fields as following:

  • In the "WebService name" field set the WebService name that you want to publish
  • In the "target namespace" field if you want you can change the default operation target namespace proposed
  • In the "Operation" field choose the operation to bind from list proposed.
WebService Wizard second window

On the second page you can change:

  • Soap Action and the mapped operation name to the WebService, This optional property is set on an outgoing SOAP/JMS request message to indicate the soapAction value associated with the Web services request. This property is similar to the SOAPAction HTTP header used when transporting Web service requests over an HTTP transport. The value of the soapAction property is a URI identifying the intent of the SOAP request. If the soapAction property is specified, it is used by the server component to determine the target of the request. The SOAP specification places no restrictions on the format or specificity of the URI or that it is resolvable. Typically, this property is set to the soapAction value from the WSDL document.
WebService Wizard third window

On the third page you can choose your preferred transport protocol. The properties indicates the version number of the protocol used by the client and server.If the SOAP request message represents a two-way request, the client component must set the JMS message.

  • Soap Transport
  • Soap12 Transport
  • Rest Transport
  • JMS Transport

If you choose Rest Transport, you must additionally select the verb for the operation. If you choose JMS Transport, you must additionally:

  • select The jms connection factory
  • JMS destination name
  • JMS destination type
  • Reply destination: Destination where a reply will be posted
  • contentType:This property is similar to the Content-Type header found in an HTTP message and is used to describe the content type of the message
  • ByteMessage
  • TextMessage
WebService Wizard fourth window

On the fourth and last page you must choose:

And optionally

  • The input XSD name
  • The output XSD name

And check the preferred Radio Button for:

  • HTTP or HTTPS
  • Target namespace that WebService use, is or not is in the XSD
  • Use or not use the original wsdl

Example

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