Re: cxf endpoint configuration in java DSL

2015-10-03 Thread calyan.bandi
Hi, I do not think that the below initialization would listen for the requests on the url provided in the SERVICE_ADDRESS. CxfEndpoint serviceEndpoint = new CxfEndpoint(SERVICE_ADDRESS, cxfComponent); You initialize the CxfEndpoint with the required properties. If you want to use it as a produc

Re: cxf endpoint configuration in java DSL

2015-09-29 Thread dsjaxen
Hi! What impact would setting the service address have on the cxf endpoint? CxfEndpoint serviceEndpoint = new CxfEndpoint(SERVICE_ADDRESS, cxfComponent); I assume that SERVICE_ADDRESS has to be a URL. Would it then listen for soap requests on that URL? I do not want that. All I want is a clie

Re: cxf endpoint configuration in java DSL

2015-09-23 Thread yogu13
Could you try defining it as below CxfComponent cxfComponent = new CxfComponent(getContext()); CxfEndpoint serviceEndpoint = new CxfEndpoint(SERVICE_ADDRESS, cxfComponent); Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/cxf-endpoint-configuration-in-java-D

Re: cxf endpoint configuration in java DSL

2015-09-23 Thread dsjaxen
Hi! Thanks for the reply. The "camel-cxf" prefix was declared elsewhere for the XML. It was the Java code that I was having trouble with: camelContext_.addRoutes(new RouteBuilder() { @Override public void configure() throws Exception { CxfEndpoint cx

Re: cxf endpoint configuration in java DSL

2015-09-23 Thread calyan.bandi
Hi, There is no such namespache as "camel-cxf". You should remove this and use something like below: If there is indeed a namespace such as "camel-cxf" it should be added in your beans tag definition. Thanks, Kalyan -- View this message in context: http://camel.465427.n5.nabble.com/cxf-end