W
webmaster
I have a .net web service that when I call using http returns this auto
format xml:
<string>
<coverage memkey="001" hplan="hmo" effdt="1999-10-01T00:00:00"
termdt="1999-12-01T00:00:00" />
</string>
The below code worked when the code was a local object method, however
now as a web service web method it gives me this error:
(500) Internal server error on the ReadXml line
DataSet myDataSet2 = new DataSet();
myDataSet2.ReadXml("http://localhost/xx/jcp.asmx/coverage");
DataList6.DataSource = myDataSet;
DataList6.DataBind()
Am I using ReadXml incorrectly? is the web service address formatted
incorrecty? Is the issue that the xml is now encapsulated(correct
term?) with <string>?
How can I troubleshoot this?
Thanks.
format xml:
<string>
<coverage memkey="001" hplan="hmo" effdt="1999-10-01T00:00:00"
termdt="1999-12-01T00:00:00" />
</string>
The below code worked when the code was a local object method, however
now as a web service web method it gives me this error:
(500) Internal server error on the ReadXml line
DataSet myDataSet2 = new DataSet();
myDataSet2.ReadXml("http://localhost/xx/jcp.asmx/coverage");
DataList6.DataSource = myDataSet;
DataList6.DataBind()
Am I using ReadXml incorrectly? is the web service address formatted
incorrecty? Is the issue that the xml is now encapsulated(correct
term?) with <string>?
How can I troubleshoot this?
Thanks.