Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

WS-Addressing 2005/08 in JAX-WS  RSS feed

 
Bram Vancamp
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
G'day,

I've hit a bit of a snag here. I have to enable WS-Addressing 2005/08 on a web service, which works just fine with the @Addressing annotation.

Everything works fine as long as I include a <wsa:MessageID> in my soap header. When I don't include a MessageID, I get a lovely error:



However, the WSA spec states that MessageID is optional, unless I'm seriously misinterpreting the word "OPTIONAL", surely that means this request should work without the ID?

Is there some kind of magical optional to correct this behaviour? Or do I need to go back to reading school?

Thanks!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!