Original error description:
Soap version mismatch: Unexpected envelope namespace http://schemas.xmlsoap.org/wsdl /. It should be http://schemas.xmlsoap.org/soap/envelope /.
Scenario:
Generally, WebService written in Java is called by. net.
Solution:
If the address is: http: // 127.0.0.1: 8080/W/services/FI/wwww/1.0? WSDL
So: Write the following address for reference.
HoweverProgramWhen dynamically changing the internal address? Remove the WSDL as follows:
Servicereference. wwww service = new servicereference. wwww ();
Service. url = http: // 127.0.0.1: 8080/W/services/FI/wwww/1.0
This is normal.
Postscript:
I have been checking this problem for a long time. Does the online saying I want to remove it? WSDL, but in one sentence, I thought it would be removed when referencing, and the result cannot be referenced. no one has made the problem completely clear. therefore, we hope to provide a one-stop solution to the problem.