• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

POST data from Midlet through GPRS

 
Nikhil Sidhaye
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello to every one.
I am developing mobile solution which sends some data to the RESIN server. The GET method run successfully, while post method fails on GPRS in NOKIA 3650.
Error I received is :
Invalid Content-Length 23,23. Where 23 is actual length posted by midlet.
While same code works with Fax & Data services. I think the wap gatway changes some headers of request.
I set Content-Length by setRequestProperty of HttpConnection.
Any idea to tackle with this error.
Looking for response & thanks in advance.
Used Phone : Nokia 3650
GPRS : Airtel
Fax & Data Services : Satyam
 
dan moore
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what content type are you setting, and what parameter type encoding are you using?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic