0 Replies Latest reply: Oct 16, 2013 11:41 AM by 918815 RSS

    How to fetch WSDL targetNamespace in bpel ?

    918815

      Hi Experts,

       

      I 've a requirment to fetch data of targetNamespace , service/@name and port/@binding in wsdl. Is there any way to achieve this ?

       

      For ex : below is my sample wsdl

       

      <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://com.example.org/BusinessService/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="BusinessService" targetNamespace="http://com.example.org/BusinessService/">

      ....

      ....

      ....

        <wsdl:service name="BusinessService">

          <wsdl:port binding="tns:BusinessServiceSOAP" name="BusinessServiceSOAP">

            <soap:address location="http://www.example.org/"/>

          </wsdl:port>

        </wsdl:service>

       

      now i need the values of 1) targetNamespace

                                         2) service/@name and

                                         3) port/@binding

      Note : i stored this wsdl in SOA-MDS (file based MDS)

      Need some suggestions

       

      Thanks

      Uday