Ok I found the problem...
When calling the webservice, I forgot the "/" at the end of the url...


will_mad wrote:
> 
> Hi,
> 
> I would like to configure a proxy web service with service mix.
> 
> Basically I have an http component that acts as a proxy and forward
> requests
> to an external web service.
> 
> My problem is that I reach my proxy service but nothing is forwarded to
> the
> external web service.
> 
>  
> 
> Here is my xbean.xml:
> 
>  
> 
> <beans xmlns:http="http://servicemix.apache.org/http/1.0";
> 
>        xmlns:proxy="http://servicemix.apache.org/proxy";>
> 
>  
> 
>   <http:endpoint service="proxy:alarmService"
> 
>                  endpoint="consumerendpoint"
> 
>                  targetService="proxy:alarmService"
> 
>                  targetEndpoint="providerendpoint"
> 
>                  role="consumer" 
> 
>                  locationURI="http://0.0.0.0:8192/alarmservice/";
> 
>                  defaultMep="http://www.w3.org/2004/08/wsdl/in-out";
> 
>                  soap="true" />
> 
>                  
> 
>   <http:endpoint service="proxy:alarmService"
> 
>                  endpoint="providerendpoint"
> 
>                  role="provider" 
> 
>  
> locationURI="http://localhost:8080/AlarmBeanService/AlarmBean";
> 
>                  defaultMep="http://www.w3.org/2004/08/wsdl/in-out";
> 
>                  soap="true" />              
> 
> </beans>
> 
>  
> 
> Is there something wrong or missing?
> 
>  
> 
> Thanks for your help
> 
>  
> 
>  
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/how-to-configure-proxy-web-service-tf4711125s12049.html#a13488676
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to