Dim s As New SoapClient
On Error GoTo err:
Call s.mssoapinit("http://10.11.65.137:8080/sdnwom/ws/TelnetService/TelnetService?wsdl")
Dim str As String
Dim bsc As String
Dim cell As String
bsc = "JNBSC35"
cell = "RLCRP:CELL=G012341;" str = s.rexecGetResult(bsc, cell)
返回错误:
Client:Incorrect number of parameters supplied for SOAP request HRESULT=0x80070057
请问如何解决,谢谢
干什么的 需要什么参数 是否返回值
- <xsd:complexType name="rexecGetResult">
- <xsd:sequence>
<xsd:element minOccurs="0" name="arg0" type="xsd:string" />
<xsd:element minOccurs="0" name="arg1" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="rexecGetResultResponse" type="tns:rexecGetResultResponse" />
- <xsd:complexType name="rexecGetResultResponse">
- <xsd:sequence>
<xsd:element minOccurs="0" name="return" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
</wsdl:types>
- <wsdl:message name="rexecGetResult">
<wsdl:part element="tns:rexecGetResult" name="parameters" />
</wsdl:message>
- <wsdl:message name="rexecGetResultResponse">
<wsdl:part element="tns:rexecGetResultResponse" name="parameters" />
</wsdl:message>
- <wsdl:portType name="ITelnetService">
- <wsdl:operation name="rexecGetResult">
<wsdl:input message="tns:rexecGetResult" name="rexecGetResult" />
<wsdl:output message="tns:rexecGetResultResponse" name="rexecGetResultResponse" />
</wsdl:operation>
</wsdl:portType>
- <wsdl:binding name="TelnetServiceServiceSoapBinding" type="tns:ITelnetService">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="rexecGetResult">
<soap:operation soapAction="" style="document" />
- <wsdl:input name="rexecGetResult">
<soap:body use="literal" />
</wsdl:input>
- <wsdl:output name="rexecGetResultResponse">
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
- <wsdl:service name="TelnetServiceService">