Metadata include cannot resolve a reference to: "http://10.100.8.65/dthealth/web/WLYY.WebService.Surgery.cls",
The content of the response message type text/HTML and binding (application/soap + XML; Charset=utf-8) content types do not match, if you use a custom encoder, please ensure the correct implementation IsContentTypeSupported method,
Don't refer to
CodePudding user response:
Webservice is returned XML, json is how could you? You use not webservice, are you? Are ordinary webapi interface?CodePudding user response:
Direct call ah, you input the address in the browser, if you need parameter simulation a look at the return result is a what?CodePudding user response:
WebService if Web Get/post call, need to be defined in the interface definition HttpPost/HttpGetCodePudding user response:
Add the ws reference not line?