开发者

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

开发者 https://www.devze.com 2022-12-25 16:51 出处:网络
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

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!

0

精彩评论

暂无评论...
验证码 换一张
取 消