Thursday, August 31, 2023

SOAP WebServices - BW 5.x

What is SOAP.?

SOAP - full form is Simple Object Access Protocol. It is an XML-based messaging protocol for exchanging information among computers. SOAP is an application of the XML specification.

Here, I will explain step by step approach - how to develop a SOAP web service in TIBCO BW.

Provider:

First, we will see how to use Tibco-BW is a web service provider..

Create a simple business process, here I have created process to fetch DB records based on emp-id


Start Activity

JDBC Query Activity




End Activity


Schema

Sample DB records


Now, create a WSDL from the Business Process. Follow the instructions as shown below..



Save the WSDL and share it with your consumers. Here, we're testing by using SOAP UI.

Once you have generated successfully, you can see three artifacts in your project work-space

Testing with the help of SOAP UI
Click on SOAP icon and specify WSDL as input..

Consumer: 
If Tibco BW as a consumer, take WSDL as input and hit remote endpoint and get the response.



It's very simple, take SOAPRequestReply activity and follow guidelines as shown in above screenshot


Hope this helps.. 
Thanks for reading :-)








No comments:

Post a Comment

XML Palette Activities

The XML palette provides activities for parsing XML strings into schemas and rendering schemas into XML strings Parse XML: Parse XML  is use...