I created a web service endpoint with Spring-WS:
@Endpoint
public class MyEndpoint{
@PayloadRoot(namespace = NAMESPACE, localPart = "MyRequest"
@ResponsePayload
public final MyResponse MyService(@RequestPayload final MyRequest request, SoapHeader header) {
... implementation that creates the reponse ...
return response;
}
this creates me the service and generates the WSDL for the service. But, the section in my WSDL remains empty.
So, what do I have to do in order to 'populate' the header?