Return XML data from a web service
Posted
by Nick LaMarca
on Stack Overflow
See other posts from Stack Overflow
or by Nick LaMarca
Published on 2010-06-08T20:14:38Z
Indexed on
2010/06/08
20:52 UTC
Read the original article
Hit count: 207
What is the best way to create a web service that returns a set of x,y coordinates? I am not sure on the object that is the best return type. When consuming the service I want to have it come back as xml preferibly something like this for example:
<TheData>
<Point>
<x>0</x>
<y>2</y>
</Point>
<Point>
<x>5</x>
<y>3</y>
</Point>
</TheData>
If someone has a better structure to return please help I am new at all this.
© Stack Overflow or respective owner