login about faq

I'm trying to post xml to https URL and getting 500 internal server error in Visual FoxPro https://posgateway.cert.secureexchange.net/Hps.Exchange.PosGateway/PosGatewayService.asmx can you provide a sample code?

asked Apr 02 at 10:56

Mike_Azar's gravatar image


Hi Mike,

A "500 Internal Error" response code means the server-side application code failed for some reason. It is likely the content of the HTTP request body is not to the liking of the server-side. The HTTP request body content is application specific (i.e. it's the application message/payload). I cannot provide sample code because it's impossible for me to know what the application data should be.

Use the http.SessionLogFilename property to log the request/response to a file so you can examine the request headers and body in detail to determine what is likely to cause the server-side code to reject it.


answered Apr 06 at 11:46

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Apr 02 at 10:56

Seen: 313 times

Last updated: Apr 06 at 11:46

powered by OSQA