Forums Register Login

confused by PrivilegedActionException

+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
+Pie Number of slices to send: Send
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!
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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
This will take every ounce of my mental strength! All for a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 12600 times.
Similar Threads
java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP
javax.xml.rpc.soap.SOAPFaultException: Rejected by policy. (from client)
javax.xml.soap.SOAPException: Unable to internalize message
SL handshake failed: X509CertChainIncompleteErr
Error invoking client loaded in oracle database
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 03:12:04.