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

 

 

Reply via email to