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开发者_JAVA技巧 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!
精彩评论