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!

Error in Webservices Authentication from ADF Page

user10505193Mar 20 2011 — edited Mar 25 2011
Hi All,

I have created an ADF page which calls secured web services deployed in another weblogic server.
While running the ADF page from local host (weblogic server installed on my m/c) it is working fine and creating the connection to web services but when I deploy same ADF application to the development server it is not making the connection with web service and throwing below errors..

I analyzed the issue and found that
• Connection from local host: while creating the data control for web services from jdeveloper, am providing some user credentials for http authentication, only then we can access the webservices.
• Connection from development instance: however these credentials are missing while making the connection to webservices from development instance. Probably these credentials are not getting passed/stored in the EAR file through which I am deploying the application.

ERROR -
[2011-03-10T02:41:41.051-08:00] [ManagedServerADF] [ERROR] [WSM-02054] [oracle.wsm.resources.policymanager] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: OracleSystemUser] [ecid: 0000IuVMrXxESOcLxis1yW1DUASn00000l,0] [APP: ADFMCOApproval] [arg: PolicyAccessService#oracle.wsm.policymanager.ejb.IStringPolicyAccessServiceRemote] Failure in looking up EJB component PolicyAccessService#oracle.wsm.policymanager.ejb.IStringPolicyAccessServiceRemote.

[2011-03-10T02:41:41.053-08:00] [ManagedServerADF] [ERROR] [WSM-06108] [oracle.wsm.resources.policyaccess] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IuVMrXxESOcLxis1yW1DUASn00000l,0] [APP: ADFMCOApproval] Error initializing the Oracle WSM Policy Resolver because incorrect configuration is passed: {0} {1}.

[2011-03-10T02:41:43.560-08:00] [ManagedServerADF] [ERROR] [] [oracle.adf.model.connection.webservice] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IuVMrXxESOcLxis1yW1DUASn00000l,0] [APP: ADFMCOApproval] Failed to execute a SAAJ interaction.

javax.xml.ws.WebServiceException: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 401 Unauthorized

Please help me in resolving this issue…


Thanks,
Shuchi
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 22 2011
Added on Mar 20 2011
5 comments
1,065 views