-
Dec 18th, 2008, 10:50 AM
#1
WS-Addressing Required Headers
Hi
I'm using Spring WS 1.5.5 together with the SimpleActionEndpointMapping, but getting wsa:MessageAddressingHeaderRequired errors from the server when I don't expect them.
As I understand it, the only required WS-Addressing header is wsa:Action, but Spring-WS is complaining if I don't specify either a wsa:To or wsa:MessageID header. According to the WS-Addressing standard(s) it seems like both the latter headers should be optional.
I had a look at the source code for org.springframework.ws.soap.addressing.MessageAddr essingProperties, and the hasRequiredProperties() method would appear to confirm the observed behaviour; however it only insists on a MessageID if either ReplyTo or FaultTo have been specified. As I'm not sending either of those I wonder if the stack has inserted a default "anonymous endpoint" value into one or both and that is triggering the error.
Am I missing something, or is the implementation a little too constrained?
Many thanks
Alan
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules