JAX-RPC: soap header
Tried to add SOAP header into the SOAP message in JAX-RPC,
A lot of links showed how to achieve that, but they do not work.
http://www-128.ibm.com/developerworks/webservices/library/ws-tipjax1.html
http://users.skynet.be/pascalbotte/rcx-ws-doc/jaxrpchandler.htm
http://java.boot.by/wsd-guide/ch04s07.html
Finally, found this link (quite old though)
http://www.myfaq.com.cn/A/2003-10-08/142177.html
And add a element in the config.xml to solve this problem
<?xml version="1.0" encoding="UTF-8"?>
<configuration
xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
<wsdl location="./wsdl/mcwsWSRFService.wsdl" packageName="mcwsClient">
<handlerChains>
<chain runAt="client">
<handler className="handler.ResourceIDHandler">
<property name="name" value="Resource ID handler"/>
</handler>
</chain>
</handlerChains>
</wsdl>
</configuration>