求助:soap_requset()函数报错:警告: 带有参数分隔符的字符串“result”不是参数
使用soap_request()函数报错:警告: 带有参数分隔符的字符串“result”不是参数。 soap_request("StepName=SOAP 单边收付款",
"URL=http://192.168.15.203:9081/tcrcb_webservice/services/DirectlyCreatePayment?wsdl",
"SOAPEnvelope="
"<?xml version=\"1.0\" encoding=\"UTF-8\"?> "
"<SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"> "
" <SOAP-ENV:Body> "
"<directlyCreatePayment xmlns=\"http://bosent.com/webservice/paymentgateway/createpayment/\"> "
" <input> "
" <ns1:commonHeader xmlns:ns1=\"http://createpayment.paymentgateway.webservice.bosent.com\"> "
" <ns1:date>20140101</ns1:date> "
" <ns1:domain>501</ns1:domain> "
" <ns1:medium>1001</ns1:medium> "
" <ns1:refPayNo>225{random}{random1}{random2}884444447</ns1:refPayNo> "
" <ns1:trade**Id>0101</ns1:trade**Id> "
" <ns1:userLoginId>00000385</ns1:userLoginId> "
" </ns1:commonHeader> "
" <ns2:mainParameters xmlns:ns2=\"http://createpayment.paymentgateway.webservice.bosent.com\"> "
" <ns2:amount>1000</ns2:amount> "
" <ns2:currencyUomId>CNY</ns2:currencyUomId> "
" <ns2:customerInfo> "
" <ns2:customer**Id>0101</ns2:customer**Id> "
" </ns2:customerInfo> "
" <ns2:extMap> "
" <ns2:dateValue>20140101</ns2:dateValue> "
" </ns2:extMap> "
" <ns2:iscred>X</ns2:iscred> "
" <ns2:manualRefNum></ns2:manualRefNum> "
" <ns2:paymentMethodInfo> "
" <ns2:accountNumber>200015130900351</ns2:accountNumber> "
" <ns2:paymentMethodType>CAPITAL_ACCOUNT</ns2:paymentMethodType> "
" <ns2:paymentServiceTypeEnumId>PRDS_PAY_DEPOSIT</ns2:paymentServiceTypeEnumId> "
" <ns2:paymentTypeId>DISBURSEMENT</ns2:paymentTypeId> "
" </ns2:paymentMethodInfo> "
" </ns2:mainParameters> "
" </input> "
" </directlyCreatePayment> "
" </SOAP-ENV:Body> "
" </SOAP-ENV:Envelope> "
// "Snapshot=t1.inf",
"ResponseParam=result",
LAST);
页:
[1]