• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

android web service returned HTTP request failed, HTTP status: 500

 
Ranch Hand
Posts: 46
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello All,
Hope you all have a good week. I am trying to find out the reason why my android web service returned a HTTP request failed, HTTP status: 500.

First, I thought that there was a problem with my web service but it turned out fine when I use my regular client program to call a java web service and it worked. So the problem is with my android code and not web service code.

I have included my android code , and hope you can show me where the problem is.



and my AndroidManifest.xml where i have user permission

 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, a 500 is a server error - maybe there is a more elaborate error message in one of the server logs?

I might use an HTTP proxy (like tcpmon) to look at the requests coming in from the desktop app and from the mobile device - it sounds as if they're different somehow. If they are, then that might give you an idea for further debugging.
 
Ranch Hand
Posts: 199
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Since you get a 500 error you have some trace in the server side.
What says the server log about the error?


Best regards,


 
I found some pretty shells, some sea glass and this lovely tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic