<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Unexpected Element ErrorResponse error from SDK in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Unexpected-Element-ErrorResponse-error-from-SDK/m-p/60280#M34828</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm getting the following exception thrown from the SDK when attempting to refund a customer's card (this code is running in production). The exception is repeatable and seems associated with a specific card. However, the exception itself seems to arise from parsing of the SOAP response. Has anyone else encountered this issue before? Is there a way to trap the raw&amp;nbsp;SOAP XML&amp;nbsp;response and log&amp;nbsp; it?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is running on anet-sdk-java v.1.9.2. on a Solaris machine, java 1.8.0_144,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;A.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;net.authorize.util.XmlUtility - Exception Details-&amp;gt; Code:'null', Message:'unexpected element 

(uri:"AnetApi/xml/v1/schema/AnetApiSchema.xsd", local:"ErrorResponse"). 

Expected elements are &amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBCancelSubscriptionResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBCreateSubscriptionResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBGetSubscriptionListResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBGetSubscriptionResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBGetSubscriptionStatusResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBUpdateSubscriptionResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}authenticateTestResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerPaymentProfileResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerProfileResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerProfileTransactionResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerShippingAddressResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}createTransactionResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}decryptPaymentDataResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}deleteCustomerPaymentProfileResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}deleteCustomerProfileResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}deleteCustomerShippingAddressResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}getAUJobDetailsResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}getAUJobSummaryResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}getBatchStatisticsResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerPaymentProfileListResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerPaymentProfileResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerProfileIdsResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerProfileResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerShippingAddressResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}getHostedPaymentPageResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}getHostedProfilePageResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}getMerchantDetailsResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}getSettledBatchListResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}getTransactionDetailsResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}getTransactionListResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}getUnsettledTransactionListResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}isAliveResponse&amp;gt;,&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}logoutResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}mobileDeviceLoginResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}mobileDeviceRegistrationResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}sendCustomerTransactionReceiptResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateCustomerPaymentProfileResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateCustomerProfileResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateCustomerShippingAddressResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateHeldTransactionResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateSplitTenderGroupResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}validateCustomerPaymentProfileResponse&amp;gt;'&lt;/PRE&gt;</description>
    <pubDate>Wed, 25 Oct 2017 20:45:29 GMT</pubDate>
    <dc:creator>anurag22</dc:creator>
    <dc:date>2017-10-25T20:45:29Z</dc:date>
    <item>
      <title>Unexpected Element ErrorResponse error from SDK</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Unexpected-Element-ErrorResponse-error-from-SDK/m-p/60280#M34828</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm getting the following exception thrown from the SDK when attempting to refund a customer's card (this code is running in production). The exception is repeatable and seems associated with a specific card. However, the exception itself seems to arise from parsing of the SOAP response. Has anyone else encountered this issue before? Is there a way to trap the raw&amp;nbsp;SOAP XML&amp;nbsp;response and log&amp;nbsp; it?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is running on anet-sdk-java v.1.9.2. on a Solaris machine, java 1.8.0_144,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;A.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;net.authorize.util.XmlUtility - Exception Details-&amp;gt; Code:'null', Message:'unexpected element 

(uri:"AnetApi/xml/v1/schema/AnetApiSchema.xsd", local:"ErrorResponse"). 

Expected elements are &amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBCancelSubscriptionResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBCreateSubscriptionResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBGetSubscriptionListResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBGetSubscriptionResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBGetSubscriptionStatusResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}ARBUpdateSubscriptionResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}authenticateTestResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerPaymentProfileResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerProfileResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerProfileTransactionResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}createCustomerShippingAddressResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}createTransactionResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}decryptPaymentDataResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}deleteCustomerPaymentProfileResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}deleteCustomerProfileResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}deleteCustomerShippingAddressResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}getAUJobDetailsResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}getAUJobSummaryResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}getBatchStatisticsResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerPaymentProfileListResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerPaymentProfileResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerProfileIdsResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerProfileResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}getCustomerShippingAddressResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}getHostedPaymentPageResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}getHostedProfilePageResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}getMerchantDetailsResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}getSettledBatchListResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}getTransactionDetailsResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}getTransactionListResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}getUnsettledTransactionListResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}isAliveResponse&amp;gt;,&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}logoutResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}mobileDeviceLoginResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}mobileDeviceRegistrationResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}sendCustomerTransactionReceiptResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateCustomerPaymentProfileResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateCustomerProfileResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateCustomerShippingAddressResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateHeldTransactionResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}updateSplitTenderGroupResponse&amp;gt;,
&amp;lt;{AnetApi/xml/v1/schema/AnetApiSchema.xsd}validateCustomerPaymentProfileResponse&amp;gt;'&lt;/PRE&gt;</description>
      <pubDate>Wed, 25 Oct 2017 20:45:29 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Unexpected-Element-ErrorResponse-error-from-SDK/m-p/60280#M34828</guid>
      <dc:creator>anurag22</dc:creator>
      <dc:date>2017-10-25T20:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected Element ErrorResponse error from SDK</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Unexpected-Element-ErrorResponse-error-from-SDK/m-p/60518#M35043</link>
      <description>&lt;P&gt;Working on this over at the &lt;A href="https://github.com/AuthorizeNet/sdk-java/issues/124" target="_blank"&gt;issue reported at GitHub&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 04:36:21 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Unexpected-Element-ErrorResponse-error-from-SDK/m-p/60518#M35043</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-11-15T04:36:21Z</dc:date>
    </item>
  </channel>
</rss>

