如何为 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>
例如:
$arr=array('key'=>new SoapVar('EMAIL_ADDRESS',SOAP_ENC_OBJECT,'xsd:anyType'),'value'=>new SoapVar('[email protected]',SOAP_ENC_OBJECT,'xsd:anyType'));
当在 yodlee sdk 中的肥皂客户端中传递注册用户的用户配置文件的上述数组时,它返回“未知”异常。
Can anyone please explain how to assign the type for 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('[email protected]',SOAP_ENC_OBJECT,'xsd:anyType'));
When passing the above array for userprofile in register user along soapclient in yodlee sdk it return "Unknown" exception.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
海我终于发现我的问题是基于名称空间 url 问题,我使用了这个
并从 yodlee 服务器得到了解决方案,感谢所有人
Hai i finally found out my issue its based on namespace url problem and i used this
and got solution from yodlee server thanks to all