-
Bug
-
Resolution: Done
-
Major
-
jbossws-native-2.0.3
-
None
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);
}
...