| Author |
confused by PrivilegedActionException
|
simon keillor
Greenhorn
Joined: Jun 23, 2004
Posts: 24
|
|
Hi, Am very new to web services!! Am using JDeveloper to create a simple web service, and then a client to test the web service. However when I run the client I get the following error: I have no idea what is causing this, the client was generated by a code wizard in JDeveloper so in realirt I haven't actually coded anything. Any pointers would be very much appreciated.
|
Simon
|
 |
Peer Reynders
Bartender
Joined: Aug 19, 2005
Posts: 2906
|
|
|
getting exception while invoking service frm client on another system may help.
|
"Don't succumb to the false authority of a tool or model. There is no substitute for thinking."
Andy Hunt, Pragmatic Thinking & Learning: Refactor Your Wetware p.41
|
 |
simon keillor
Greenhorn
Joined: Jun 23, 2004
Posts: 24
|
|
I understand that, but what password is it looking for? I never specified any when I created the webservice - i just followed a JDeveloper tutorial to create the service and then the client. Nowhere there does it mention about passowrds!
|
 |
Peer Reynders
Bartender
Joined: Aug 19, 2005
Posts: 2906
|
|
Just some possibilities: Did you deploy the web service or did you just write the client? If somebody or something else deployed the web service then it may require account credentials - something like a database logon. Is the Web service deployed locally on your machine or another machine over the network? If you are going over the network you may need to cross a firewall in which case the proxy credentials need to be configured.
|
 |
simon keillor
Greenhorn
Joined: Jun 23, 2004
Posts: 24
|
|
Hi, You were right. The service was deployed locally on my machine, but the connection I was trying to use was my network address, obviously out firewall was causing problems. When i changed it to localhost it all worked fine. Can't thank you enough for your help
|
 |
 |
|
|
subject: confused by PrivilegedActionException
|
|
|