<?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 Re: CIM Transction Method Response Problem in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-Transction-Method-Response-Problem/m-p/46559#M23542</link>
    <description>&lt;P&gt;What is the raw response?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Arial; font-size: small;"&gt;&lt;STRONG&gt;object reference not set to an instance&lt;/STRONG&gt;&lt;/SPAN&gt; is as generic as anything.&lt;/P&gt;</description>
    <pubDate>Sat, 23 Aug 2014 13:11:41 GMT</pubDate>
    <dc:creator>RaynorC1emen7</dc:creator>
    <dc:date>2014-08-23T13:11:41Z</dc:date>
    <item>
      <title>CIM Transction Method Response Problem</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-Transction-Method-Response-Problem/m-p/46557#M23541</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;We are using CIM Transction method to invoice exist user using&amp;nbsp;&lt;STRONG&gt;windows service&lt;/STRONG&gt;.&lt;/DIV&gt;&lt;DIV&gt;Its failed to make the transaction and its does't return any error code in following code&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #222222; font-family: Arial; font-size: small;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #222222; font-family: Arial; font-size: small;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #222222; font-family: Arial; font-size: small;"&gt;&amp;nbsp;InsertSIMLog("LOG", "Message: " + ErrorResponse.messages.message[0].text, "Code: " + ErrorResponse.messages.message[0].code);&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #222222; font-family: Arial; font-size: small;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #222222; font-family: Arial; font-size: small;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #222222; font-family: Arial; font-size: small;"&gt;Error Message::&amp;nbsp;&lt;STRONG&gt;object reference not set to an instance&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Arial; font-size: small;"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Arial; font-size: small;"&gt;&lt;STRONG&gt;Thanks&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Arial; font-size: small;"&gt;&lt;STRONG&gt;Balaji&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Aug 2014 11:39:50 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-Transction-Method-Response-Problem/m-p/46557#M23541</guid>
      <dc:creator>balajim</dc:creator>
      <dc:date>2014-08-23T11:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: CIM Transction Method Response Problem</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-Transction-Method-Response-Problem/m-p/46559#M23542</link>
      <description>&lt;P&gt;What is the raw response?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Arial; font-size: small;"&gt;&lt;STRONG&gt;object reference not set to an instance&lt;/STRONG&gt;&lt;/SPAN&gt; is as generic as anything.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Aug 2014 13:11:41 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-Transction-Method-Response-Problem/m-p/46559#M23542</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2014-08-23T13:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: CIM Transction Method Response Problem</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-Transction-Method-Response-Problem/m-p/46567#M23546</link>
      <description>&lt;P&gt;Can i&amp;nbsp;use this method in &lt;STRONG&gt;windows service ?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;public static bool CreateTransaction(long profile_id, long payment_profile_id)&lt;BR /&gt;{&lt;BR /&gt;bool out_bool = false;&lt;/P&gt;&lt;P&gt;createCustomerProfileTransactionRequest request = new createCustomerProfileTransactionRequest();&lt;BR /&gt;XmlAPIUtilities.PopulateMerchantAuthentication((ANetApiRequest)request);&lt;/P&gt;&lt;P&gt;profileTransactionType new_trans = new profileTransactionType();&lt;/P&gt;&lt;P&gt;profileTransAuthOnlyType new_item = new profileTransAuthOnlyType();&lt;BR /&gt;new_item.customerProfileId = profile_id.ToString();&lt;BR /&gt;new_item.customerPaymentProfileId = payment_profile_id.ToString();&lt;BR /&gt;new_item.amount = 1.00m;&lt;/P&gt;&lt;P&gt;orderExType order = new orderExType();&lt;BR /&gt;order.invoiceNumber = "inv" + (DateTime.Now.Ticks % int.MaxValue).ToString();&lt;BR /&gt;order.description = "Example item";&lt;BR /&gt;new_item.order = order;&lt;/P&gt;&lt;P&gt;new_trans.Item = new_item;&lt;BR /&gt;request.transaction = new_trans;&lt;/P&gt;&lt;P&gt;System.Xml.XmlDocument response_xml = null;&lt;BR /&gt;bool bResult = XmlAPIUtilities.PostRequest(request, out response_xml);&lt;BR /&gt;object response = null;&lt;BR /&gt;createCustomerProfileTransactionResponse api_response = null;&lt;/P&gt;&lt;P&gt;if (bResult) bResult = XmlAPIUtilities.ProcessXmlResponse(response_xml, out response);&lt;BR /&gt;if (!(response is createCustomerProfileTransactionResponse))&lt;BR /&gt;{&lt;BR /&gt;ANetApiResponse ErrorResponse = (ANetApiResponse)response;&lt;BR /&gt;Console.WriteLine(String.Format("Created Transaction\n code: {0}\n msg: {1}", ErrorResponse.messages.message[0].code, ErrorResponse.messages.message[0].text));&lt;BR /&gt;return out_bool;&lt;BR /&gt;}&lt;BR /&gt;if (bResult) api_response = (createCustomerProfileTransactionResponse)response;&lt;BR /&gt;if (api_response != null)&lt;BR /&gt;{&lt;BR /&gt;out_bool = true;&lt;BR /&gt;Console.WriteLine("Created Transaction " + api_response.directResponse);&lt;BR /&gt;Console.WriteLine(String.Format(" code: {0}\n msg: {1}", api_response.messages.message[0].code, api_response.messages.message[0].text));&lt;BR /&gt;}&lt;BR /&gt;return out_bool;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt;output&lt;/SPAN&gt;: out_bool =false &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ErrorResponse.messages.message[0].text&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;above line &amp;nbsp;am getting &lt;STRONG&gt;object reference not set to an instance&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Aug 2014 04:49:08 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-Transction-Method-Response-Problem/m-p/46567#M23546</guid>
      <dc:creator>balajim</dc:creator>
      <dc:date>2014-08-25T04:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: CIM Transction Method Response Problem</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-Transction-Method-Response-Problem/m-p/46571#M23548</link>
      <description>&lt;P&gt;you can't assume &lt;STRONG&gt;ErrorResponse.messages.message[0]&lt;/STRONG&gt; object exist.&lt;/P&gt;&lt;P&gt;run a debug and see what response is&lt;/P&gt;</description>
      <pubDate>Mon, 25 Aug 2014 11:17:01 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/CIM-Transction-Method-Response-Problem/m-p/46571#M23548</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2014-08-25T11:17:01Z</dc:date>
    </item>
  </channel>
</rss>

