MS SoapClient和WSDLReader错误'80020009'

时间:2014-07-08 06:44:28

标签: asp-classic payment-gateway payment soap-client

我想创建一个支付网关并使用asp经典,但我收到了这个错误:

WSDLReader error '80020009'

WSDLReader:XML Parser failed at linenumber 0, lineposition 0, reason is: A connection with the server could not be established HRESULT=0x1: Incorrect function. - WSDLReader:Loading of the WSDL file failed HRESULT=0x80070057: The parameter is incorrect. - Client:One of the parameters supplied is invalid. HRESULT=0x80070057: The parameter is incorrect.

/fa/Payment.asp, line 23 

这是我的代码:

<%
 If Request.ServerVariables("REQUEST_METHOD") = "POST" Then
SET objSoapClient = Server.CreateObject("MSSOAP.SoapClient30")
objSoapClient.ClientProperty("ServerHTTPRequest") = True
Call objSoapClient.mssoapinit("https://pgws.bpm.bankmellat.ir/pgwchannel/services/pgw?wsdl","PaymentGatewayImplService")
referenceid = objSoapClient.bpPayRequest ("XXXXXXX","XXXXXX","XXXXXXXX","XXX","XXXX","XXXX","XXXXX","","http://www.next.co.ir/fa/PaymentResult.asp","10")
Response.Redirect( "https://bpm.shaparak.ir/pgwchannel/startpay.mellat?RefId="&referenceid)   
End If
%>

是否与SSL或其他相关?

0 个答案:

没有答案