I created a ws endpoint with spring using spring-boot-starter-webservices.
I have used @org.springframework.ws.server.endpoint.annotation.Endpoint
.It works fine.
But when I am trying to add the wsa:ReplyTo
addressing header to the request with mustUnderstand=true
the server prints:
Could not handle mustUnderstand headers: {http://www.w3.org/2005/08/addressing}ReplyTo. Returning fault
and returns a similar Fault as a response.
How can I enable addressing so that ReplyTo
is understood and replies with 202
, sending the response to the differrent endpoint described in ReplyTo
?
I tried adding @javax.xml.ws.soap.Addressing(enabled=true)
next to @Endpoint
annotation but I still get the above behaviour.