Ok, got it resolved. The problem is with transfer-encoding from google-
apps. The type is 'chunked', and for this transfer-encoding there
should be no content-length header set.

Thanks for the direction.


On May 18, 12:02 pm, Developer <[email protected]> wrote:
> Update--
>
> Fiddler shows that response from my google-app is encoded. That might
> be the reason my java code cannot read the response. What is the
> recommended way here?
>
> Thanks.
>
> On May 16, 5:03 am, Barry Hunter <[email protected]> wrote:
>
> > have you tried sniffing the actul comms using something like fiddler,
> > or wireshark? they could help you trace the issue.
>
> > On 15/05/2009, Developer <[email protected]> wrote:
>
> > >  I've created a simple application that returns some characters. The
> > >  application is hosted on
>
> > >  http://koolphoneapps.appspot.com, and accessible to public.
>
> > >  When I try to access the application from mySmartPhonesimulator, I
> > >  get no response. If I try to access locally 
> > > (e.g.http://localhost:8080/koolphoneapps,
> > >  when testing it on local google application engine) I've no problems.
> > >  It works through the browser all the time.
>
> > >  In mySmartPhoneapplication I use javax.microedition.io.Connector
> > >  class to open a connection to the application and read the input
> > >  stream. When the application (google app) is running locally, I get
> > >  all the characters. However when I upload and test the same code
> > >  throughhttp://koolphoneapps.appspot.com, I get no response.
>
> > >  What could be the problem? I ruled out internet connectivity issue
> > >  since I can access other urls, likewww.google.comusingthe same
> > >  mechanism. i.e. create connection using
> > >  javax.microedition.io.Connector and read input stream.
>
> > >  Thanks in advance.
>
> > --
> > Barry
>
> > -www.nearby.org.uk-www.geograph.org.uk-
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to