ruwan.linton wrote: > > 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 Linton > http://www.wso2.org - "Oxygenating the Web Services Platform" > >
Hi Thank you for your solution. It partially helps because it introduce another problem. for example if i have a WSDL snippet like: [code] <types> <xsd:schema> <xsd:import namespace="http://Fish.org/" schemaLocation="http://localhost:8080/FishApp/fishWSService?xsd=1"></xsd:import> </xsd:schema> </types> [/code] And I try to include your given attribute into the configuration file it generates a WSDL like: [code] <xsd:schema> <xsd:import namespace="http://Fish.org/" schemaLocation="FishApp?xsd=http://localhost:8080/FishApp/FishWSService?xsd=1"/> </xsd:schema> [/code] This kind of WSDL is not readable by: wsimport because it can not resolve the xsd location. Is that kind of url standard in web services or it is JAX-WS problem that can not parse it? Thanks. -- View this message in context: http://www.nabble.com/Why-synapse-generate-several-ports-for-a-given-web-service--tp15301294p15306496.html Sent from the Synapse - User mailing list archive at Nabble.com.
