[jbossws-issues] [JBoss JIRA] Updated: (JBWS-2058) 'wsa:From' header field is assigned to variable 'replyTo' instead of 'from'
Thomas Diesler (JIRA)
jira-events at lists.jboss.org
Sat Mar 15 11:58:50 EDT 2008
[ http://jira.jboss.com/jira/browse/JBWS-2058?page=all ]
Thomas Diesler updated JBWS-2058:
---------------------------------
Fix Version/s: jbossws-native-2.0.5
> '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
> 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
More information about the jbossws-issues
mailing list