Saturday, December 18, 2010

Web Service Wizards-2: Creating Process Definition Stubs From a WSDL File

When we use this Web Service wizard...? To know click here

To create a service resource and process definition stubs from a WSDL file, perform the following procedure:
  • Place the WSDL file in your project directory.
  • If your project is not open, open your project in TIBCO Designer. If your project is already open in TIBCO Designer, choose Resources > Refresh from the menu
  • Create a transport shared configuration resource (either HTTP Connection or JMS Connection) to use as the transport for the web service.
  • Select and right-click on the name of the WSDL file in the project tree.
  • Choose Tools or Multi-User > Generate Web Service > From WSDL from the pop-up menu. The WSDL to Process dialog appears.
  • Review the values for the fields in the WSDL to Process dialog. The default values may be sufficient for your purposes, or you may wish to change the values.
  • Click Generate to create a Service resource and process definition stubs for the operations in this WSDL file. The Service resource is named (interfaceName)-service and the process definition stubs are named (portType)(operationName). The service and process definition stubs are placed in the location specified in the WSDL to Process dialog.
  • Click the (interfaceName)-service resource in the project tree to display the service. Ensure the endpoint bindings are specified correctly. For HTTP transports, you may need to specify the Endpoint URI. For JMS transports,you must specify the destination name and other JMS configuration information.
  • Click on each process definition stub and provide the implementation for each operation by completing the process definition for the operation.

Read more...

Sunday, December 12, 2010

Web Service Wizards-1: Creating Web Services From Process Definitions

When we use this Web Service wizard...? To know click here

Procedure To create a service resource and WSDL file from one or more process definitions
  • Open a project in TIBCO Designer and create one or more process definitions that implement operations you wish to expose as web services. The input,output, and error schemas for each process definition must be specified as WSDL messages.
  • Create a transport shared configuration resource (either HTTP Connection or JMS Connection) to use as the transport for the web service.
  • Select and right-click on the name of one of the process definitions in the project tree.
  • Choose Tools or Multi-User > Generate Web Service > From Process from the pop-up menu.The Generate Web Service dialog appears.
  • Review the values for the fields in the Generate Web Service dialog. The default values may be sufficient for your purposes, or you may wish to change the values.
  • Click Generate to create a Service resource and WSDL file for the selected process definitions.The Service resource is named intf(processDefinitionName)-service and the WSDL file is named intf(processDefinitionName).
  • Click the intf(processDefinitionName)-service resource in the project tree to display the service. Ensure the endpoint bindings are specified correctly. For HTTP transports, you may need to specify the Endpoint URI. For JMStransports, you must specify the destination name and other JMS configuration information.

Read more...

Sunday, December 5, 2010

Web Service Wizards

TIBCO BusinessWorks provides two wizards for easily creating web services. The two wizards are useful in the following situations:
  • you wish to expose one or more process definitions as web services.
  • you have a WSDL file describing the interface to a web service and you wish to quickly create the process definition stubs that will implement the operations in the interface

Wizard 1: Creating Web Services From Process Definitions


Wizard 2:
Creating Process Definition Stubs From a WSDL File



Will describe about these wizards in the next posts.

Read more...

Popular Posts

  © Blogger templates The Professional Template by Ourblogtemplates.com 2008

Back to TOP