A Data Import error occurred a few days ago: the client found that the response content type is "text/html", but it should be "text/XML ".
So I checked it and made a summary:
1. Add the following information to the configuration file:
<WebServices>
<Protocols>
<Add name = "httpsoap"/>
<Add name = "httppost"/>
<Add name = "httpget"/>
<Add name = "documentation"/>
</Protocols>
</WebServices>
The reason is the specified transmission protocol. ASP. NET can use these transmission protocols to decrypt data sent from the client browser in an HTTP request. Data sent in HTTP requests to XML Web Services can contain method calls and parameters. The preceding example enables all four currently supported protocols. (Mathsword in the csdn Forum ).
2. An error occurs when the web service is running. If the downloaded file is too large and exceeds the server memory, an error is returned. (This is our problem. You can download it in batches later)
3. Check whether the URL path of WebService is correctly configured and whether the runtime environment is correct. (It's almost the same as not to mention it. Just remind me. ^_^)