Sorry forget what I said... I just closed the browser and start it again,
now it works. Thx for all your help :-)
Cheers,
Norman
Ps: Maybe it would be useful to add this workaround to the website ...
2008/9/13 Norman Maurer <[EMAIL PROTECTED]>
>
> Hi Eric,
>
> thx for the reply again. Now I don't get the error anymore but the gadget
> just not display (Firefox):-/ I will try to get an Internet Explorer to
> test, after that I will report if it works there.
>
>
> Cheers,
> Norman Maurer
>
> 2008/9/13 Eric Ayers <[EMAIL PROTECTED]>
>
> Sorry, that was from an early verison of the patch. This is the method you
>> need to override.
>>
>> protected String readContent(HttpServletRequest request)
>> throws ServletException, IOException {
>> return RPCServletUtils.readContentAsUtf8(request, true);
>> }
>>
>> for a Gadget, implement it as:
>>
>> protected String readContent(HttpServletRequest request)
>> throws ServletException, IOException {
>> return RPCServletUtils.readContentAsUtf8(request, false);
>>
>> }
>>
>> On Sat, Sep 13, 2008 at 7:34 AM, Norman Maurer <[EMAIL PROTECTED]> wrote:
>>
>>> Thx for the hints.. But I was unable to find the checkHeaders() method in
>>> the GWT RemoteServiceServlet class. Even in the current trunk it seems to
>>> not exists :-/
>>>
>>> Cheers,
>>> Norman
>>>
>>>
>>> 2008/9/12 Eric Ayers <[EMAIL PROTECTED]>
>>>
>>>> We've had this as an issue for a while. GWT 1.5.2 includes a method you
>>>> can override to disable HTTP header checking for one. The other is you
>>>> need
>>>> to set a Proxy URL on your service on the client side. See the comments on
>>>> issue 154 for some code comments:
>>>>
>>>> http://code.google.com/p/gwt-google-apis/issues/detail?id=154
>>>>
>>>>
>>>> On Fri, Sep 12, 2008 at 10:32 AM, [EMAIL PROTECTED] <
>>>> [EMAIL PROTECTED]> wrote:
>>>>
>>>>>
>>>>> Hi Guys,
>>>>>
>>>>> I tried todo some testing a "converted" a simple GWT-App to an Gadget.
>>>>> All works fine except getting data via RPC. Is there anything special
>>>>> when using GWT4Gadgets ?
>>>>>
>>>>> I see the follwoing exceptionMessage :
>>>>> unable to initiate the asynchronous service invocation -- check the
>>>>> network connection
>>>>>
>>>>> I' using GWT 1.5.2 and Gadgets 1.0RC.
>>>>>
>>>>> Thx
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Eric Z. Ayers - GWT Team - Atlanta, GA USA
>>>> http://code.google.com/webtoolkit/
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>> --
>> Eric Z. Ayers - GWT Team - Atlanta, GA USA
>> http://code.google.com/webtoolkit/
>>
>> >>
>>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---