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.

0 comments:

Popular Posts

  © Blogger templates The Professional Template by Ourblogtemplates.com 2008

Back to TOP