服务程序运行错误
小弟在调试gsoap的samples文件夹 中的calc时,服务程序calcserver运行时显示:
Server: gSOAP/2.7
Content-Type: text/xml; charset=utf-8
Content-Length: 726
Connection: close
<?xml version= "1.0 " encoding= "UTF-8 "?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV= "http://schemas.xmlsoap.org/soap/envelope/ " xmlns:SOAP-ENC= "http://schemas.xmlsoap.org/soap/encoding/ " xmlns:xsi= "http://www.w
3.org/2001/XMLSchema-instance " xmlns:xsd= "http://www.w3.org/2001/XMLSchema " xmlns:ns= "urn:calc "> <SOAP-ENV:Body> <SOAP-ENV:Fault SOAP-ENV:encodingStyle= "http://sc
hemas.xmlsoap.org/soap/encoding/ "> <faultcode> SOAP-ENV:Client </faultcode> <faultstring> End of file or no input: ´æ´¢¿Õ¼ä&#
178;»×㣬ÎÞ·¨´¦Àí´ËÃüÁî¡£
 </faultstring> </SOAP
-ENV:Fault> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
请问这是什么原因?
[解决办法]
你好像不能在VC中直接运行,应该是在命令提示符下面运行,运行时带个参数就应该可以了
例如:calcserver.exe