小编UI *_*per的帖子

如何为xsd:anyType创建soapvar对象

任何人都可以解释如何在php中使用soapvar为anytype参数指定类型?

  <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>
Run Code Online (Sandbox Code Playgroud)

例如:

$arr=array('key'=>new SoapVar('EMAIL_ADDRESS',SOAP_ENC_OBJECT,'xsd:anyType'),'value'=>new SoapVar('xxxx@gmail.com',SOAP_ENC_OBJECT,'xsd:anyType'));
Run Code Online (Sandbox Code Playgroud)

当在yodlee sdk中沿soapclient向寄存器用户传递userprofile的上述数组时,它返回"Unknown"异常.

php soap

4
推荐指数
1
解决办法
5121
查看次数

标签 统计

php ×1

soap ×1