Web Service Development in TIBCO is one of the basic thing that almost every TIBCO developer has to do. Integrating applications through Web Service Interfaces is a common practice in almost every organization in order to comply with SOA standards.
Developing SOAP Web Service in TIBCO is not a tough job. TIBCO Designer tools make it easy to expose or consume web services.
Web Services Process:
1. HTTP Connection in your TIBCO
2. XML Schema for Input and Output of the Web Service
3. Abstract WSDL
4. BW Process using SOAP Palette and Expose as a Web Service
5. SOAP Web Service using SOAP UI
HTTP Connection in your TIBCO:
The web service that we are going to develop will use HTTP as a transport. So the first thing that we need to do is to create a new HTTP Connection by using HTTP Palette. Drag HTTP Connection resource in your project and configure it by specifying host and port.
XML Schema for Input and Output of the Web Service:
Before we create an abstract WSDL, we need to have a Schema in which all input and output parameters will be specified. In our case, the schema is simple having EmployeeID as an input while PayStatus and PayDate as output.
Abstract WSDL:
Abstract WSDL contains all details about a web service including Its operations, WSDL messages and their parameters. Double click on the WSDL and then add WSDL Messages for Request, Response and Fault.
BW Process using SOAP Palette and Expose as a Web Service:
Create a new process in your project. In the proess, drag SOAPEventSource so that It becomes your process starter activity. In the configuration of SOAP Event Source activity, choose the Abstract WSDL, Its operation and the HTTP transport.
WSDL Source tab, you will find Concrete WSDL which has all the details of the service including its transport. Save this concrete WSDL as it will be used by the client to consume the web service.
SOAP Web Service using SOAP UI:
You can consume your web service with any SOAP client. I am going to use SOAP UI tool for testing my web service.
AD Learnings is a one of the best TIBCO Online Training institute. Our tutors are highly experienced in TIBCO Technology.
No comments:
Post a Comment