Hi,

When you create a proxy service in Synapse it searches through the
transports on which that proxy has been exposed and change the ports
as required by default.

You can easily get rid of this by automatic changing of ports by
specifying the following parameter inside the proxy configuration
(i.e. within the <proxy> tags)

<parameter name="useOriginalwsdl">true</parameter>

Thanks,
Ruwan

On 2/6/08, Legolas wood <[EMAIL PROTECTED]> wrote:
> Hi
> Thank you for reading my post
> Can some one let me know how I can ask Synapse not to generate
> additional ports for a given web service?
> for example if I have a service named Fish and it has :
>
> <service name="Fish">
>
>     <port name="CalculatorWSPort" binding="tns:FishWSPortBinding">
>
> <soap:address location="http://localhost:8080/Fish/Fish"/>
>
> </port>
>
> </service>
>
>
>
> Then synapse generates:
>
>
> <wsdl:service name="Fish">
>
>     <wsdl:port name="FishSOAP11port_https" binding="tns:FishSOAP11Binding">
>
> <soap:address location="https://office2:8443/soap/Fish"/>
>
> </wsdl:port>
>
>     <wsdl:port name="FishSOAP11port_http1" binding="tns:FishSOAP11Binding">
>
> <soap:address location="http://office2:6060/soap/Fish"/>
>
> </wsdl:port>
>
>     <wsdl:port name="FishSOAP12port_https" binding="tns:FishSOAP12Binding">
>
> <soap12:address location="https://office2:8443/soap/Fish"/>
>
> </wsdl:port>
>
>     <wsdl:port name="FishSOAP12port_http1" binding="tns:FishSOAP12Binding">
>
> <soap12:address location="http://office2:6060/soap/Fish"/>
>
> </wsdl:port>
>     <wsdl:port name="FishHttpport" binding="tns:FishHttpBinding">
> <http:address location="https://office2:8443/soap/Fish"/>
>
> </wsdl:port>
>     <wsdl:port name="FishHttpport1" binding="tns:FishHttpBinding">
> <http:address location="http://office2:6060/soap/Fish"/>
>
> </wsdl:port>
>
> </wsdl:service>
>
>
>
>
> Is there any reason for this? How I can configure it not to generate
> this amount of ports?
>
>


-- 
Ruwan Linton
http://www.wso2.org - "Oxygenating the Web Services Platform"

Reply via email to