-1

I am using coldfusion and IIS 7.5 Problem is that when the web service has 500 error, it returns HTML instead of XML.

Can anyone help me in fixing this please.

Thanks.

James A Mohler
  • 11,060
  • 15
  • 46
  • 72

1 Answers1

0

This is an Internal Server Error, may have occurred because of a data type mismatch. The server is expecting one data type but you are sending a different data type for the input parameter. Please check the input format of the web service that you are calling.

For example: If you try to consume a web service method which takes a SOAP object as an input parameter and you call that method with a different parameter other than SOAP the server will throw a 500 error.

Jimmy_barnes
  • 78
  • 2
  • 2
  • 14
Abhisek Das
  • 206
  • 1
  • 5