ement("requestType", "tns",
>> > "http://apache.org/hello_world_soap_http/types";);
>> > value.addTextNode("World");
>> > request.saveChanges();
>> > SOAPMessage response = dispatch.invoke(request);
>> > System.out.println(response.getSOAPBody().getTextContent());
>> >
>> > }
>> >
>> > private static AddressingProperties createMaps() {
>> > // get Message Addressing Properties instance
>> > AddressingProperties maps = new AddressingProperties();
>> > // set MessageID property
>> > AttributedURIType messageID = WSA_OBJECT_FACTORY
>> > .createAttributedURIType();
>> > // AttributedURIType action =
>> > // WSA_OBJECT_FACTORY.createAttributedURIType();
>> > messageID.setValue("urn:uuid:" + System.currentTimeMillis());
>> > maps.setMessageID(messageID);
>> > return maps;
>> > }
>> >
>> > }
>> >
>> >
>> > Now i am interested to know if we can use CAMEL routing capabilities by
>> > having such a programming model in CXF and we are not so inclined towards
>> > using spring configuration approach.
>> >
>> > So basic question is if i were to use CAMEL as a layer to add routing
>> > mechanism and use CXF dispatch as a web service engine , how can i do
>> that?
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> http://camel.465427.n5.nabble.com/Support-for-CXF-dispatch-api-in-the-latest-release-of-camel-tp5758569p5758892.html
>> > Sent from the Camel - Users mailing list archive at Nabble.com.
>> >
>>
>>
;tns",
> > > "http://apache.org/hello_world_soap_http/types";);
> > > value.addTextNode("World");
> > > request.saveChanges();
> > > SOAPMessage response = dispatch.invoke(request);
> > > System.out.println(response.getSOAPBody().getTextContent());
> > >
> > > }
> > >
> > > private static AddressingProperties createMaps() {
> > > // get Message Addressing Properties instance
> > > AddressingProperties maps = new AddressingProperties();
> > > // set MessageID property
> > > AttributedURIType messageID = WSA_OBJECT_FACTORY
> > > .createAttributedURIType();
> > > // AttributedURIType action =
> > > // WSA_OBJECT_FACTORY.createAttributedURIType();
> > > messageID.setValue("urn:uuid:" + System.currentTimeMillis());
> > > maps.setMessageID(messageID);
> > > return maps;
> > > }
> > >
> > > }
> > >
> > >
> > > Now i am interested to know if we can use CAMEL routing capabilities by
> > > having such a programming model in CXF and we are not so inclined towards
> > > using spring configuration approach.
> > >
> > > So basic question is if i were to use CAMEL as a layer to add routing
> > > mechanism and use CXF dispatch as a web service engine , how can i do
> > that?
> > >
> > >
> > >
> > > --
> > > View this message in context:
> > http://camel.465427.n5.nabble.com/Support-for-CXF-dispatch-api-in-the-latest-release-of-camel-tp5758569p5758892.html
> >
> > > Sent from the Camel - Users mailing list archive at Nabble.com.
> > >
> >
> >
>
em.out.println(response.getSOAPBody().getTextContent());
> >
> > }
> >
> > private static AddressingProperties createMaps() {
> > // get Message Addressing Properties instance
> > AddressingProperties maps = new AddressingProperties();
> > // set MessageID
ttributedURIType();
> // AttributedURIType action =
> // WSA_OBJECT_FACTORY.createAttributedURIType();
> messageID.setValue("urn:uuid:" + System.currentTimeMillis());
> maps.setMessageID(messageID);
> return maps;
> }
>
> }
>
>
> Now i am int
as a web service engine , how can i do that?
--
View this message in context:
http://camel.465427.n5.nabble.com/Support-for-CXF-dispatch-api-in-the-latest-release-of-camel-tp5758569p5758892.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Are you talking about the jaxws dispatch API?
In that case, basically you can configure your camel-cxf endpoint just
like you configured your cxf jaxws endpoint.
If this does not answer your question, you can give a more concrete
description about what you want to do.
regards, aki
2014-11-06 4:00
Our application is already using its webservice engine as CXF via the
dispatch api,
Now we are evaluating to add camel to utilize its EIP capabilities and
still yse CXF.
I could find no documentation whatsoever for using Camel with CXF dispatch
API.
Any hep is highly appreciated in this regard.