oracle soap http connection
843834Mar 9 2003 — edited Mar 9 2003I have a webservice deployed in oracle application server. Oracle provides a client stub that works fine for java applications. However when I use the stub as an component for application. I get an permission denied exception. The reason is the default constructor OracleSOAPHTTPConnection takes sysem property as its default property and applet is not allowed to access system property. However even if I use another version of constructor OracleSOAPHTTPConnection(Properties) with an empty properties instance, I still get the same exception. When I debug the code, it seems like the default parameterless constructor is called, rather than the argumented constructor. Can anybody help me out of this? Does anyone have some advise for using soap client in applet?
My exception stack is attached:
java.lang.ExeptionInInitializerError
at MicromagWeb.proxy.MicromagServiceProxy.<init>
...
at sun.applet.AppletPanel.run
at java.lang.Thread.run
Caused by:
java.security.AccessControlException: access denied (java.util.PropertyPermission *read, write)
at java.security.AccessControlContext.checkPermission
at java.security.AccessController.checkPermission
at java.lang.SecurityManager.checkPermission
at java.lang.SecurityManager.checkProeprtiesAccess
at oracle.soap.transport.http.OracleSOAPHTTPConnection.client(OracleSOAPHTTPConnection.java 105)