Can someone help me? I load ASMX as XMLDocument, I use following code:
string url = "http://www.*******.com/WebService.asmx/Test";
wsResponse.Load(url);
string XMLDocument = wsResponse.InnerXml;
Response.ContentType = "text/xml";
Response.Write(XMLDocument);
On production server I receved SERVER INTERNAL Error, it is on shared hosting. On local host the web service is consumed successful. The web service return a simple string as "service test" The service is request by HTTP GET
What Can caused the problem and how can I fix it.
P.S. I try to use this approach, because on shared hosting they they suddendly stop to support cross domain web service consuming, so I can not consume the service via ajax