|
Hi
I am using an applet in a webpage to send and
receive soap messages. It gives me the following error when trying to send a
soap message via the applet to my .net webservice.
I used the nightly builds soap.jar since the
released version of the soap.jar was giving me nullpointers exception. Now when
I use the nightly build it gives me this exception:
SOAPException: faultCode=SOAP-ENV:Client; msg=Error
opening socket: java.security.AccessControlException: access denied
(java.util.PropertyPermission http.proxyHost read);
targetException=java.security.AccessControlException: access denied
(java.util.PropertyPermission http.proxyHost read)]
at
org.apache.soap.util.net.HTTPUtils.post(HTTPUtils.java:445)
at
org.apache.soap.util.net.HTTPUtils.post(HTTPUtils.java:358)
at
org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.java:332)
at
org.apache.soap.messaging.Message.send(Message.java:102)
at
newbridges.conference.ApacheSoapProxy.CheckPassword(ApacheSoapProxy.java:93)
at
newbridges.conference.ConferenceClientApplet.CheckUserPassword(ConferenceClientApplet.java:175)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown
Source)
at
sun.plugin.com.MethodDispatcher.invoke(Unknown Source)
at
sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
at sun.plugin.com.DispatchImpl$2.run(Unknown
Source)
at
java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.com.DispatchImpl.invoke(Unknown
Source)
Caused by: java.security.AccessControlException:
access denied (java.util.PropertyPermission http.proxyHost read)
at
java.security.AccessControlContext.checkPermission(Unknown Source)
at
java.security.AccessController.checkPermission(Unknown Source)
at
java.lang.SecurityManager.checkPermission(Unknown Source)
at
java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
at java.lang.System.getProperty(Unknown
Source)
at
org.apache.soap.util.net.HTTPUtils.getSocket(HTTPUtils.java:156)
at
org.apache.soap.util.net.HTTPUtils.post(HTTPUtils.java:417)
at
org.apache.soap.util.net.HTTPUtils.post(HTTPUtils.java:358)
at
org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.java:332)
at
org.apache.soap.messaging.Message.send(Message.java:102)
at
newbridges.conference.ApacheSoapProxy.CheckPassword(ApacheSoapProxy.java:93)
at
newbridges.conference.ConferenceClientApplet.CheckUserPassword(ConferenceClientApplet.java:175)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown
Source)
at
sun.plugin.com.MethodDispatcher.invoke(Unknown Source)
at
sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
at sun.plugin.com.DispatchImpl$2.run(Unknown
Source)
at
java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.com.DispatchImpl.invoke(Unknown
Source)
|
