There are WSDL document with following:
<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>
When print_r($client->__getTypes())
I get this return: (it’s okay)
Array
(
[0] => int CurrencyTypeEnum
}
Question: How I can get word «Rubles» from SOAP answer using SOAP extension from PHP?
Already tried to find it myself, but without some results. Thanks.