Hi,

Thanks a lot!!!. I don't want to run Axis2 service in Camel. I have an
existing web service someplace and I want to create a proxy in front of it.
Following is my proxy configuration. For "proxyEndpoint" can I use any URL
of my choice or is there a specific one?


    <cxf:cxfEndpoint id="proxyEndpoint"
                     address="http://localhost:8080/HelloService";
                     wsdlURL="../../wsdl/HelloService.wsdl"
                     endpointName="tns:HelloServicePort"
                     serviceName="tns:HelloService"                     
                     xmlns:tns="http://tempuri.org/HelloService"; />
 
 
    <camelContext xmlns="http://camel.apache.org/schema/spring";>  
    
        <endpoint id="HelloServiceEndpoint"
              uri="http://localhost:8080/axis2/services/HelloService"/>
        <route>            
            <from uri="cxf:bean:proxyEndpoint" />
            <to ref="HelloServiceEndpoint"/>
        </route> 
    </camelContext>




--
View this message in context: 
http://camel.465427.n5.nabble.com/How-to-expose-a-remote-Web-Service-tp5743119p5743125.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to