I am pleased to announce the release of snapshots for GroovyWS 0.5.
He are the changes so far:
- based on cxf 2.1.4 - which correct a number of bugs
- compatible with groovy 1.6.0
- fixes for:
http://jira.codehaus.org/browse/GMOD-6
http://jira.codehaus.org/browse/GMOD-8
http://jira.codehaus.org/browse/GMOD-10
http://jira.codehaus.org/browse/GMOD-50
http://jira.codehaus.org/browse/GMOD-54 (timeout implementation)
http://jira.codehaus.org/browse/GMOD-57
- enhanced build systems based on Gradle (thanks to Tom for the helps on dav)
Please have a look to the demo directory in order learn how to use
these new features or to the doc
(http://groovy.codehaus.org/modules/groovyws/docs/javadoc/)
The snapshots jars are located here:
http://snapshots.dist.codehaus.org/groovy/distributions/groovyws/
Big thanks to Dennis for helping a lot on the refactoring
Please give it a try and give me your feedback before I push the release version
Cheers
Guillaume
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
Excellent stuff, thanks!
BOB
--
Guillaume Laforge
Groovy Project Manager
Head of Groovy Development at SpringSource
http://www.springsource.com/g2one
Attend the GR8 Conference, a conference dedicated to Groovy, Grails and Griffon
http://www.gr8conf.org
Read the blog: http://www.gr8conf.org/blog/list
Follow us on Twitter: http://twitter.com/gr8conf
tog wrote:Dear all, I am pleased to announce the release of snapshots for GroovyWS 0.5.
def proxy = new WSClient("http://aUrl:8080/aService?wsdl",
this.class.classLoader)
proxy.create() // from 0.4.0
and it blows up during the create() call with this:
Caused by: java.lang.NullPointerException
at java.net.URLClassLoader$1.run(URLClassLoader.java:191)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at org.codehaus.groovy.tools.RootLoader.oldFindClass(RootLoader.java:152)
at org.codehaus.groovy.tools.RootLoader.loadClass(RootLoader.java:124)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at groovyx.net.ws.AbstractCXFWSClient.create(AbstractCXFWSClient.java:146)
Any help or suggestions would be much appreciated.
Thanks,
Ola
tog wrote:
>
> Dear all,
>
> I am pleased to announce the release of snapshots for GroovyWS 0.5.
>
>
--
View this message in context: http://www.nabble.com/-ANN--GroovyWS-0.5-snapshots-tp22519432p22791707.html
Sent from the groovy - user mailing list archive at Nabble.com.
Hi,
please have a look at:
http://svn.codehaus.org/gmod/groovyws/trunk/src/demo/groovy/groovyx/net/ws/g
demo/TestClientServerSimple.groovy
After creating the client you have to call initialize(). The create-method
tries to initialize an instance of the given class. And null is no class. ;)
Regards,
Dennis.
>
> and it blows up during the create() call with this:
>
> Caused by: java.lang.NullPointerException
> at java.net.URLClassLoader$1.run(URLClassLoader.java:191)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at
org.codehaus.groovy.tools.RootLoader.oldFindClass(RootLoader.java:152)
> at
org.codehaus.groovy.tools.RootLoader.loadClass(RootLoader.java:124)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at
> groovyx.net.ws.AbstractCXFWSClient.create(AbstractCXFWSClient.java:146)
>
> Any help or suggestions would be much appreciated.
>
> Thanks,
>
> Ola
---------------------------------------------------------------------
Dennis Bayer wrote:
>
>
> Hi,
> please have a look at:
> http://svn.codehaus.org/gmod/groovyws/trunk/src/demo/groovy/groovyx/net/ws/gdemo/TestClientServerSimple.groovy
>
> After creating the client you have to call initialize(). The create-method
> tries to initialize an instance of the given class. And null is no class.
> ;)
>
>
Thanks, so now I'm getting further before encountering an exception. Now
I'm getting this:
Caused by: java.lang.SecurityException: Prohibited package name: java.io.xsd
at java.lang.ClassLoader.preDefineClass(ClassLoader.java:534)
And that appears to already be logged as a defect here:
http://jira.codehaus.org/browse/GMOD-7
Any indication if/when that defect will be fixed...?
Thanks,
Ola
--
View this message in context: http://www.nabble.com/-ANN--GroovyWS-0.5-snapshots-tp22519432p22804943.html
Sent from the groovy - user mailing list archive at Nabble.com.
Thanks,
Ola
--
View this message in context: http://www.nabble.com/-ANN--GroovyWS-0.5-snapshots-tp22519432p22806425.html
I just tried the 0.5 snapshot in a GroovyConsole, but I always get an NPE in
initialize(). I tried both the currency wsdl and the terraserver wsdl:
proxy = new
WSClient("http://www.webservicex.net/CurrencyConvertor.asmx?WSDL",
this.class.classLoader)
proxy.initialize()
java.lang.NullPointerException
at
org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory.java:67)
at org.apache.cxf.endpoint.ClientImpl.<init>(ClientImpl.java:143)
at
org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:253)
at
org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:196)
at
org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:175)
at
groovyx.net.ws.AbstractCXFWSClient.createClient(AbstractCXFWSClient.java:180)
at groovyx.net.ws.WSClient.initialize(WSClient.java:94)
at groovyx.net.ws.IWSClient$initialize.call(Unknown Source)
at ConsoleScript2.run(ConsoleScript2:7)
mn_svensk wrote:
>
> It appears this was caused by a faulty WSDL file -- the generic example
> (currency converter) is working. The WSDL file I was given appears to
> have multiple problem areas. I will investigate further.
>
Grtz,
Ivo
--
View this message in context: http://www.nabble.com/-ANN--GroovyWS-0.5-snapshots-tp22519432p22844754.html
--
View this message in context: http://www.nabble.com/-ANN--GroovyWS-0.5-snapshots-tp22519432p22844947.html