Bruce,
Wouldn't it be possible to define multiple HTTP provider endpoints, one
for every location where the service is located and just send a SOAP XML
message to the correct endpoint (e.g. using a content-based router to
determine the endpoint)?
Gert
Bruce Snyder wrote:
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