Home > Backend Development > PHP Tutorial > 用PHP调用.net webservice 如何传参?

用PHP调用.net webservice 如何传参?

WBOY
Release: 2016-06-06 20:32:43
Original
1134 people have browsed it

调用的function是DoCreditCardCharge,然后参数是bizbasecontract这个类型,这个bizbasecontract是一个基类,其他类都是继承这个类的,我需要用到的是payphonecardbywebsitecontract这个类,所以不知道怎么传参了

回复内容:

调用的function是DoCreditCardCharge,然后参数是bizbasecontract这个类型,这个bizbasecontract是一个基类,其他类都是继承这个类的,我需要用到的是payphonecardbywebsitecontract这个类,所以不知道怎么传参了

我们项目访问 .net webservice是用的 SOAP

有个SoapClient::__soapCall( string $function_name , array $arguments ) 第二个参数就是参数了

SOAP参考

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template