Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

oracle soap http connection

843834Mar 9 2003 — edited Mar 9 2003
I 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)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 6 2003
Added on Mar 9 2003
1 comment
108 views