Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

server response too large

 
caid bradley
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi.

i have a suite of apps that post to a web server and receive an xml response.
unfortunately, my latest test phone (sanyo scp-8100) seems to only be able to receive 390B of data from the server.
is there any way, aside from reducing the response content size, that i can get that response down the pipe to the application?
i.e. split it into chunks and download each chunk, discard headers, flush out the net buffer etc?

and is there any way to query the phone programmatically to find out what response size it can handle?

thanks so much

regards

caid
 
Yuri Magrisso
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just 390B... It looks like the size of a UDP datagram.

What kind of an address do you use to open connection when you call Connector.open()?
 
caid bradley
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi. thanks for your reply.

c = (HttpConnection)Connector.open(http://server/XMLPayment/XMLPayment.aspx");
c.setRequestMethod(HttpConnection.POST);

any other thoughts?

regards

caid
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic