Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-465

Optional WS-Addressing request headers being treated as mandatory


    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.5
    • Fix Version/s: 1.5.6
    • Component/s: Core
    • Labels:
    • Environment:
      Windows XP, JDK 1.5


      Using SimpleActionEndpointMapping results in wsa:MessageAddressingHeaderRequired errors being returned from a request unless that request specifies
      a wsa:To and wsa:MessageID header. According to the WS-Addressing standard, only the wsa:Action header is mandatory.

      The problem appears to lie in the hasRequiredProperties() method of org.springframework.ws.soap.addressing.MessageAddressingProperties. This method insists on

      1. wsa:To being present
      2. wsa:MessageID being present if either ReplyTo or FaultTo have been specified.

      In the case of (2) above I was able to trigger the fault by omitting all of the MessageID, ReplyTo and FaultTo headers in my request, so it may be that the server-side stack has inserted a default "anonymous endpoint" value into one or both of the latter and that is triggering the error.


        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        2h 32m 1 Arjen Poutsma 19/Dec/08 1:56 AM
        In Progress In Progress Resolved Resolved
        37d 20h 57m 1 Arjen Poutsma 25/Jan/09 10:53 PM
        Resolved Resolved Closed Closed
        1194d 8h 9m 1 Arjen Poutsma 04/May/12 7:03 AM


          • Assignee:
            arjen.poutsma Arjen Poutsma
            wabrit Alan Boshier
          • Votes:
            0 Vote for this issue
            0 Start watching this issue


            • Created: