Hello,
I have different service implementation for the same WSDL deploy inside the
same Axis2 web application, the differences between them are the wsdl:binding
and the wsdl:service, so I have:
http:......./axis2/services/ServiceOne?wsdl
<wsdl:definitions xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/
..>
<wsdl:types>
<xs:schema targetNamespace="http://org.apache.axis2/xsd"
>
</xs:schema>
</wsdl:types>
<wsdl:portType name="MyPort">
...
</wsdl:portType>
<wsdl:binding name="ServiceOne" type="tns: MyPort">
...
</wsdl:binding>
<wsdl:service name="ServiceOne">
<wsdl:port name=" ServiceOne" binding="tns: ServiceOne">
<soap:address location="http:......./axis2/services/ServiceOne" />
</wsdl:port>
</wsdl:service>
http:......./axis2/services/ServiceTwo?wsdl
<wsdl:definitions xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/
..>
<wsdl:types>
<xs:schema targetNamespace="http://org.apache.axis2/xsd"
>
</xs:schema>
</wsdl:types>
<wsdl:portType name="MyPort">
...
</wsdl:portType>
<wsdl:binding name="ServiceTwo" type="tns: MyPort">
...
</wsdl:binding>
<wsdl:service name="ServiceTwo">
<wsdl:port name=" ServiceTwo" binding="tns: ServiceTwo">
<soap:address location="http:......./axis2/services/ServiceTwo" />
</wsdl:port>
</wsdl:service>
.
.
http:......./axis2/services/ServiceFive?wsdl
<wsdl:definitions xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/
..>
<wsdl:types>
<xs:schema targetNamespace="http://org.apache.axis2/xsd"
>
</xs:schema>
</wsdl:types>
<wsdl:portType name="MyPort">
...
</wsdl:portType>
<wsdl:binding name="ServiceFive" type="tns: MyPort">
...
</wsdl:binding>
<wsdl:service name="ServiceFive">
<wsdl:port name=" ServiceFive" binding="tns: ServiceFive">
<soap:address location="http:......./axis2/services/ServiceFive" />
</wsdl:port>
</wsdl:service>
But when I perform a call on any of them, the one that response is always the
last implementation added to the services.list, on this case would be
ServiceFive.
What am I missing in order to get the Request URI Based Dispatcher to work?
Should I edifine something else beside different binding and service name ?
Thanks In advance.
Juan Macias
---------------------------------
¡Capacidad ilimitada de almacenamiento en tu correo!
No te preocupes más por el espacio de tu cuenta con Correo Yahoo!:
http://correo.espanol.yahoo.com/