Saturday, 27 December 2014

Can specifying a "SOAPAction header in the HTTP request" on a webservice call control whether the service responds with json or xml?



Is it possible to specify the accept type in a SoapAction in a call to an asp.net webservice to 'encourage' the service to return xml instead of json?


If so what would that SoapAction header command be?


No comments:

Post a Comment