Thursday, November 1, 2012

GWT server Side - Axis2 SOAP - get xml from External Server , [ access denied (java.lang.RuntimePermission modifyThreadGroup) ]

Hi,
i have a  problem,
on Client side i make an RPC call to the server and at server side ,
 in the called function on server side; i am using axis2 to make a soap connection to get data,
 
i am getting the following  Exception:
                   
       java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup);
 
CODE :
SoapContex.outMsgCtx.setEnvelope(SoapContex.envelope);
SoapContex.opClient.addMessageContext(SoapContex.outMsgCtx);
SoapContex.opClient.execute(true);       <---------- after execution of this line:    i am getting the following exception

any suggestions for a work around?

        
 
 

 
 

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/1W6V25S9O0sJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment