Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Add Custom Headers to a Web Service Proxy

Aaron RappOct 3 2011 — edited Oct 3 2011
Hi all,

I'm trying to use a web service through a web service proxy in a common java library, as part of a validation method. I'm using JDev 11.1.1.5.

The issue I am having is that the web service requires two custom headers. I have created a CustomSOAPProvider class which extends the adf internal SOAP Provider class to add additional headers, which works when I implement the WS as a data control. I have recreated this as a web service proxy but I am unsure as to refer to the current SOAP message and modify it with the additional headers in a java class? I am calling the web service successfully and am getting an "unauthorised" response.

Any help would be appreciated!

Thanks in Advance,
Aaron
This post has been answered by Aaron Rapp on Oct 3 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 31 2011
Added on Oct 3 2011
1 comment
647 views