[ https://issues.apache.org/jira/browse/CAMEL-4515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Damian updated CAMEL-4515: -------------------------- Attachment: CAMEL-4515.patch Patch including change + unit test. > Spring-ws Consumer keeps SOAP Header namespace when populating Camel Headers > ---------------------------------------------------------------------------- > > Key: CAMEL-4515 > URL: https://issues.apache.org/jira/browse/CAMEL-4515 > Project: Camel > Issue Type: Improvement > Components: camel-spring-ws > Affects Versions: 2.8.1 > Reporter: Damian > Priority: Minor > Attachments: CAMEL-4515.patch > > > SOAP Headers must be namespace qualified > (http://www.w3schools.com/soap/soap_header.asp), and when the Consumer > extracts the SOAP headers to populate the Exchange Headers it uses the > QName.toString() method. This results in a headers key like : > {http://mynamespace.url}MyHeaderKey > The SpringWebserviceConsumer should be modified to use the > QName.getLocalPart() method instead so that the Camel Header is (for example) > "MyHeaderKey". -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira