php - How to create soapvar object for xsd:anyType -
php - How to create soapvar object for xsd:anyType -
can please explain how assign type 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 example:
$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 above array userprofile in register user along soapclient in yodlee sdk homecoming "unknown" exception.
hai found out issue based on namespace url problem , used this
$arr=array('key'=>new soapvar('email_address',xsd_anytype,'string','http://www.w3.org/2001/xmlschema','key'),'value'=>new soapvar('xxxx@gmail.com',xsd_anytype,'string','http://www.w3.org/2001/xmlschema','value'));
and got solution yodlee server all
php soap
Comments
Post a Comment