ws-addressing action header is stored with leading and trailing white space
---------------------------------------------------------------------------
Key: XFIRE-782
URL: http://jira.codehaus.org/browse/XFIRE-782
Project: XFire
Issue Type: Bug
Components: Core
Affects Versions: 1.2.2
Reporter: Matthew
Assigned To: Dan Diephouse
When the headers are read in and stored in the context.inMessage.Header the
value of the header elements contains new line characters. So for the SOAP
message:
...
<soap:Header>
<wsa:Action>
http://x.com/TestMethod
</wsa:Action>
...
The action header contains a new line character at the beginning and end of the
string. ie "\n http://x.com/TestMehod\n"
In the AddressInHandler.invoke method, the action is looked up to find an
operation and it can't match anything because of the new line characters. In
this line:
AddressingOperationInfo aop =
AddressingOperationInfo.getOperationByInAction(service.getServiceInfo(), headers
.getAction());
the headers.getAction() returns the action value with new line characters.
They need to be stripped off somewhere along the way.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email