soap 服务的 问题>?
我用的是 soap2.3.1 ,发布了一个 服务,
写了一个xml 文件
<?xml version="1.0" encoding="UTF-8" ?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<ns1:sayHi xmlns:ns1="urn:HelloWorld_SOAPService" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<ourName xsi:type="xsd:string">esfdsfdfdasfdf</ourName>
</ns1:sayHi>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
提交后服务器返回正确信息,但是看到好多xml 文件中 不用加 xsi:type="xsd:string", 我试以下,去掉后,soap服务就不能正常工作了,返回错误信息,无法解析
请高手帮忙,是怎么回事 ???