Published on WSO2 Oxygen Tank (http://wso2.org)

WSDL Generation

By alexandre_garino
Created 2008-04-09 06:13

Hi,

I built esb from the rev 15635. I set up a new proxy from this xml fragement.

    <proxy name="KpsProxy" transports="https http" startOnLoad="true">
        <target>
            <inSequence>
                <send>
                    <endpoint>
                        <address uri="https://www.xxxxx.xxx/kps.asmx [1]">
                            <enableAddressing/>
                            <enableSec policy="policy.kps"/>
                        </address>
                    </endpoint>
                </send>
            </inSequence>
            <outSequence>
                <send/>
            </outSequence>
        </target>
        <publishWSDL uri="https://www.xxxxx.xxx/kps.asmx?wsdl"/ [2]>
    </proxy>

When I retrieve the WSDL through the ESB (e.g. https://10.130.30.202:9443/esb/soap/KpsProxy?wsdl [3]) I noticed that the service element is not generated with the ESB details.

<wsdl:service name="KpsProxy">
<wsdl:port name="KPSSoap" binding="tns:KPSSoap">
<soap:address location="https://www.xxxxx.xxx/kps.asmx [4]" />
</wsdl:port>
<wsdl:port name="KPSSoap12" binding="tns:KPSSoap12">
<soap12:address location="https://www.xxxxx.xxx/kps.asmx [5]" />
</wsdl:port>
</wsdl:service>

I guess this is a regression because that works fine with esb 1.6 release.

Regards,
Alexandre


Source URL:
http://wso2.org/forum/thread/3474