Sorry,这个已经被xmlspy处理过,原文件的binding部分如下:
<binding name="ProductServiceBinding" type="y:ProductServicePortType">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.
org/soap/http"/>
<operation name="newProduct">
<soap:operation soapAction="newProduct">
<input>
<soap:body use="encoded" namespace="http://new.webservice.
namespace" encodingStyle="http://shcemas.xmlsoap.org/soap/encoding/"/>
</input>
<output>
<soap:body use="encoded" namespace="http://new.webservice.
namespace" encodingStyle="http://shcemas.xmlsoap.org/soap/encoding/"/>
</output>
</soap:operation>
</operation>
</binding>
现在已经发现问题是出在<soap:operation>部分,这份wsdl根据一本书写成,没想到他的书是错误的。正确的应为。
<soap:opeartion soapAction="newProduct"/>
【 在 ldlc (考试) 的大作中提到: 】
: 奇怪,我把你的wsdl文件贴到xmlspy里没有问题啊,而且逻辑上也没有问题
--
FROM 159.226.40.3