Leo
Leo

Reputation: 139

Returning String in RequestFactory

I'm returning a string from the server side, it's corresponding request context method is also available, but i'm getting No operation found in request exception, any idea ??

Can't we return string in requestfactory ?

Upvotes: 0

Views: 72

Answers (1)

Deanna
Deanna

Reputation: 696

Yes you can return a String from a request factory call.

Are you getting other requests back and only this one is failing? If so check for something like Thomas Broyer suggested with the service method.

Do you have the GWT 2.4 validator set up http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation . This can tell you if your shared request matches your service.

Upvotes: 1

Related Questions