错误信息很明显啊
: Operation 'newProduct' in Binding 'ProductServiceBinding' - the number
: of input elements does not match the number of input elements in the
: PortType!
input elements does not match,参数的数目不一致,
【 在 bbhs (The_Blue_Sea) 的大作中提到: 】
: 标 题: 大家帮忙看一下wsdl
: 发信站: BBS 水木清华站 (Thu Nov 20 11:22:24 2003), 转信
:
: <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http:
: //schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.
: org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:
: soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http:
: //schemas.xmlsoap.org/wsdl/mime/" xmlns:y="http://new.webservice.
: namespace" targetNamespace="http://new.webservice.namespace">
: <types/>
: <message name="ProductServiceRequestMessage">
: <part name="ProductName" type="xs:string"/>
: <part name="Manufacturer" type="xs:string"/>
: <part name="Price" type="xs:float"/>
: </message>
: <message name="ProductServiceResponseMessage">
: <part name="result" type="xs:string"/>
: </message>
: <portType name="ProductServicePortType">
: <operation name="newProduct">
: <input message="y:ProductServiceRequestMessage"/>
: <output message="y:ProductServiceResponseMessage"/>
: </operation>
: </portType>
: <binding name="ProductServiceBinding" type="y:
: ProductServicePortType">
: <soap:binding style="rpc" transport="http://schemas.xmlsoap.
: org/soap/http"/>
: <operation name="newProduct">
: <soap:operation soapAction="urn:productService"/>
: </operation>
: </binding>
: <service name="ProductService">
: <port name="ProductServicePort" binding="y:ProductServiceBinding">
: <soap:address location="http://10.0.2.241:
: 6888/soap/servlet/rpcrouter"/>
: </port>
: </service>
: </definitions>
:
: xmlspy提示错误信息如下:
: Operation 'newProduct' in Binding 'ProductServiceBinding' - the number
: of input elements does not match the number of input elements in the
: PortType!
:
: --
:
: ※ 来源:·BBS 水木清华站 smth.org·[FROM: 159.226.40.3]
--
FROM 202.119.230.80