<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Chris' Musings</title>
	<atom:link href="http://www.itsolut.com/chrismusings/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.itsolut.com/chrismusings</link>
	<description>Random Snippets &#38; Thoughts</description>
	<lastBuildDate>Fri, 17 Dec 2010 12:24:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
	<item>
		<title>Comment on It&#8217;s tough to overload our GWT RPC by Ernesto Carrion</title>
		<link>http://www.itsolut.com/chrismusings/2010/06/26/its-tough-to-overload-our-gwt-rpc/comment-page-1/#comment-97</link>
		<dc:creator>Ernesto Carrion</dc:creator>
		<pubDate>Fri, 17 Dec 2010 12:24:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.itsolut.com/chrismusings/?p=215#comment-97</guid>
		<description>&lt;a href=&quot;#comment-96&quot; rel=&quot;nofollow&quot;&gt;@Chris Hane &lt;/a&gt; 

The problem seems to be that my class have permission to serialize but no to deserialize.
I found this on my *.gwt.rpc.

co.com.sura.soatvl.shared.dto.Texto, true, true, false, false, co.com.sura.soatvl.shared.dto.Texto/2912884571, 2912884571

My workaround was to change all of those false to true, but I don´t know how safe/unsafe is that.

BTW I’m using GWT 2.1

PS: Thanks for your response.</description>
		<content:encoded><![CDATA[<p><a href="#comment-96" rel="nofollow">@Chris Hane </a> </p>
<p>The problem seems to be that my class have permission to serialize but no to deserialize.<br />
I found this on my *.gwt.rpc.</p>
<p>co.com.sura.soatvl.shared.dto.Texto, true, true, false, false, co.com.sura.soatvl.shared.dto.Texto/2912884571, 2912884571</p>
<p>My workaround was to change all of those false to true, but I don´t know how safe/unsafe is that.</p>
<p>BTW I’m using GWT 2.1</p>
<p>PS: Thanks for your response.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on It&#8217;s tough to overload our GWT RPC by Chris Hane</title>
		<link>http://www.itsolut.com/chrismusings/2010/06/26/its-tough-to-overload-our-gwt-rpc/comment-page-1/#comment-96</link>
		<dc:creator>Chris Hane</dc:creator>
		<pubDate>Thu, 16 Dec 2010 19:55:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.itsolut.com/chrismusings/?p=215#comment-96</guid>
		<description>&lt;a href=&quot;#comment-95&quot; rel=&quot;nofollow&quot;&gt;@Ernesto Carrion &lt;/a&gt; 
Without seeing the code I&#039;m not sure.  I would guess you are trying to serialize something that can&#039;t be serialized.

I would encourage you to ask on the GWT user forums.  There are a lot more eyes there.  Don&#039;t forget to include some more context - actual code snippets work best.</description>
		<content:encoded><![CDATA[<p><a href="#comment-95" rel="nofollow">@Ernesto Carrion </a><br />
Without seeing the code I&#8217;m not sure.  I would guess you are trying to serialize something that can&#8217;t be serialized.</p>
<p>I would encourage you to ask on the GWT user forums.  There are a lot more eyes there.  Don&#8217;t forget to include some more context &#8211; actual code snippets work best.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on It&#8217;s tough to overload our GWT RPC by Ernesto Carrion</title>
		<link>http://www.itsolut.com/chrismusings/2010/06/26/its-tough-to-overload-our-gwt-rpc/comment-page-1/#comment-95</link>
		<dc:creator>Ernesto Carrion</dc:creator>
		<pubDate>Thu, 16 Dec 2010 15:09:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.itsolut.com/chrismusings/?p=215#comment-95</guid>
		<description>Hello,

It seems that the rpc call is failling when returning a Custom object (Class that wrap 2 string and one integer), when the rcp returns a string it works fine, but with the first case I’m getting this :

Exception while invoking the remote service co.com.sura.soatvl.client.services.IConsultasService.consultarTexto
com.google.gwt.user.client.rpc.InvocationException: Exception while invoking the remote service co.com.sura.soatvl.client.services.IConsultasService.consultarTexto
at com.gdevelop.gwt.syncrpc.RemoteServiceInvocationHandler.invoke(RemoteServiceInvocationHandler.java:185)
at $Proxy0.consultarTexto(Unknown Source)
at co.com.sura.soatvl.client.StressTest.loadRPC(StressTest.java:33)
at co.com.sura.soatvl.client.StressTest.main(StressTest.java:46)
Caused by: com.google.gwt.user.client.rpc.InvocationException: Error while performing serialization
at com.gdevelop.gwt.syncrpc.RemoteServiceSyncProxy.doInvoke(RemoteServiceSyncProxy.java:169)
at com.gdevelop.gwt.syncrpc.RemoteServiceInvocationHandler.invoke(RemoteServiceInvocationHandler.java:164)
... 3 more
Caused by: com.google.gwt.user.client.rpc.SerializationException: Type &#039;co.com.sura.soatvl.shared.dto.Texto&#039; was not included in the set of types which can be deserialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be deserialized.
at com.google.gwt.user.server.rpc.impl.StandardSerializationPolicy.validateDeserialize(StandardSerializationPolicy.java:158)
at com.gdevelop.gwt.syncrpc.SyncClientSerializationStreamReader.deserialize(SyncClientSerializationStreamReader.java:360)
at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.readObject(AbstractSerializationStreamReader.java:119)
at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter$ResponseReader$8.read(RequestCallbackAdapter.java:104)
at com.gdevelop.gwt.syncrpc.RemoteServiceSyncProxy.doInvoke(RemoteServiceSyncProxy.java:158)
... 4 more

Do you know what I’m doing wrong and how and how to fix it? ;)

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>It seems that the rpc call is failling when returning a Custom object (Class that wrap 2 string and one integer), when the rcp returns a string it works fine, but with the first case I’m getting this :</p>
<p>Exception while invoking the remote service co.com.sura.soatvl.client.services.IConsultasService.consultarTexto<br />
com.google.gwt.user.client.rpc.InvocationException: Exception while invoking the remote service co.com.sura.soatvl.client.services.IConsultasService.consultarTexto<br />
at com.gdevelop.gwt.syncrpc.RemoteServiceInvocationHandler.invoke(RemoteServiceInvocationHandler.java:185)<br />
at $Proxy0.consultarTexto(Unknown Source)<br />
at co.com.sura.soatvl.client.StressTest.loadRPC(StressTest.java:33)<br />
at co.com.sura.soatvl.client.StressTest.main(StressTest.java:46)<br />
Caused by: com.google.gwt.user.client.rpc.InvocationException: Error while performing serialization<br />
at com.gdevelop.gwt.syncrpc.RemoteServiceSyncProxy.doInvoke(RemoteServiceSyncProxy.java:169)<br />
at com.gdevelop.gwt.syncrpc.RemoteServiceInvocationHandler.invoke(RemoteServiceInvocationHandler.java:164)<br />
&#8230; 3 more<br />
Caused by: com.google.gwt.user.client.rpc.SerializationException: Type &#8216;co.com.sura.soatvl.shared.dto.Texto&#8217; was not included in the set of types which can be deserialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be deserialized.<br />
at com.google.gwt.user.server.rpc.impl.StandardSerializationPolicy.validateDeserialize(StandardSerializationPolicy.java:158)<br />
at com.gdevelop.gwt.syncrpc.SyncClientSerializationStreamReader.deserialize(SyncClientSerializationStreamReader.java:360)<br />
at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.readObject(AbstractSerializationStreamReader.java:119)<br />
at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter$ResponseReader$8.read(RequestCallbackAdapter.java:104)<br />
at com.gdevelop.gwt.syncrpc.RemoteServiceSyncProxy.doInvoke(RemoteServiceSyncProxy.java:158)<br />
&#8230; 4 more</p>
<p>Do you know what I’m doing wrong and how and how to fix it? <img src='http://www.itsolut.com/chrismusings/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on It&#8217;s tough to overload our GWT RPC by Chris Hane</title>
		<link>http://www.itsolut.com/chrismusings/2010/06/26/its-tough-to-overload-our-gwt-rpc/comment-page-1/#comment-92</link>
		<dc:creator>Chris Hane</dc:creator>
		<pubDate>Mon, 08 Nov 2010 17:38:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.itsolut.com/chrismusings/?p=215#comment-92</guid>
		<description>Ray,

From what I remember (and reading the post again), the SyncProxy is built to be used with GAE.  We basically forked the project internally and ripped out all of the GAE code.  And the loginGAE method was one of those things.  It took a little bit; but from what I remember, it wasn&#039;t too hard.  We did it quickly and used trial and error to remove the GAE specifics.

If you are getting an exception than you did not rip it out completely.  The code is still making a call (probably in the client side of the proxy) to that method.

Hopefully this will put you on the right path.  I would do a global search for loginGAE in your local copy of the Sync Proxy code.

Good luck.</description>
		<content:encoded><![CDATA[<p>Ray,</p>
<p>From what I remember (and reading the post again), the SyncProxy is built to be used with GAE.  We basically forked the project internally and ripped out all of the GAE code.  And the loginGAE method was one of those things.  It took a little bit; but from what I remember, it wasn&#8217;t too hard.  We did it quickly and used trial and error to remove the GAE specifics.</p>
<p>If you are getting an exception than you did not rip it out completely.  The code is still making a call (probably in the client side of the proxy) to that method.</p>
<p>Hopefully this will put you on the right path.  I would do a global search for loginGAE in your local copy of the Sync Proxy code.</p>
<p>Good luck.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on It&#8217;s tough to overload our GWT RPC by Ray Tayek</title>
		<link>http://www.itsolut.com/chrismusings/2010/06/26/its-tough-to-overload-our-gwt-rpc/comment-page-1/#comment-91</link>
		<dc:creator>Ray Tayek</dc:creator>
		<pubDate>Sun, 07 Nov 2010 16:44:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.itsolut.com/chrismusings/?p=215#comment-91</guid>
		<description>hi, having problems with htmlunit trying to test a gwt rpc, so i found your post.

i commented out the loginGAE() method in SyncProxy and am getting an exception (Exception while invoking the remote service p.client.GreetingService.greetServer) thrown in RemoteServiceInvocationHandler.

this is using new project made gwt 2.1 in eclipse. i am running on localhost in dev mode.

any pointers will be appreciated.

thanks</description>
		<content:encoded><![CDATA[<p>hi, having problems with htmlunit trying to test a gwt rpc, so i found your post.</p>
<p>i commented out the loginGAE() method in SyncProxy and am getting an exception (Exception while invoking the remote service p.client.GreetingService.greetServer) thrown in RemoteServiceInvocationHandler.</p>
<p>this is using new project made gwt 2.1 in eclipse. i am running on localhost in dev mode.</p>
<p>any pointers will be appreciated.</p>
<p>thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

