Retrieving a WSDL from an Deployed Service

In this post we are going to discuss how to do to get the WSDL source from a deployed Web Service using the TIBCO BW technology. Usually when we build web service using other technologies like Java (Axis2, JAX-WS or something-related) automaticly we can access to the path http://paththatyouwant?wsdl and get the WSDL source of your service, but this is not happen in TIBCO BW by default.

If we deployed a service and we try to access it, we will get an 404 response from the server indicating that there’s nothing in that path so nothing can be returned to us:

NO_WSDL_SOURCE

 

So we need to do a little development and use the Retrieve Resources that we have in our TIBCO Soap palette so we can achieve this funcionality. We need to build a very simple BW Process that receive the HTTP request and use the Retrieve resource artifact to get the WSDL from it, simple like that, as you can see here:

RETRIEVE_WSDL_SOURCE

 

The configuration of the RetrieveResources is very easy as you can see here:

RETRIEVE_WSDL_SOURCE_2

So we only have to start this little process when we started the SOAP service, and we have everything working!

RETRIEVE_WSDL_SOURCE_3

 

As always we left the process example so you can take a deeper look of it: Download

I hope you can use these information in your new developments! See you in the next post!

Advertisements

4 thoughts on “Retrieving a WSDL from an Deployed Service

  1. This might be irrelevant for this forum but still I would like to know if u guys provide Tibco training as well?

  2. This can actually be duplicated within the Advanced Tab on the par file configuration using:
    bw.platform.services.retreiveresources.Enabled
    bw.platform.services.retreiveresources.Hostname
    bw.platform.services.retreiveresources.Httpport

    without any need for new processes

    • Thank you very much Quinn. Tomorrow I’ll publish the information you gave me. Thank you very much for your comment, and please, I’d be very grateful if you comment more often

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s