« Return to Thread: Integrate GroovyWS into a Grails-Application

Integrate GroovyWS into a Grails-Application

by ASEWS08 :: Rate this Message:

Reply to Author | View in Thread

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't know how to integrate this into grails.

We tried to integrate the ws-exposing into the BootStrap. Without success. (class not found exception)
I've already found other attemps of integration, which also doesn't work. (to implement the Class as InitializingBean)


Our Setting: Groovy 1.5.6, Grails 1.0.3, GroovyWS 0.3.1 and jdk 6u7. Our IDE 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 a grails application?
What's the best part of the grails-app. to put the following code in!?

server.setNode("MyService","http://localhost:8080/services/MyService")


BestRegards

Thomas

 « Return to Thread: Integrate GroovyWS into a Grails-Application