• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

consuming "secured" web service

 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

While consuming a web service, I get following error:



It seems that this service requires authentication to be done.

Any clue/guidence will surely help me.

[ UD: added line break ]
[ August 28, 2008: Message edited by: Ulf Dittmer ]
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd start with finding out the details of how to access that service. Surely there must be some documentation, or someone you can contact?
 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ulf Dittmer:
I'd start with finding out the details of how to access that service. Surely there must be some documentation, or someone you can contact?


We are given just the WSDL file as we do have developed Service Controls (Service Control - a control which is used to access a web service - it's in weblogic) for some of the web services - and this requires WSDL file only.
 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know why but now I am getting a different exception related to security only:


Use getCause() to see the root cause.[java.rmi.RemoteException: SOAPFaultException - FaultCode [{http://schemas.xmlsoap.org/soap/envelope/}Client.Authentication] FaultString [Failed to receive message weblogic.wsee.util.AccessException: The server at https://mydomain:8000/MyService returned a 401 error code (Unauthorized). Please check that username and password are set correctly and that you have permission to access the requested method.

[ August 27, 2008: Message edited by: ankur rathi ]
 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I figured out how to send username and password while invoking or accessing or consuming web service in Service Control.



 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic