I have succesfully created a webservice that returns a single string parameter. The WSDL and DISCO are of course created for me.
I would now like to enhance the webservice to return the contents of a database table as XML.
I can read data into a dataset no problem.
I can convert the dataset into a string of XML using
MyString = MyDataSet.GetXML.
I'm a bit lost on how to now make sure my WSDL will describe the format of the string XML data I am passing back. It cannot do it automatically ( I assume ) because the XML is generated on the fly outside of Webmethod definition that says I am returning just one string parameter.
Any guidance appreciated.
Dazed and confused.
Remember.. 'Depression is just anger without enthusiasum'.
I would now like to enhance the webservice to return the contents of a database table as XML.
I can read data into a dataset no problem.
I can convert the dataset into a string of XML using
MyString = MyDataSet.GetXML.
I'm a bit lost on how to now make sure my WSDL will describe the format of the string XML data I am passing back. It cannot do it automatically ( I assume ) because the XML is generated on the fly outside of Webmethod definition that says I am returning just one string parameter.
Any guidance appreciated.
Dazed and confused.
Remember.. 'Depression is just anger without enthusiasum'.