Announcement Announcement Module
Collapse
No announcement yet.
WS-Addressing: How to generate UsingAddressing element on the wsdl Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • WS-Addressing: How to generate UsingAddressing element on the wsdl

    Hello,

    I am playing with Spring-Ws and Ws-Addressing and so far i am successfully able to create Ws-Addressing enabled web-services. However i need a way to inform the consumer of my webservice that this service requires Ws-addressing header and if the headers are absent in the request envelope i want to send a SOAP Fault back. After doing some research, i found out that one way of achieving this behavior is to have
    <wsaw:UsingAddressing wsdl:required="true" /> on the wsdl. Unfortunately, i cant figure out how to tell Spring-Ws to generate this tag on the WSDL.

    Right now if the caller does not send addressing header Spring-Ws throws an no endpoint mapping found exception.

    Is there anyway to achieve the desired behavior using Spring-WS
Working...
X