2012年3月24日土曜日

return straight xml rather than dataset

i just deployed my first webservice. it works perfectly. now, however, i am trying to use it in livecycle and i think livecycle can't handle the dataset which is returned by my webservice. how can i convert my dataset into straight xml?

DataSet ds = new DataSet()
StringWriter writer = new StringWriter();
ds.WriteXml(writer);
return writer.ToString();

0 件のコメント:

コメントを投稿