简体   繁体   中英

Adding custom SOAP headers to client generated by weblogic.wsee.tools.anttasks.ClientGenTask?

I generated a client using the weblogic.wsee.tools.anttasks.ClientGenTask from weblogic. Now I want to insert custom soap headers before sending out the request. How do I go about doing that? All of the examples on the web for inserting headers are specific to the library used in the generation (Axis, etc).

Thanks!

http://download.oracle.com/docs/cd/E13222_01/wls/docs90/webserv/client.html

Google "Client Handler Chain". Extend GenericHandler and setup a handler xml before generating your client.

Cheers!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM