Hi, It seems part of my mail got lost :( here I am resending that...
Could you please tell me the synapse version that you are using. If it is not 1.1.1 can you pleases try on synapse 1.1.1, because we have fixed several xsd import issues in 1.1.1 At the same time is it possible for you to send the wsdl that you are using or a sample wsdl which causes this problem, so that I can try to reproduce the issue and solve it. Thanks, Ruwan On Feb 6, 2008 5:13 PM, legolas <[EMAIL PROTECTED]> wrote: > > > > > > > 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. > > > > > > > -- > > Ruwan Linton > http://www.wso2.org - "Oxygenating the Web Services Platform" > -- Ruwan Linton http://www.wso2.org - "Oxygenating the Web Services Platform"
