TIBCO Tutorial: Retrieve Concrerte WSDL Using RetrieveResources and Save To a File

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:

soap retrieve resource input mapping example

 

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:

save concrete wsdl retrieve resources tibco

 

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:

test tibco retrieve wsdl resource

 

 

Now you can go to the file and verify that concrete wsdl has been saved in the file.

 

Ajmal Abbasi

Ajmal Hussain Abbasi is Integration Consultant By Profession with 13+ years experience in Integration domain mainly with TIBCO products. He has extensive practical knowledge of TIBCO Business Works, TIBCO Cloud, TIBCO Flogo, TIBCO Mashery, TIBCO Spotfire, EMS and TIBCO ActiveSpaces. He has worked on a number of highly critical integration projects in various sectors by using his skills in TIBCO Flogo, TIBCO API Management (Mashery), TCI, Tibco Designer, TIBCO Business Studio, Adapters, TIBCO EMS, RV, Administrator, TIBCO BE, TIBCO ActiveSpaces etc. Ajmal Abbasi has experience with MuleSoft ESB as well. Ajmal Abbasi is also experienced in the area of API Management particularly with WSO2 API management platforms. Ajmal Abbasi is also experienced in developing solutions using Core Java and J2EE Technologies. You can contact Ajmal Abbasi for Consultancy, Technical Assistance and Technical Discussions.

More Posts - Website - Facebook - LinkedIn - YouTube

7 thoughts on “TIBCO Tutorial: Retrieve Concrerte WSDL Using RetrieveResources and Save To a File

  1. Krishnarao

    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..

    Reply
  2. Siva Prasad

    What is resource path here… How to write that path in input tab configuration…. Please tell me..

    Reply
    1. Danish

      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

      Reply
  3. Anusha

    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.

    Reply
  4. ya_joe

    im new to this software i need to learn it from basics can u pleas help me with some more resources.

    Reply
  5. Sumera Shafi

    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.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *