How to retrieve WSDL URL for a service using Built-in Resource Provider feature

How to retrieve WSDL URL for a service using Built-in Resource Provider feature

book

Article ID: KB0078794

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks 5.13.x and above

Description

This article provides information on retrieving WSDL URL for a service using Built-in Resource Provider feature

Issue/Introduction

Information on retrieving WSDL URL for a service using Built-in Resource Provider feature

Resolution

Note - To use Built-in Resource Provider feature, the property bw.platform.services.retreiveresources.Enabled must be set to true when deploying the application

Once the application is deployed and running, use the following URL to retrieve the WSIL file for the service

http://localhost:8010/inspection.wsil
(Assumes default port 8010 is used for Built-in Resource Provider. Replace localhost with the hostname of the machine where the application is running)

The WSDL URL can be obtained from the WSIL file. For example, in the following WSIL document, the WSDL URL is http://localhost:8010/Webservice/WSDL-service2.serviceagent?wsdl

<?xml version = "1.0"?>
<inspection
     xmlns = "http://schemas.xmlsoap.org/ws/2001/10/inspection/"
     xmlns:wsilWsdl = "http://schemas.xmlsoap.org/ws/2001/10/inspection/wsdl/" xmlns:wsilUddi = "http://schemas.xmlsoap.org/ws/2001/10/inspection/uddi/">
    <abstract>Generated by TIBCO Business Works</abstract>
    <service>
        <abstract>The service Webservice/WSDL-service2.serviceagent doesn't have any description</abstract>
        <description referencedNamespace = "http://schemas.xmlsoap.org/wsdl/" location = "http://localhost:8010/Webservice/WSDL-service2.serviceagent?wsdl"/>
    </service>
</inspection>