(500) Internal server error ReadXml

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • webmaster@1stmiami.com

    (500) Internal server error ReadXml

    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.Read Xml("http://localhost/xx/jcp.asmx/coverage");
    DataList6.DataS ource = myDataSet;
    DataList6.DataB ind()

    Am I using ReadXml incorrectly? is the web service address formatted
    incorrecty? Is the issue that the xml is now encapsulated(co rrect
    term?) with <string>?

    How can I troubleshoot this?

    Thanks.

  • webmaster@1stmiami.com

    #2
    Re: (500) Internal server error ReadXml

    Do I still need to do the wsdl.exe external compile thingie? I thought
    vs.net 2005 did something to make that transparent?

    webmaster@1stmi ami.com wrote:
    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.Read Xml("http://localhost/xx/jcp.asmx/coverage");
    DataList6.DataS ource = myDataSet;
    DataList6.DataB ind()
    >
    Am I using ReadXml incorrectly? is the web service address formatted
    incorrecty? Is the issue that the xml is now encapsulated(co rrect
    term?) with <string>?
    >
    How can I troubleshoot this?
    >
    Thanks.

    Comment

    Working...