Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-2058

'wsa:From' header field is assigned to variable 'replyTo' instead of 'from'

    XMLWordPrintable

Details

    Description

      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);
      }
      ...

      Attachments

        Activity

          People

            tdiesler@redhat.com Thomas Diesler
            thomas.lehmann Thomas Lehmann (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: