"/>  ">

Home  >  Article  >  Backend Development  >  调用一个.net soap,该怎么处理

调用一个.net soap,该怎么处理

WBOY
WBOYOriginal
2016-06-13 13:35:52834browse

调用一个.net soap
我需要调用一个.net soap 地址用户名我都有,但是 它其中的一个函数返回的是 .net 的一个自定义的类,并且是这个类的数组。我就不知道,如何用php 去得到它的值了,只得到了
object(stdClass)#2 (1) {
  ["GetProductResult"]=>
  object(stdClass)#3 (0) {
  }
}

------解决方案--------------------
这已经是结果了,是个对象

但你是不是只复制了一部分出来?
------解决方案--------------------
get_object_vars
忘了需不需要先json_decode了,你自己去试下

Statement:
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