On 9/28/07, Willem Jiang <[EMAIL PROTECTED]> wrote:
> Here is an example:
> ...
>  <simple:client id="client1"
>     serviceClass="org.apache.cxf.service.factory.HelloService"
>     address="http://localhost:9000/foo2";
>     serviceName="s:XMLService"
>     xmlns:s="http://apache.org/hello_world_soap_http";
>     endpointName="s:XMLPort"
>     bindingId="http://cxf.apache.org/bindings/xformat";>
>    </simple:client>
>
> <simple:server id="server1"
> address="http://localhost:8080/simpleWithAddress";>
>     <simple:serviceBean>
>       <bean class="org.apache.cxf.service.factory.HelloServiceImpl"/>
>     </simple:serviceBean>
>   </simple:server>
>
> <camelContext id="camel"
> xmlns="http://activemq.apache.org/camel/schema/spring";>
>     <route>
>       <from uri="cxf://SpringBean=server1"/>
>       <to uri="cxf://SpringBean=client1"/>
>     </route>
> </camelContext>
>

Can you explain a bit what this route is supposed to do ?
Is this supposed to accept requests on
   http://localhost:8080/simpleWithAddress
and route them to an external service on
   http://localhost:9000/foo2


-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Reply via email to