SimpleRPC example is not working fine

55 views
Skip to first unread message

vikash@Atos

unread,
Jul 6, 2012, 9:30:58 AM7/6/12
to google-we...@googlegroups.com
Hi,

I tried to run SimpleRPC example, but it is not working fine and always show the message in the onFailure method?
Due to size of the file, I have deleted gwt-servlet.jar file from the attachment.

Please help.


Thanks
SimpleRPC.rar

vikash@Atos

unread,
Jul 9, 2012, 2:09:20 AM7/9/12
to Google Web Toolkit
Any Idea?
>  SimpleRPC.rar
> 58KViewDownload

Kanagaraj M

unread,
Jul 9, 2012, 3:37:54 AM7/9/12
to google-we...@googlegroups.com
Could not open the file in Ubuntu. Can you upload it in another format zip,tar, etc?

vikash@Atos

unread,
Jul 12, 2012, 5:35:21 AM7/12/12
to google-we...@googlegroups.com
Hi,

PFA the source in zip format. Due to it's size, I have removed gwt-servlet.jar.

Thanks
SimpleRPC.zip

Bakul

unread,
Jul 12, 2012, 11:47:28 AM7/12/12
to google-we...@googlegroups.com
remove "/" from target.setServiceEntryPoint();

use:
target.setServiceEntryPoint(GWT.getModuleBaseURL() + "PersonsService");

instead of 
target.setServiceEntryPoint(GWT.getModuleBaseURL() + "/PersonsService");


Enjoy.
Reply all
Reply to author
Forward
0 new messages