Home > database >  Pb90 invoke the webservice error Unexpected return the content-type: text/HTML
Pb90 invoke the webservice error Unexpected return the content-type: text/HTML

Time:10-14

Pb90 invoke the webservice error Unexpected return the content-type: text/HTML

CodePudding user response:

Should be the problem of character set, see the webservice configuration, and client agreement

CodePudding user response:

How to see the configuration in the webservice excuse me?

CodePudding user response:

The
refer to the original poster hexiang0724 response:
pb90 invoke the webservice error Unexpected return the content-type: text/HTML


Should be a webservice itself has a problem, use ie to open this webservice execution, look at the error message

CodePudding user response:

If available, before suddenly appears call wrong, basic it is associated with the file permissions, and the client calls error is not easy to understand, I encountered error:
(1) the Unexpected return the content-type: text/HTML. Charset=utf
Encounter this error, look up the information from Google, rarely see an idea to connect set, I'll find out soapconnect object function, which it has no attributes, there is no any function can set the content,
Then, in the client code debugging, found a call the webservice function is the prompt,
Then, each set of IIS check, find a place can choose charset, changed after doesn't work,
Then, the webservice project objects page view WSDL test, findings suggest that WSDL is invalid,
Then, do a simple index. HTM on iis, found that can be accessed, explain iis website is normal
Then, to trace the webservice, tracking a page, ie say: network service cannot on Windows \ temp directory, speaking, reading and writing, a check, indeed as expected was no netservice the directory permissions, the power set (I give netservice control, all permissions problems will slowly later studies), problem solved,

CodePudding user response:

I also encountered this problem, the web service, the test is no problem with the server, that is not a problem the IIS,
I don't this webservice function, into, also have no arguments, just open a web page within the function, on the IIS server test no problem, but with pb12 call is in the wrong
  • Related