Can someone explain how to assign a type to anytype paramater using soapvar in php?
<complexType name="Entry"> <sequence> <element name="key" nillable="true" type="xsd:anyType" minOccurs="0" /> <element name="value" nillable="true" type="xsd:anyType" minOccurs="0" /> </sequence> </complexType>
For instance:
$arr=array('key'=>new SoapVar('EMAIL_ADDRESS',SOAP_ENC_OBJECT,'xsd:anyType'),'value'=>new SoapVar(' xxxx@gmail.com ',SOAP_ENC_OBJECT,'xsd:anyType'));
When passing the specified array to userprofile in the user register along the soapclient in yodlee sdk, an "Unknown" exception is returned.
source share