XML response of webservice call in C# -


I'm calling a webservice in C # and returning an array of objects.

How to get an XML string instead?

Change the return type of the webservice method in a string, and make your data serial before returning it .

Besides, why do you want to do this? If you are getting an array of objects, then what is not included in XML / SOAP?


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -