[
https://issues.apache.org/jira/browse/GROOVY-3312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul King closed GROOVY-3312.
-----------------------------
Resolution: Not A Problem
I'll assume that Bernhard's advice fixes this problem. Please reopen if that
isn't the case.
> java.lang.SecurityException: Prohibited package name: java.rmi
> --------------------------------------------------------------
>
> Key: GROOVY-3312
> URL: https://issues.apache.org/jira/browse/GROOVY-3312
> Project: Groovy
> Issue Type: Sub-task
> Affects Versions: 1.5.7
> Environment: Windows 2000, JVM JVM: 1.5.0_16
> Reporter: Alex Wouda
> Attachments: WSDHZSProductService.xml, aesbatch.groovy, error.log
>
>
> I get the a package prohibited error when executing the following script:
> {code}
> import groovyx.net.ws.WSClient
> println 'Creating proxy for service'
> def testProxy = new
> WSClient("http://localhost:9080/ws/services/WSDHZSProductService?wsdl",
> this.class.classLoader)
> def aesClient = testProxy.create()
> //aesClient.retrieveCP()
> //aesClient.metaClass.methods.each {
> //println it
> //}
> println 'done'
> {code}
> ( I don't know how to access the local file (shame shame), so I'll hope this
> will be sufficient to reproduce)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)