On 7/4/07, Erik Allais <[EMAIL PROTECTED]> wrote:

ok but i need to make a dynamic call to the WS.
I must choose the wsdl location at runtime, this is the same wsdl but i must
call the WS of the correct
application...
I need to route to the good application...

There is no way to choose the WSDL at runtime. Each <http:endpoint>
element points to a specific web service at a specific URL as noted in
the locationURI attribute. Below is a further example:

<http:endpoint service="test:MyProviderService"
             endpoint="myProvider"
             role="provider"
             locationURI="http://www.example.com/path/to/service/";
             wsdlResource="classpath:/path/to/service.wsdl"
             soapAction="actionToInvoke"/>

The example above points to a a web service at the URL
http://www.example.com/path/to/service/ whose WSDL is included in the
classpath at /path/to/service.wsdl.

Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/

Reply via email to