XFire plugin for Grails 0.5 Released

View: New views
16 Messages — Rating Filter:   Alert me  

XFire plugin for Grails 0.5 Released

by chanwit :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

XFire plugin has been updated to be compatible with Grails 0.5 and now released.
This version comes with XFire 1.2.6.

http://docs.codehaus.org/display/GRAILS/XFire+plugin

Cheers,

Chanwit

--
Chanwit Kaewkasi
PhD Student,
Centre for Novel Computing
School of Computer Science
The University of Manchester
Oxford Road
Manchester
M13 9PL, UK

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


Re: XFire plugin for Grails 0.5 Released

by Peter Ledbrook :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 04/05/07, Chanwit Kaewkasi <chanwit@...> wrote:

> Hi all,
>
> XFire plugin has been updated to be compatible with Grails 0.5 and now released.
> This version comes with XFire 1.2.6.
>
> http://docs.codehaus.org/display/GRAILS/XFire+plugin
>
> Cheers,
>
> Chanwit

Hi Chanwit,

How do you deal with collections in a service method's arguments or
return type? I tried exposing a service of mine via 'xfire' but XFire
complained about there being no component type specified for my List
return type and List arguments.

Thanks,

Peter

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


Re: XFire plugin for Grails 0.5 Released

by chanwit :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Peter,

Sorry, you cannot use List, etc., as a return type, at the moment.
We need to wait for generic support from Groovy.

What we can do now is to use an array.
So you have to declare something like this:

Book[] getAllBooks() {
 // retrieve books and convert them into an array
}

Cheers,

Chanwit

On 04/05/07, Peter Ledbrook <peter@...> wrote:

> On 04/05/07, Chanwit Kaewkasi <chanwit@...> wrote:
> > Hi all,
> >
> > XFire plugin has been updated to be compatible with Grails 0.5 and now released.
> > This version comes with XFire 1.2.6.
> >
> > http://docs.codehaus.org/display/GRAILS/XFire+plugin
> >
> > Cheers,
> >
> > Chanwit
>
> Hi Chanwit,
>
> How do you deal with collections in a service method's arguments or
> return type? I tried exposing a service of mine via 'xfire' but XFire
> complained about there being no component type specified for my List
> return type and List arguments.
>
> Thanks,
>
> Peter
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>


--
Chanwit Kaewkasi
PhD Student,
Centre for Novel Computing
School of Computer Science
The University of Manchester
Oxford Road
Manchester
M13 9PL, UK

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


Re: XFire plugin for Grails 0.5 Released

by Peter Ledbrook :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Sorry, you cannot use List, etc., as a return type, at the moment.
> We need to wait for generic support from Groovy.

Ok, no worries. Thanks for the info.

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


Re: XFire plugin for Grails 0.5 Released

by fils :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Chanwit,
   I downloaded and installed the plugin today and built a new grails app with grails 0.5 to play with this in.  I followed your examples on the web site but I can not get the system to work out of box.

I do see:  

short name: TestService

during the grails run-app output.  I try the URL
 :8080/whiteboard/services/test?wsdl

as you specify and get a 404 not found
RequestURI=/whiteboard/services/test

The rest of the app, the domain class and the generated interface to it work fine.  It just seems it is not mapping this URL.  I noticed there is nothing mentioning xfire during the console output when I do grails run-app.   I see mention of the Acegi plugn (the only other plugin I put in this app), but not xfire.  

?  Should I see something about xfire in the console output during run-app, ie, is the plugin just not loading

? Is there something I can test that would help me track down this issue

Thanks
Doug


Chanwit Kaewkasi wrote:
Hi all,

XFire plugin has been updated to be compatible with Grails 0.5 and now released.
This version comes with XFire 1.2.6.

http://docs.codehaus.org/display/GRAILS/XFire+plugin

Cheers,

Chanwit

--
Chanwit Kaewkasi
PhD Student,
Centre for Novel Computing
School of Computer Science
The University of Manchester
Oxford Road
Manchester
M13 9PL, UK

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Re: XFire plugin for Grails 0.5 Released

by chanwit :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Doug,

It seems to me that there is another servlet intercepted the URI
before my plugin.
Could you please check inside your web.xml (in web-app directory) for me?

Cheers,

Chanwit

On 04/05/07, fils <drfils@...> wrote:

>
> Chanwit,
>    I downloaded and installed the plugin today and built a new grails app
> with grails 0.5 to play with this in.  I followed your examples on the web
> site but I can not get the system to work out of box.
>
> I do see:
>
> short name: TestService
>
> during the grails run-app output.  I try the URL
>  :8080/whiteboard/services/test?wsdl
>
> as you specify and get a 404 not found
> RequestURI=/whiteboard/services/test
>
> The rest of the app, the domain class and the generated interface to it work
> fine.  It just seems it is not mapping this URL.  I noticed there is nothing
> mentioning xfire during the console output when I do grails run-app.   I see
> mention of the Acegi plugn (the only other plugin I put in this app), but
> not xfire.
>
> ?  Should I see something about xfire in the console output during run-app,
> ie, is the plugin just not loading
>
> ? Is there something I can test that would help me track down this issue
>
> Thanks
> Doug
>
>
>
> Chanwit Kaewkasi wrote:
> >
> > Hi all,
> >
> > XFire plugin has been updated to be compatible with Grails 0.5 and now
> > released.
> > This version comes with XFire 1.2.6.
> >
> > http://docs.codehaus.org/display/GRAILS/XFire+plugin
> >
> > Cheers,
> >
> > Chanwit
> >
> > --
> > Chanwit Kaewkasi
> > PhD Student,
> > Centre for Novel Computing
> > School of Computer Science
> > The University of Manchester
> > Oxford Road
> > Manchester
> > M13 9PL, UK
> >
> > ---------------------------------------------------------------------
> > To unsubscribe from this list please visit:
> >
> >     http://xircles.codehaus.org/manage_email
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/XFire-plugin-for-Grails-0.5-Released-tf3691529.html#a10323145
> Sent from the grails - user mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>


--
Chanwit Kaewkasi
PhD Student,
Centre for Novel Computing
School of Computer Science
The University of Manchester
Oxford Road
Manchester
M13 9PL, UK

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


Re: XFire plugin for Grails 0.5 Released

by Jeremy Rayner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

What kind of generic support do you need?  Jez.

On 5/4/07, Chanwit Kaewkasi <chanwit@...> wrote:

> Hi Peter,
>
> Sorry, you cannot use List, etc., as a return type, at the moment.
> We need to wait for generic support from Groovy.
>
> What we can do now is to use an array.
> So you have to declare something like this:
>
> Book[] getAllBooks() {
>  // retrieve books and convert them into an array
> }
>
> Cheers,
>
> Chanwit
>
> On 04/05/07, Peter Ledbrook <peter@...> wrote:
> > On 04/05/07, Chanwit Kaewkasi <chanwit@...> wrote:
> > > Hi all,
> > >
> > > XFire plugin has been updated to be compatible with Grails 0.5 and now
> released.
> > > This version comes with XFire 1.2.6.
> > >
> > > http://docs.codehaus.org/display/GRAILS/XFire+plugin
> > >
> > > Cheers,
> > >
> > > Chanwit
> >
> > Hi Chanwit,
> >
> > How do you deal with collections in a service method's arguments or
> > return type? I tried exposing a service of mine via 'xfire' but XFire
> > complained about there being no component type specified for my List
> > return type and List arguments.
> >
> > Thanks,
> >
> > Peter
> >
> > ---------------------------------------------------------------------
> > To unsubscribe from this list please visit:
> >
> >     http://xircles.codehaus.org/manage_email
> >
> >
>
>
> --
> Chanwit Kaewkasi
> PhD Student,
> Centre for Novel Computing
> School of Computer Science
> The University of Manchester
> Oxford Road
> Manchester
> M13 9PL, UK
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>


--
Groovy Engineer                                          http://searchgroovy.org
http://javanicus.com/blog2

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


Re: XFire plugin for Grails 0.5 Released

by chanwit :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Jez,

I think just simple one like this

List<Book> getAllBooks() {
}

Is that already in Groovy 1.1-beta1?

Cheers,

Chanwit


On 04/05/07, Jeremy Rayner <jeremy.rayner@...> wrote:

> What kind of generic support do you need?  Jez.
>
> On 5/4/07, Chanwit Kaewkasi <chanwit@...> wrote:
> > Hi Peter,
> >
> > Sorry, you cannot use List, etc., as a return type, at the moment.
> > We need to wait for generic support from Groovy.
> >
> > What we can do now is to use an array.
> > So you have to declare something like this:
> >
> > Book[] getAllBooks() {
> >  // retrieve books and convert them into an array
> > }
> >
> > Cheers,
> >
> > Chanwit
> >
> > On 04/05/07, Peter Ledbrook <peter@...> wrote:
> > > On 04/05/07, Chanwit Kaewkasi <chanwit@...> wrote:
> > > > Hi all,
> > > >
> > > > XFire plugin has been updated to be compatible with Grails 0.5 and now
> > released.
> > > > This version comes with XFire 1.2.6.
> > > >
> > > > http://docs.codehaus.org/display/GRAILS/XFire+plugin
> > > >
> > > > Cheers,
> > > >
> > > > Chanwit
> > >
> > > Hi Chanwit,
> > >
> > > How do you deal with collections in a service method's arguments or
> > > return type? I tried exposing a service of mine via 'xfire' but XFire
> > > complained about there being no component type specified for my List
> > > return type and List arguments.
> > >
> > > Thanks,
> > >
> > > Peter
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe from this list please visit:
> > >
> > >     http://xircles.codehaus.org/manage_email
> > >
> > >
> >
> >
> > --
> > Chanwit Kaewkasi
> > PhD Student,
> > Centre for Novel Computing
> > School of Computer Science
> > The University of Manchester
> > Oxford Road
> > Manchester
> > M13 9PL, UK
> >
> > ---------------------------------------------------------------------
> > To unsubscribe from this list please visit:
> >
> >     http://xircles.codehaus.org/manage_email
> >
> >
>
>
> --
> Groovy Engineer                                          http://searchgroovy.org
> http://javanicus.com/blog2
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>


--
Chanwit Kaewkasi
PhD Student,
Centre for Novel Computing
School of Computer Science
The University of Manchester
Oxford Road
Manchester
M13 9PL, UK

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


Re: XFire plugin for Grails 0.5 Released

by fils :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Chanwit,
   I sent this via email too..  but I will post it as well to keep the thread detailed:


<web-app xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
       http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/j2ee">
       <context-param>
               <param-name>log4jConfigLocation</param-name>
               <param-value>/WEB-INF/classes/log4j.properties</param-value>
       </context-param>
       <context-param>
               <param-name>log4jRefreshInterval</param-name>
               <param-value>1000</param-value>
       </context-param>
       <context-param>
               <param-name>contextConfigLocation</param-name>
               <param-value>/WEB-INF/applicationContext.xml</param-value>
       </context-param>
       <context-param>
               <param-name>webAppRootKey</param-name>
               <param-value>template</param-value>
       </context-param>
       <filter>
               <filter-name>sitemesh</filter-name>
               <filter-class>org.codehaus.groovy.grails.web.sitemesh.GrailsPageFilter</filter-class>
       </filter>
       <filter>
               <filter-name>charEncodingFilter</filter-name>
               <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
               <init-param>
                       <param-name>targetBeanName</param-name>
                       <param-value>characterEncodingFilter</param-value>
               </init-param>
               <init-param>
                       <param-name>targetFilterLifecycle</param-name>
                       <param-value>true</param-value>
               </init-param>
       </filter>
       <filter>
               <filter-name>grailsWebRequest</filter-name>
               <filter-class>org.codehaus.groovy.grails.web.servlet.mvc.GrailsWebRequestFilter</filter-class>
       </filter>
       <filter>
               <filter-name>urlMapping</filter-name>
               <filter-class>org.codehaus.groovy.grails.web.mapping.filter.UrlMappingsFilter</filter-class>
       </filter>
       <filter>
               <filter-name>reloadFilter</filter-name>
               <filter-class>org.codehaus.groovy.grails.web.servlet.filter.GrailsReloadServletFilter</filter-class>
       </filter>
       <filter>
               <filter-name>hibernateFilter</filter-name>
               <filter-class>org.grails.xfire.OpenSessionInViewFilter</filter-class>
       </filter>
       <filter-mapping>
               <filter-name>charEncodingFilter</filter-name>
               <url-pattern>/*</url-pattern>
       </filter-mapping>
       <filter-mapping>
               <filter-name>grailsWebRequest</filter-name>
               <url-pattern>/*</url-pattern>
       </filter-mapping>
       <filter-mapping>
               <filter-name>reloadFilter</filter-name>
               <url-pattern>/*</url-pattern>
       </filter-mapping>
       <filter-mapping>
               <filter-name>sitemesh</filter-name>
               <url-pattern>/*</url-pattern>
       </filter-mapping>
       <filter-mapping>
               <filter-name>urlMapping</filter-name>
               <url-pattern>/*</url-pattern>
       </filter-mapping>
       <filter-mapping>
               <filter-name>hibernateFilter</filter-name>
               <url-pattern>/services/*</url-pattern>
       </filter-mapping>
       <listener>
               <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
       </listener>
       <listener>
               <listener-class>org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener</listener-class>
       </listener>
       <servlet>
               <servlet-name>grails</servlet-name>
               <servlet-class>org.codehaus.groovy.grails.web.servlet.GrailsDispatcherServlet</servlet-class>
               <load-on-startup>1</load-on-startup>
       </servlet>
       <servlet>
               <servlet-name>gsp</servlet-name>
               <servlet-class>org.codehaus.groovy.grails.web.pages.GroovyPagesServlet</servlet-class>
               <init-param>
                       <description> Allows developers to view the intermediade source code, when they pass a
                               spillGroovy argument in the URL. </description>
                       <param-name>showSource</param-name>
                       <param-value>1</param-value>
               </init-param>
       </servlet>
       <servlet>
               <servlet-name>XFireServlet</servlet-name>
               <servlet-class>org.grails.xfire.XFireSpringServlet</servlet-class>
               <load-on-startup>1</load-on-startup>
       </servlet>
       <servlet-mapping>
               <servlet-name>gsp</servlet-name>
               <url-pattern>*.gsp</url-pattern>
       </servlet-mapping>
       <servlet-mapping>
               <servlet-name>grails</servlet-name>
               <url-pattern>*.dispatch</url-pattern>
       </servlet-mapping>
       <servlet-mapping>
               <servlet-name>XFireServlet</servlet-name>
               <url-pattern>/services/*</url-pattern>
       </servlet-mapping>
       <servlet-mapping>
               <servlet-name>XFireServlet</servlet-name>
               <url-pattern>/servlet/XFireServlet/*</url-pattern>
       </servlet-mapping>
       <welcome-file-list>
               <welcome-file>index.jsp</welcome-file>
               <welcome-file>index.gsp</welcome-file>
       </welcome-file-list>
       <jsp-config>
               <taglib>
                       <taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri>
                       <taglib-location>/WEB-INF/tld/c.tld</taglib-location>
               </taglib>
               <taglib>
                       <taglib-uri>http://java.sun.com/jsp/jstl/fmt</taglib-uri>
                       <taglib-location>/WEB-INF/tld/fmt.tld</taglib-location>
               </taglib>
               <taglib>
                       <taglib-uri>http://www.springframework.org/tags</taglib-uri>
                       <taglib-location>/WEB-INF/tld/spring.tld</taglib-location>
               </taglib>
               <taglib>
                       <taglib-uri>http://grails.codehaus.org/tags</taglib-uri>
                       <taglib-location>/WEB-INF/tld/grails.tld</taglib-location>
               </taglib>
       </jsp-config>
</web-app>


Chanwit Kaewkasi wrote:
Hi Doug,

It seems to me that there is another servlet intercepted the URI
before my plugin.
Could you please check inside your web.xml (in web-app directory) for me?

Cheers,

Chanwit

On 04/05/07, fils <drfils@gmail.com> wrote:
>
> Chanwit,
>    I downloaded and installed the plugin today and built a new grails app
> with grails 0.5 to play with this in.  I followed your examples on the web
> site but I can not get the system to work out of box.
>
> I do see:
>
> short name: TestService
>
> during the grails run-app output.  I try the URL
>  :8080/whiteboard/services/test?wsdl
>
> as you specify and get a 404 not found
> RequestURI=/whiteboard/services/test
>
> The rest of the app, the domain class and the generated interface to it work
> fine.  It just seems it is not mapping this URL.  I noticed there is nothing
> mentioning xfire during the console output when I do grails run-app.   I see
> mention of the Acegi plugn (the only other plugin I put in this app), but
> not xfire.
>
> ?  Should I see something about xfire in the console output during run-app,
> ie, is the plugin just not loading
>
> ? Is there something I can test that would help me track down this issue
>
> Thanks
> Doug
>
>
>
> Chanwit Kaewkasi wrote:
> >
> > Hi all,
> >
> > XFire plugin has been updated to be compatible with Grails 0.5 and now
> > released.
> > This version comes with XFire 1.2.6.
> >
> > http://docs.codehaus.org/display/GRAILS/XFire+plugin
> >
> > Cheers,
> >
> > Chanwit
> >
> > --
> > Chanwit Kaewkasi
> > PhD Student,
> > Centre for Novel Computing
> > School of Computer Science
> > The University of Manchester
> > Oxford Road
> > Manchester
> > M13 9PL, UK
> >
> > ---------------------------------------------------------------------
> > To unsubscribe from this list please visit:
> >
> >     http://xircles.codehaus.org/manage_email
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/XFire-plugin-for-Grails-0.5-Released-tf3691529.html#a10323145
> Sent from the grails - user mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>


--
Chanwit Kaewkasi
PhD Student,
Centre for Novel Computing
School of Computer Science
The University of Manchester
Oxford Road
Manchester
M13 9PL, UK

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Re: XFire plugin for Grails 0.5 Released

by fils :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Chanwit,
   I rolled back to grails 0.4.2 and gave it a go (with plugin version .5).  I got:

Caused by: groovy.lang.MissingPropertyException: No such property: serviceClasses for class: org.codehaus.groovy.grails.commons.DefaultGrailsApplication

during run-app

if there is anything I can try that would help you out let me know, would love to try and get this running.  Hopefully it's not something simple on my end, but I am working with clean apps to try this out with.  

Doug


Chanwit Kaewkasi wrote:
Hi Doug,

It seems to me that there is another servlet intercepted the URI
before my plugin.
Could you please check inside your web.xml (in web-app directory) for me?

Cheers,

Chanwit

On 04/05/07, fils <drfils@gmail.com> wrote:
>
> Chanwit,
>    I downloaded and installed the plugin today and built a new grails app
> with grails 0.5 to play with this in.  I followed your examples on the web
> site but I can not get the system to work out of box.
>
> I do see:
>
> short name: TestService
>
> during the grails run-app output.  I try the URL
>  :8080/whiteboard/services/test?wsdl
>
> as you specify and get a 404 not found
> RequestURI=/whiteboard/services/test
>
> The rest of the app, the domain class and the generated interface to it work
> fine.  It just seems it is not mapping this URL.  I noticed there is nothing
> mentioning xfire during the console output when I do grails run-app.   I see
> mention of the Acegi plugn (the only other plugin I put in this app), but
> not xfire.
>
> ?  Should I see something about xfire in the console output during run-app,
> ie, is the plugin just not loading
>
> ? Is there something I can test that would help me track down this issue
>
> Thanks
> Doug
>
>
>
> Chanwit Kaewkasi wrote:
> >
> > Hi all,
> >
> > XFire plugin has been updated to be compatible with Grails 0.5 and now
> > released.
> > This version comes with XFire 1.2.6.
> >
> > http://docs.codehaus.org/display/GRAILS/XFire+plugin
> >
> > Cheers,
> >
> > Chanwit
> >
> > --
> > Chanwit Kaewkasi
> > PhD Student,
> > Centre for Novel Computing
> > School of Computer Science
> > The University of Manchester
> > Oxford Road
> > Manchester
> > M13 9PL, UK
> >
> > ---------------------------------------------------------------------
> > To unsubscribe from this list please visit:
> >
> >     http://xircles.codehaus.org/manage_email
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/XFire-plugin-for-Grails-0.5-Released-tf3691529.html#a10323145
> Sent from the grails - user mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>


--
Chanwit Kaewkasi
PhD Student,
Centre for Novel Computing
School of Computer Science
The University of Manchester
Oxford Road
Manchester
M13 9PL, UK

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Re: XFire plugin for Grails 0.5 Released

by Jeremy Rayner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Nope, generic support is only at parser level so far,
but you can use

def getAllBooks() {
}

at least in groovy...
(not sure of xfire itself)

jez


On 5/4/07, Chanwit Kaewkasi <chanwit@...> wrote:

> Hi Jez,
>
> I think just simple one like this
>
> List<Book> getAllBooks() {
> }
>
> Is that already in Groovy 1.1-beta1?
>
> Cheers,
>
> Chanwit
>
>
> On 04/05/07, Jeremy Rayner <jeremy.rayner@...> wrote:
> > What kind of generic support do you need?  Jez.
> >
> > On 5/4/07, Chanwit Kaewkasi <chanwit@...> wrote:
> > > Hi Peter,
> > >
> > > Sorry, you cannot use List, etc., as a return type, at the moment.
> > > We need to wait for generic support from Groovy.
> > >
> > > What we can do now is to use an array.
> > > So you have to declare something like this:
> > >
> > > Book[] getAllBooks() {
> > >  // retrieve books and convert them into an array
> > > }
> > >
> > > Cheers,
> > >
> > > Chanwit
> > >
> > > On 04/05/07, Peter Ledbrook <peter@...> wrote:
> > > > On 04/05/07, Chanwit Kaewkasi <chanwit@...> wrote:
> > > > > Hi all,
> > > > >
> > > > > XFire plugin has been updated to be compatible with Grails 0.5 and now
> > > released.
> > > > > This version comes with XFire 1.2.6.
> > > > >
> > > > > http://docs.codehaus.org/display/GRAILS/XFire+plugin
> > > > >
> > > > > Cheers,
> > > > >
> > > > > Chanwit
> > > >
> > > > Hi Chanwit,
> > > >
> > > > How do you deal with collections in a service method's arguments or
> > > > return type? I tried exposing a service of mine via 'xfire' but XFire
> > > > complained about there being no component type specified for my List
> > > > return type and List arguments.
> > > >
> > > > Thanks,
> > > >
> > > > Peter
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe from this list please visit:
> > > >
> > > >     http://xircles.codehaus.org/manage_email
> > > >
> > > >
> > >
> > >
> > > --
> > > Chanwit Kaewkasi
> > > PhD Student,
> > > Centre for Novel Computing
> > > School of Computer Science
> > > The University of Manchester
> > > Oxford Road
> > > Manchester
> > > M13 9PL, UK
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe from this list please visit:
> > >
> > >     http://xircles.codehaus.org/manage_email
> > >
> > >
> >
> >
> > --
> > Groovy Engineer                                          http://searchgroovy.org
> > http://javanicus.com/blog2
> >
> > ---------------------------------------------------------------------
> > To unsubscribe from this list please visit:
> >
> >     http://xircles.codehaus.org/manage_email
> >
> >
>
>
> --
> Chanwit Kaewkasi
> PhD Student,
> Centre for Novel Computing
> School of Computer Science
> The University of Manchester
> Oxford Road
> Manchester
> M13 9PL, UK
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>


--
Groovy Engineer                                          http://searchgroovy.org
http://javanicus.com/blog2

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


Re: XFire plugin for Grails 0.5 Released

by chanwit :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Doug,

With 0.4.2, you have to use 0.4 version of the plugin as Grails 0.5
introduced a new set of APIs. But dont worry, I've been working on
fixing the 0.5 issue atm.

Cheers,

Chanwit

On 07/05/07, fils <drfils@...> wrote:

>
> Chanwit,
>    I rolled back to grails 0.4.2 and gave it a go (with plugin version .5).
> I got:
>
> Caused by: groovy.lang.MissingPropertyException: No such property:
> serviceClasses for class:
> org.codehaus.groovy.grails.commons.DefaultGrailsApplication
>
> during run-app
>
> if there is anything I can try that would help you out let me know, would
> love to try and get this running.  Hopefully it's not something simple on my
> end, but I am working with clean apps to try this out with.
>
> Doug
>
>
>
> Chanwit Kaewkasi wrote:
> >
> > Hi Doug,
> >
> > It seems to me that there is another servlet intercepted the URI
> > before my plugin.
> > Could you please check inside your web.xml (in web-app directory) for me?
> >
> > Cheers,
> >
> > Chanwit
> >
> > On 04/05/07, fils <drfils@...> wrote:
> >>
> >> Chanwit,
> >>    I downloaded and installed the plugin today and built a new grails app
> >> with grails 0.5 to play with this in.  I followed your examples on the
> >> web
> >> site but I can not get the system to work out of box.
> >>
> >> I do see:
> >>
> >> short name: TestService
> >>
> >> during the grails run-app output.  I try the URL
> >>  :8080/whiteboard/services/test?wsdl
> >>
> >> as you specify and get a 404 not found
> >> RequestURI=/whiteboard/services/test
> >>
> >> The rest of the app, the domain class and the generated interface to it
> >> work
> >> fine.  It just seems it is not mapping this URL.  I noticed there is
> >> nothing
> >> mentioning xfire during the console output when I do grails run-app.   I
> >> see
> >> mention of the Acegi plugn (the only other plugin I put in this app), but
> >> not xfire.
> >>
> >> ?  Should I see something about xfire in the console output during
> >> run-app,
> >> ie, is the plugin just not loading
> >>
> >> ? Is there something I can test that would help me track down this issue
> >>
> >> Thanks
> >> Doug
> >>
> >>
> >>
> >> Chanwit Kaewkasi wrote:
> >> >
> >> > Hi all,
> >> >
> >> > XFire plugin has been updated to be compatible with Grails 0.5 and now
> >> > released.
> >> > This version comes with XFire 1.2.6.
> >> >
> >> > http://docs.codehaus.org/display/GRAILS/XFire+plugin
> >> >
> >> > Cheers,
> >> >
> >> > Chanwit
> >> >
> >> > --
> >> > Chanwit Kaewkasi
> >> > PhD Student,
> >> > Centre for Novel Computing
> >> > School of Computer Science
> >> > The University of Manchester
> >> > Oxford Road
> >> > Manchester
> >> > M13 9PL, UK
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe from this list please visit:
> >> >
> >> >     http://xircles.codehaus.org/manage_email
> >> >
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/XFire-plugin-for-Grails-0.5-Released-tf3691529.html#a10323145
> >> Sent from the grails - user mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe from this list please visit:
> >>
> >>     http://xircles.codehaus.org/manage_email
> >>
> >>
> >
> >
> > --
> > Chanwit Kaewkasi
> > PhD Student,
> > Centre for Novel Computing
> > School of Computer Science
> > The University of Manchester
> > Oxford Road
> > Manchester
> > M13 9PL, UK
> >
> > ---------------------------------------------------------------------
> > To unsubscribe from this list please visit:
> >
> >     http://xircles.codehaus.org/manage_email
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/XFire-plugin-for-Grails-0.5-Released-tf3691529.html#a10363447
> Sent from the grails - user mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>


--
Chanwit Kaewkasi
PhD Student,
Centre for Novel Computing
School of Computer Science
The University of Manchester
Oxford Road
Manchester
M13 9PL, UK

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


Re: XFire plugin for Grails 0.5 Released

by chanwit :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Jez,

On 07/05/07, Jeremy Rayner <jeremy.rayner@...> wrote:
> Nope, generic support is only at parser level so far,
> but you can use
>
> def getAllBooks() {
> }
>
> at least in groovy...
> (not sure of xfire itself)

I don't think it's gonna work with XFire. Can't wait to use Groovy
with generics anyway ;)

Cheers,

Chanwit

--
Chanwit Kaewkasi
PhD Student,
Centre for Novel Computing
School of Computer Science
The University of Manchester
Oxford Road
Manchester
M13 9PL, UK

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


Re: XFire plugin for Grails 0.5 Released

by Ford Guo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

the 404 not found
RequestURI=/xxx/services/test

find fixed solution:
modify the grails-app/conf/*UrlMappings.groovy,change
"/$controller/$action?/$id? " to
"/grails/$controller/$action?/$id?"

good luck

--Ford

Chanwit Kaewkasi wrote:

> Hi Peter,
>
> Sorry, you cannot use List, etc., as a return type, at the moment.
> We need to wait for generic support from Groovy.
>
> What we can do now is to use an array.
> So you have to declare something like this:
>
> Book[] getAllBooks() {
> // retrieve books and convert them into an array
> }
>
> Cheers,
>
> Chanwit
>
> On 04/05/07, Peter Ledbrook <peter@...> wrote:
>> On 04/05/07, Chanwit Kaewkasi <chanwit@...> wrote:
>> > Hi all,
>> >
>> > XFire plugin has been updated to be compatible with Grails 0.5 and
>> now released.
>> > This version comes with XFire 1.2.6.
>> >
>> > http://docs.codehaus.org/display/GRAILS/XFire+plugin
>> >
>> > Cheers,
>> >
>> > Chanwit
>>
>> Hi Chanwit,
>>
>> How do you deal with collections in a service method's arguments or
>> return type? I tried exposing a service of mine via 'xfire' but XFire
>> complained about there being no component type specified for my List
>> return type and List arguments.
>>
>> Thanks,
>>
>> Peter
>>
>> ---------------------------------------------------------------------
>> 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


Re: XFire plugin for Grails 0.5 Released

by chanwit :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Ford,

Thanks for your workaround.

Cheers,

Chanwit

On 11/05/07, ghq7613 <ghq7613@...> wrote:

> the 404 not found
> RequestURI=/xxx/services/test
>
> find fixed solution:
> modify the grails-app/conf/*UrlMappings.groovy,change
> "/$controller/$action?/$id? " to
> "/grails/$controller/$action?/$id?"
>
> good luck
>
> --Ford
>
> Chanwit Kaewkasi wrote:
> > Hi Peter,
> >
> > Sorry, you cannot use List, etc., as a return type, at the moment.
> > We need to wait for generic support from Groovy.
> >
> > What we can do now is to use an array.
> > So you have to declare something like this:
> >
> > Book[] getAllBooks() {
> > // retrieve books and convert them into an array
> > }
> >
> > Cheers,
> >
> > Chanwit
> >
> > On 04/05/07, Peter Ledbrook <peter@...> wrote:
> >> On 04/05/07, Chanwit Kaewkasi <chanwit@...> wrote:
> >> > Hi all,
> >> >
> >> > XFire plugin has been updated to be compatible with Grails 0.5 and
> >> now released.
> >> > This version comes with XFire 1.2.6.
> >> >
> >> > http://docs.codehaus.org/display/GRAILS/XFire+plugin
> >> >
> >> > Cheers,
> >> >
> >> > Chanwit
> >>
> >> Hi Chanwit,
> >>
> >> How do you deal with collections in a service method's arguments or
> >> return type? I tried exposing a service of mine via 'xfire' but XFire
> >> complained about there being no component type specified for my List
> >> return type and List arguments.
> >>
> >> Thanks,
> >>
> >> Peter
> >>
> >> ---------------------------------------------------------------------
> >> 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
>
>


--
Chanwit Kaewkasi
PhD Student,
Centre for Novel Computing
School of Computer Science
The University of Manchester
Oxford Road
Manchester
M13 9PL, UK

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


Re: XFire plugin for Grails 0.5 Released

by Ford Guo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Another elegant way is :

     static mappings = {
      "/$controller/$action?/$id?"{
          constraints {
                    controller(matches:/.*[^(services)].*/)
              }
      }
    }
As a result,I will update to wiki :)

good luck

--Ford

Chanwit Kaewkasi wrote:

> Hi Ford,
>
> Thanks for your workaround.
>
> Cheers,
>
> Chanwit
>
> On 11/05/07, ghq7613 <ghq7613@...> wrote:
>> the 404 not found
>> RequestURI=/xxx/services/test
>>
>> find fixed solution:
>> modify the grails-app/conf/*UrlMappings.groovy,change
>> "/$controller/$action?/$id? " to
>> "/grails/$controller/$action?/$id?"
>>
>> good luck
>>
>> --Ford
>>
>> Chanwit Kaewkasi wrote:
>> > Hi Peter,
>> >
>> > Sorry, you cannot use List, etc., as a return type, at the moment.
>> > We need to wait for generic support from Groovy.
>> >
>> > What we can do now is to use an array.
>> > So you have to declare something like this:
>> >
>> > Book[] getAllBooks() {
>> > // retrieve books and convert them into an array
>> > }
>> >
>> > Cheers,
>> >
>> > Chanwit
>> >
>> > On 04/05/07, Peter Ledbrook <peter@...> wrote:
>> >> On 04/05/07, Chanwit Kaewkasi <chanwit@...> wrote:
>> >> > Hi all,
>> >> >
>> >> > XFire plugin has been updated to be compatible with Grails 0.5 and
>> >> now released.
>> >> > This version comes with XFire 1.2.6.
>> >> >
>> >> > http://docs.codehaus.org/display/GRAILS/XFire+plugin
>> >> >
>> >> > Cheers,
>> >> >
>> >> > Chanwit
>> >>
>> >> Hi Chanwit,
>> >>
>> >> How do you deal with collections in a service method's arguments or
>> >> return type? I tried exposing a service of mine via 'xfire' but XFire
>> >> complained about there being no component type specified for my List
>> >> return type and List arguments.
>> >>
>> >> Thanks,
>> >>
>> >> Peter
>> >>
>> >> ---------------------------------------------------------------------
>> >> 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
>>
>>
>
>



---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email