« Return to Thread: Integrate GroovyWS into a Grails-Application
server.setNode("MyService","http://localhost:8080/services/MyService")
may be best put in the Boostrap.groovy (was the question already
answered ? I cannot find the beginning of the discussion).--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_emailI am wondering if this is not a conflict between CXF and XFire. Apache CXF is the newer version of the technology...it directly replaces Apache XFire. I'm guessing there's a jar conflict somewhere. It wouldn't show up until you tried to use both technologies at once. I don't think that there is a proper CXF plugin yet...may be wrong. There is this: http://www.bowlinguru.com/?p=29 This: http://books.google.com/books?id=vg09ocrbhXoC&pg=PA369&lpg=PA369&dq=grails+e xpose+cxf&source=bl&ots=ngQyGD0eQv&sig=VS1OhI9DsWS_JAaneBMJStTDQxA&hl=en&ei= iFlkSr7QBoWKsgPzw4Bn&sa=X&oi=book_result&ct=result&resnum=5 And maybe this: http://www.grails.org/plugin/springws HTH BOB-----Original Message----- From: rsdev [victoria.roberts@...] Sent: Monday, 20 July 2009 7:57 AM To: user@... Subject: Re: [grails-user] Integrate GroovyWS into a Grails-Application Hi, you said "The combination xfire (server, expose the webservice) and client (WSClient part of GroovyWS) works fine. " I have been trying to get this to work for a while, and can use the xfire plugin on it's own ok, or the groovyws client on it's own. But when I use both in the same application I get the following error:- Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.wsdl.WSDLManager' defined in URL [jar:file:/C: /Users/Myworkspace/test/lib/groovyws-standalone-0.5.0.jar!/META- INF/cxf/cxf.fixml]: Instantiation of bean failed; nested exception is org.springframework.bea ns.BeanInstantiationException: Could not instantiate bean class [org.apache.cxf.wsdl11.WSDLManagerImpl]: Constructor threw exception; nested exception is java.l ang.NoClassDefFoundError: Could not initialize class com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl at java.security.AccessController.doPrivileged(Native Method) at org.apache.cxf.bus.spring.BusApplicationContext.<init>(BusApplicationCo ntext.java:88) at org.apache.cxf.bus.spring.SpringBusFactory.createApplicationContext(Spr ingBusFactory.java:109) at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.j ava:93) ... 14 more Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.apache.cxf.wsdl11.WSDLManagerImpl]: Constructor threw exc eption; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl ... 18 more Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl ASEWS08 wrote:Hey! We've tried to integrate the GroovyWS-Plugin in a Grails-Application. Without success. We've got problems to integrate the server-side part of the groovyWs-plugin into our application. The sample (MathService & co) works fine without grails, but we don'tknowhow to integrate this into grails. We tried to integrate the ws-exposing into the BootStrap. Withoutsuccess.(class not found exception) I've already found other attemps of integration, which also doesn'twork.(to implement the Class as InitializingBean) Our Setting: Groovy 1.5.6, Grails 1.0.3, GroovyWS 0.3.1 and jdk 6u7.OurIDE is intellij 7.0.4 (incl. the jet/groovy-plugin) The combination xfire (server, expose the webservice) and client(WSClient-> part of GroovyWS) works fine. Did anybody know how to integrate the server-component (WSServer)into agrails application? What's the best part of the grails-app. to put the following codein!?server.setNode("MyService","http://localhost:8080/services/MyService")BestRegards Thomas-- View this message in context: http://www.nabble.com/Integrate-GroovyWS- into-a-Grails-Application-tp19902784p24561280.html Sent from the grails - user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
« Return to Thread: Integrate GroovyWS into a Grails-Application
| Free embeddable forum powered by Nabble | Forum Help |