[
http://jira.jboss.com/jira/browse/JBWS-2058?page=all ]
Thomas Diesler updated JBWS-2058:
---------------------------------
Fix Version/s: jbossws-native-2.0.4
(was: jbossws-native-2.0.5)
Assignee: Thomas Diesler
'wsa:From' header field is assigned to variable
'replyTo' instead of 'from'
---------------------------------------------------------------------------
Key: JBWS-2058
URL:
http://jira.jboss.com/jira/browse/JBWS-2058
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: ws-addressing
Affects Versions: jbossws-native-2.0.3
Reporter: Thomas Lehmann
Assigned To: Thomas Diesler
Fix For: jbossws-native-2.0.4
in class org.jboss.ws.extensions.addressing.soap.SOAPAddressingPropertiesImpl the header
field wsa:From is assigned to the wrong instance variable of class
org.jboss.ws.extensions.addressing.AddressingPropertiesImpl
the method setReplyTo(ref) must be changed to setFrom(ref)
affected method:
org.jboss.ws.extensions.addressing.soap.SOAPAddressingPropertiesImpl.readHeaders(SOAPMessage)
...
// Read wsa:From
// This OPTIONAL element (of type wsa:EndpointReferenceType) provides the value for the
[source endpoint] property.
Element wsaFrom = DOMUtils.getFirstChildElement(soapHeader, ADDR.getFromQName());
if (wsaFrom != null)
{
EndpointReferenceImpl ref = new EndpointReferenceImpl(wsaFrom);
// change this to setFrom(ref)
setReplyTo(ref);
}
...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira