1

I am calling a soap web service from Apache Camel, which is having header (for authentication) and the body. My Dataformat is POJO (tried with PAYLOAD too) Nothing got succeeded.

echange.getIn().setHeader() is not working (Checking the request using tcpmon)

Any suggestion or coding will be helpful.

kuttysun
  • 7
  • 4

1 Answers1

0

Please refer http://camel.apache.org/cxf.html Hope this is helpful.

Ankush soni
  • 1,439
  • 1
  • 15
  • 30
  • Thanks for the reply @Ankush sono. But this will be adding the header in the transport level. I wanted to add in the soap envelop. – kuttysun Jul 08 '15 at 10:27
  • The issue has been resolved. I have added the Content-Type as text/xml and SOAPAction headers. It works fine as expected. – kuttysun Jul 13 '15 at 13:29
  • i am having similar problem, should this content-Type be as part of camel-context ? – Sunil Rk Nov 17 '16 at 13:01