In one of my previous step by step tutorials I explained how we can use SOAP Event Source to expose a BW Process as Web Service. In this TIBCO Retrieve Concrete WSDL tutorial, I am going to explain how you can use SOAP Palette activity RetrieveResources to retrieve Concrete WSDL from that process and then save it to a file locally so that It can be used by clients to consume SOAP Web service.
Once you have successfully developed and tested your SOAP Web Service created using my tutorial on SOAP Event Source, you can proceed with below steps to retrieve concrete wsdl from it.
Step 0: Create SOAP Web Service using SOAP Event Source and Test It
I call this step as step zero as this step is already covered in my earlier tutorial on SOAP Event Source.
Once you are done with that, you can proceed towards next step in which we will be retrieving WSDL.
Step 1: Create Process with RetrieveResources Activity and a Write File Activity to Save WSDL File
Create a new process and add RetrieveResources activity from SOAP Palette in the process. (I named the process as Retrieve Concrete WSDL).
In the Input tab of Retrieve Resources configuration, give the inputs as below:
resourcepath: Path to the process which has been exposed as a web service along with ?wsdl suffix
filter: write wsdl in this field as we want to retrieve wsdl resource.
hostname: Host Name value should be same as used in the HTTP transport used for the web service
port: Port should also match the transport port of the web service
Complete configuration screenshot is shown below:
The output of this RetrieveResources activity will be concrete wsdl as resourceData element.
Now add a Write File activity and simply map the resourceData as input to the file so that Concrete WSDL is saved in the file. Input mapping of Write File activity is shown below:
Now in the next step, we will test the process to see how it works.
Step 3: Test Process to Retrieve WSDL and Save to a File
Load the process in designer tester. Make sure that Web Service is also in running state otherwise you won’t be able to retrieve concrete wsdl from it.
Once you are sure that web service is up and running (either in designer tester or in administrator), you can create a new job for the process in tester. As you can see below, process has run successfully:
Now you can go to the file and verify that concrete wsdl has been saved in the file.
iam using the http receiver and http response but when i was trying to hit the service not getting the wsdl from browser but write the wsdl into file..
What is resource path here… How to write that path in input tab configuration…. Please tell me..
Hi Siva,
Process that is exposed as a webprocess in the previous tutorial, as AJMAL ABBASI mentioned in his article, is the resource path, and this article is an extension to the same project.
Thanks Ajmal, for such great articles.
Regards,
Danish Maqbool
i have created a webservice in Tibco and created a WSDL using retrive resource activity. but i need to call the ws through a browser and for that i need WsDL url.. i have WSDL file but how to create WSDL URL from that file.
Dear Anusha,
Refer to below tutorial to know how you can retrieve wsdl from a deployed service (live url):
https://tutorialspedia.com/how-to-deploy-ear-in-tibco-administrator/
im new to this software i need to learn it from basics can u pleas help me with some more resources.
Can a WSDL be retrieved using “Retrieve Resources” if the webservice was published using ‘service’ palette. In that case what will be the path and resourceName to be used in the input tab of ‘Retrieve Resources’? Can you please give an example.