I generated both server and client bindings using WSDL2Java tool. I was able 
to use a stand alone client to invoke the service. However when I tried to 
deploy a web app under Weblogic 5.1 I got the following error with service 
invocation:

Failure trying to get the Call object
java.security.AccessControlException: access denied 
(java.util.PropertyPermissio
n java.protocol.handler.pkgs write)
       at 
java.security.AccessControlContext.checkPermission(AccessControlConte
xt.java:272)
       at 
java.security.AccessController.checkPermission(AccessController.java:
399)
       at 
java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
       at java.lang.System.setProperty(System.java:641)
       at org.apache.axis.client.Call.addTransportPackage(Call.java:1365)
       at org.apache.axis.client.Call.initialize(Call.java:1313)
       at org.apache.axis.client.Call.<init>(Call.java:218)
       at org.apache.axis.client.Service.createCall(Service.java:490)
       at 
ODSTest.TestAxisODSSoapBindingStub.createCall(TestAxisODSSoapBindingS
tub.java:85)
       at 
ODSTest.TestAxisODSSoapBindingStub.getClients(TestAxisODSSoapBindingS
tub.java:142)

I will appreciate for any suggestion to fix this problem.

Thanks.

Lin



_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com

Reply via email to