Could I use annotation to define soap header which could be automatically generated to wsdl?
Have a look at the webparam sample
@WebMethod(operationName = "SecurePing")
public void ping(@WebParam(name = "Ping") PingDocument p, @WebParam(name = "SecHeader", header = true) SecurityHeader secHdr)
log.info("ping: " + p + "," + secHdr);
Retrieving data ...