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
SchemaSample DB recordsNow, create a WSDL from the Business Process. Follow the instructions as shown below..
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