Hi, My soap request is as shown below :
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.processing.dstawd.com/"> <soapenv:Header> <ws:authorizationInfo> <userId>HUBUSER</userId> </ws:authorizationInfo> </soapenv:Header> <soapenv:Body> <ws:createObjects> <createObjectRequest> <responseDetails showNone="N"/> <createWorkInstance relationshipId="work1" lock="N"> <businessArea>OSBLENDING</businessArea> <type>WRESPONSE</type> <status>CREATED</status> <addManualComment>Created by HUB-First run</addManualComment> <fieldValues> <fieldValue name="OANO">841906</fieldValue> <fieldValue name="PDID">ACCEPTANCE</fieldValue> </fieldValues> </createWorkInstance> <createSourceInstance relationshipId="doc1" lock="N"> <businessArea>OSBLENDING</businessArea> <type>ACCEPTANCE</type> <attachmentList> <attachment sequence="1"> <binaryData>cid:source1</binaryData> </attachment> </attachmentList> </createSourceInstance> <createSourceInstance relationshipId="doc2" lock="N"> <businessArea>OSBLENDING</businessArea> <type>DECLARTION</type> <attachmentList> <attachment sequence="1"> <binaryData>cid:source2</binaryData> </attachment> </attachmentList> </createSourceInstance> <relationships> <relateObjects parentRelationshipId="work1" childRelationshipId="doc1"/> <relateObjects parentRelationshipId="work1" childRelationshipId="doc2"/> </relationships> </createObjectRequest> </ws:createObjects> </soapenv:Body> </soapenv:Envelope> I need to set the authorizationInfo into the SOAP header as shown in the request above(Bold text). Currently I am setting it in the Camel exchange as below - exchange.getIn().setHeader("authorizationInfoHeader",authorizationInfo); but this is not working. authorizationInfo is the POJO having userId as the property. Am I doing anything wrong in setting the Header? Please correct me. Regards, Siddharth Patil -- View this message in context: http://camel.465427.n5.nabble.com/Setting-SOAP-header-tp5795588.html Sent from the Camel - Users mailing list archive at Nabble.com.