Client calling WebService

xiaoxiao2021-03-06  96

/ Note in 1.1 Machine.config, the default WebService removes the POST, GET method Machine.config

Put away

1, WebService

[WebMethod]

Public String getMessage ()

{

XmLDocument Doc = New XmLDocument ();

Doc.Load (Server.mappath (".") "/ Test.xml");

String RTN = Doc.outerXML;

DOC = NULL;

Return RTN;

}

2, the adjunction of ASPX