I am making a request to Apache-SOAP service from an Applet. I am using eclipse's Directory browser (which uses swt-win32-1137.dll). The following error occurs when the applet is initialized
com.ms.security.SecurityExceptionEx[org/eclipse/swt/internal/Callback.loadLibrary]
at com/ms/security/PolicyEngine.shallowCheck (PolicyEngine.java)
at com/ms/security/PolicyEngine.checkCallersPermission (PolicyEngine.java)
at com/ms/security/StandardSecurityManager.chk (StandardSecurityManager.java)
at com/ms/security/StandardSecurityManager.checkLink (StandardSecurityManager.java)
at java/lang/Runtime.loadLibrary (Runtime.java)
at java/lang/System.loadLibrary (System.java)
at org/eclipse/swt/internal/Callback.loadLibrary (Callback.java:232)
at org/eclipse/swt/internal/Callback.<clinit> (Callback.java:22)
at org/eclipse/swt/internal/Callback.loadLibrary (Callback.java)
at org/eclipse/swt/internal/win32/OS.<clinit> (OS.java:82)
at org/eclipse/swt/internal/win32/OS.OleInitialize (OS.java)
at org/eclipse/swt/widgets/DirectoryDialog.open (DirectoryDialog.java:145)
at constructeo/TestApplet.init (TestApplet.java:38)
at com/ms/applet/AppletPanel.securedCall0 (AppletPanel.java)
at com/ms/applet/AppletPanel.securedCall (AppletPanel.java)
at com/ms/applet/AppletPanel.processSentEvent (AppletPanel.java)
at com/ms/applet/AppletPanel.processSentEvent (AppletPanel.java)
at com/ms/applet/AppletPanel.run (AppletPanel.java)
at java/lang/Thread.run (Thread.java)
java.lang.ExceptionInInitializerError: com/ms/security/SecurityExceptionEx
at org/eclipse/swt/internal/Callback.loadLibrary (Callback.java)
at org/eclipse/swt/internal/win32/OS.<clinit> (OS.java:82)
at org/eclipse/swt/internal/win32/OS.OleInitialize (OS.java)
at org/eclipse/swt/widgets/DirectoryDialog.open (DirectoryDialog.java:145)
at constructeo/TestApplet.init (TestApplet.java:38)
at com/ms/applet/AppletPanel.securedCall0 (AppletPanel.java)
at com/ms/applet/AppletPanel.securedCall (AppletPanel.java)
at com/ms/applet/AppletPanel.processSentEvent (AppletPanel.java)
at com/ms/applet/AppletPanel.processSentEvent (AppletPanel.java)
at com/ms/applet/AppletPanel.run (AppletPanel.java)
at java/lang/Thread.run (Thread.java)
Does anybody know why the above error is?
If the browser is not finding the .dll file, could you please tell me where to place the DLL?
If this is a security issue, could you please tell me how to adjust the security settings to load the library?
Thanks and regards,
Karikalan
-----Original Message-----
From: Jeffrey Hau [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 19, 2002 2:23 PM
To: [EMAIL PROTECTED]
Subject: Do i use AxisServer to deploy webservice dynamically???
If i want to deploy a new webservice from an exisitng webservice, which
of the following is correct? or are they both wrong??
AxisServer server = AxisServer.getServer(env);
server.deployWSDD(wsddDoc);
or is it,
AxisServer server = new AxisServer();
server.deployWSDD(wsddDoc);
i am not sure what does the getServer() do but is it right to create a
new AxisServer instance?
please help,
Jeff