【问题标题】:Is there some example xml for the FormInfo list for the updateCredentialsForItem1?updateCredentialsForItem1 的 FormInfo 列表是否有一些示例 xml?
【发布时间】:2014-05-15 18:43:40
【问题描述】:

我在尝试发布更新的登录凭据时收到以下错误:

<Exception>org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Can not invoke the getTypeObject method in the extension mapper class...

我正在使用 savon gem 通过 Rails 应用程序访问 SOAP API。

addItemForContentService 使用相同的 xsi:type 定义,我使用 getLoginFormCredentialsForItem 检索 FormInfos 以推回 updateCredentialsForItem1,但没有成功。

如果我能得到一些用于此调用的示例 xml(有效),我将不胜感激。

【问题讨论】:

    标签: yodlee


    【解决方案1】:

    您发送的参数或 WSDL 格式似乎不正确。

    以下是 updateCredentialsForItem1 的 XML 供您参考(您需要更改值):

    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <soapenv:Body>
        <updateCredentialsForItem1 xmlns="http://itemmanagement.accountmanagement.core.soap.yodlee.com">
          <userContext xmlns="">
            <cobrandId>134131232</cobrandId>
            <channelId>-1</channelId>
            <locale>
              <country>US</country>
              <language>en</language>
              <variant></variant>
            </locale>
            <tncVersion>2</tncVersion>
            <applicationId>7A367HGJ621219F00</applicationId>
            <cobrandConversationCredentials xsi:type="ns1:SessionCredentials" xmlns:ns1="http://login.ext.soap.yodlee.com">
              <sessionToken>YOUR_COBRAND_CONVERSATION_TOKEN_VALUE</sessionToken>
            </cobrandConversationCredentials>
            <preferenceInfo>
              <currencyCode>USD</currencyCode>
              <timeZone>PST</timeZone>
              <dateFormat>MM/dd/yyyy</dateFormat>
              <currencyNotationType>SYMBOL_NOTATION</currencyNotationType>
              <numberFormat>
                <decimalSeparator>.</decimalSeparator>
                <groupingSeparator>,</groupingSeparator>
                <groupPattern>###,##0.##</groupPattern>
              </numberFormat>
            </preferenceInfo>
            <fetchAllLocaleData>false</fetchAllLocaleData>
            <conversationCredentials xsi:type="ns2:SessionCredentials" xmlns:ns2="http://login.ext.soap.yodlee.com">
              <sessionToken>USER_CONVERSATION_TOKEN_VALUE</sessionToken>
            </conversationCredentials>
            <valid>true</valid>
            <isPasswordExpired>false</isPasswordExpired>
          </userContext>
          <itemId xmlns="">1219123123</itemId>
          <credentialFields xmlns="">
            <elements xsi:type="ns3:SecureFieldInfoSingle" xmlns:ns3="http://common.soap.yodlee.com">
              <name>LOGIN</name>
              <displayName>Username</displayName>
              <isEditable>true</isEditable>
              <isOptional>false</isOptional>
              <isEscaped>false</isEscaped>
              <helpText>2212059</helpText>
              <isOptionalMFA>false</isOptionalMFA>
              <isMFA>false</isMFA>
              <value>ACTUAL_USERNAME</value>
              <valueIdentifier>LOGIN</valueIdentifier>
              <valueMask>LOGIN_FIELD</valueMask>
              <fieldType>TEXT</fieldType>
              <size>20</size>
              <maxlength>40</maxlength>
            </elements>
            <elements xsi:type="ns4:SecureFieldInfoSingle" xmlns:ns4="http://common.soap.yodlee.com">
              <name>PASSWORD1</name>
              <displayName>Password</displayName>
              <isEditable>true</isEditable>
              <isOptional>false</isOptional>
              <isEscaped>false</isEscaped>
              <helpText>22121258</helpText>
              <isOptionalMFA>false</isOptionalMFA>
              <isMFA>false</isMFA>
              <value>ACTUAL_PASSWORD_VALUE</value>
              <valueIdentifier>PASSWORD1</valueIdentifier>
              <valueMask>LOGIN_FIELD</valueMask>
              <fieldType>PASSWORD</fieldType>
              <size>20</size>
              <maxlength>40</maxlength>
            </elements>
            <elements xsi:type="ns5:FieldInfoSingle" xmlns:ns5="http://common.soap.yodlee.com">
              <name></name>
              <displayName>Verify Password</displayName>
              <isEditable>true</isEditable>
              <isOptional>false</isOptional>
              <isEscaped>false</isEscaped>
              <helpText>22121258</helpText>
              <isOptionalMFA>false</isOptionalMFA>
              <isMFA>false</isMFA>
              <value>ACTUAL_PASSWORD_VALUE</value>
              <valueIdentifier>PASSWORD1</valueIdentifier>
              <valueMask>LOGIN_FIELD</valueMask>
              <fieldType>PASSWORD</fieldType>
              <size>20</size>
              <maxlength>40</maxlength>
            </elements>
          </credentialFields>
          <startRefreshItemOnUpdate xmlns="">false</startRefreshItemOnUpdate>
        </updateCredentialsForItem1>
      </soapenv:Body>
    </soapenv:Envelope>
    

    【讨论】:

    • 谢谢,我去看看。
    猜你喜欢
    • 1970-01-01
    • 2012-04-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-01-18
    • 2018-10-27
    相关资源
    最近更新 更多