Main BLOGGER
Google
WWW THIS BLOG
Tuesday, May 30, 2006
 
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> 

 

 

 

 




<< Home

Powered by Blogger

Google
WWW THIS BLOG