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!

JDeveloper Web Service Client/Proxy Basic Authentication

RivanaSep 4 2012 — edited Sep 5 2012
Hi I recently migrated a 10g Web Service to an 11g Web Service that uses basic authentication.

I then generated the client/proxy using the WSDL for my consumer application in JDeveloper 11g. however I cannot find any functions that will allow me to set the username and password to access the web service.

For instance, in 10g Client, I simply had to this:

myPort = new SoapHttpPortClient();
myPort.setUsername("username");
myPort.setPassword("password");

I am not sure how I do the same in the generated Web Service client in 11g.

Thanks in advance.
This post has been answered by Frank Nimphius-Oracle on Sep 5 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 3 2012
Added on Sep 4 2012
2 comments
1,568 views