Hello,
I was wondering if anyone has gotten GroovyWS to work with Xwiki on a windows platform?
Issue:
I need to access an external webservice to meet a client requirement. While it would be
possible for me to write a plug-in to do this, I'm not really a java programmer so
it's likely to be more hackish than necessary. Also, given how easy it is to do a web
service with GroovyWS, the (power user) client would likely be able to update or add
functionality should their external webservice change.
Problem:
I'm testing using the terraservice example given on the GroovyWS website
http://groovy.codehaus.org/GroovyWS , It works for me in the Groovy console, and I've
added the same jar file to the WEB-INF/lib directory. However, when I run it through
Xwiki, I get the following error:
Dec 3, 2008 2:58:31 PM org.apache.cxf.endpoint.dynamic.DynamicClientFactory outputDebug
INFO: Created classes: com.terraserver_usa.terraserver.AreaBoundingBox, [...]
com.terraserver_usa.terraserver.UtmPt
java.lang.RuntimeException: java.net.URISyntaxException: Illegal character in path at
index 0: \
at
org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:256)
[...]
It looks to me like I don't have a variable set that I need somewhere. After looking
at the following blog entry
(
http://blogs.sun.com/geertjan/entry/groovy_web_services_and_org) I think I have
everything that I need set in CLASSPATH, JAVA_HOME, and GROOVY_HOME. Is there someplace
special I need to set these special for Xwiki to be able to find everything, or am I
possibly looking in the totally wrong place?
Confused,
Doug