Posting Soap Headers By Using Jax-WS

May 07 0 Comments Category: General Programming

Metro’s wsimport utility has a new option (XadditionalHeaders) which maps additional soap headers as method parameters. So we don’t have to deal with WSBindingProvider class anymore. So this should be the easiest and probably the most reliable solution. For ant task, use xadditionalHeaders=”true” also for commandline use -XadditionalHeaders

Write a Comment

Commenter Gravatar

Ads by Lake Quincy Media