Php 如何从SOAP类型获取值?
存在具有以下内容的WSDL文档:Php 如何从SOAP类型获取值?,php,web-services,soap,wsdl,Php,Web Services,Soap,Wsdl,存在具有以下内容的WSDL文档: <xsd:simpleType name="CurrencyTypeEnum"> <xsd:restriction base="xsd:int"> <xsd:enumeration value="1" description="Rubles"/> <xsd:enumeration value="2" description="Dollars"/> </xsd:restr
<xsd:simpleType name="CurrencyTypeEnum">
<xsd:restriction base="xsd:int">
<xsd:enumeration value="1" description="Rubles"/>
<xsd:enumeration value="2" description="Dollars"/>
</xsd:restriction>
</xsd:simpleType>
问题:如何使用PHP的SOAP扩展从SOAP答案中获取单词“卢布”
我自己已经试过了,但是没有结果。谢谢。它们没有列出,您只能从XML中获取它们
例如,项目从模式中提取它们,以便生成常量类,例如您有一些如何从SimpleXML中获取它的示例吗?用DOMDocument加载WSDL并使用DOM提供的方法很简单,那么问题在哪里呢?你的意思是什么?你需要什么?没有办法从SOAP扩展中获取值,就是这样!谢谢!«DOMDocument»是我正在搜索的关键字
Array
(
[0] => int CurrencyTypeEnum
}