I want to return the following XML in SOAP when a function is called rather than just a string. There are many different functions that will return an xml formatted this way, is there a way that I can define what a function returns? Like making my own data type?
<meta>
<supplier>Amazon.com</supplier>
<datetime>2010/08/21 14:32:40</datetime>
</meta>
<results>
<result>
<manufacturer>Intel</manufacturer>
<itemno>8236476234</itemno>
<prices>
<price>
<quantity>10</quantity>
<cost>$1.20</cost>
</price>
<price>
<quantity>100</quantity>
<cost>$0.80</cost>
</price>
</prices>
</result>
<result> ... </result>
</results>