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...

Erik


Gert Vanthienen wrote:
> 
> Erik,
> 
> You find an example on how to configure an HTTP provider endpoint on 
> http://incubator.apache.org/servicemix/servicemix-http.html.
> 
> <http:endpoint service="test:MyProviderService"
>                endpoint="myProvider"
>                role="provider" 
>                locationURI="http://host.for.service/Service/"; 
>                soapAction="actionToInvoke"/>
> 
> All you now have to do is send a SOAP XML message to this endpoint to do
> the external web service call.  
> One way to do this is by using a JSR-181 proxy, but you can use any way to
> create this SOAP message (e.g. XSL-T)
> 
> Gert
> 
> 
> Erik Allais wrote:
>> ok could u give me an example of the xbean.xml
>> I have no idea how to do that, the example on the website are difficult
>> to
>> understand
>>
>> Regards,
>>
>> Erik
>>
>>
>> bsnyder wrote:
>>   
>>> On 7/3/07, Erik Allais <[EMAIL PROTECTED]> wrote:
>>>     
>>>> hi,
>>>> is Java proxy  used for calling external ws?
>>>> The example that i saw explain how to make a jsr-181 proxy for a POJO
>>>> can i do the same thig with the url of my wsdl
>>>>       
>>> An external web service can be proxied to using the servicemix-http
>>> component via a provider configuration. You use the URL to the web
>>> service as the locationURI in the xbean.xml. Then you are able to
>>> route JBI normalized messages to the external web service.
>>>
>>> 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/
>>>
>>>
>>>     
>>
>>   
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-call-external-web-service-%28proxy%29-tf4019145s12049.html#a11427755
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to