<?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 SOAP Response ERROR ** in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SOAP-Response-ERROR/m-p/15440#M8793</link>
    <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wrote a simple test script using Classic ASP to get the status of a subscription. It is working however I am getting an error from ( objHTTP.selectSingleNode("/*/api:status").Text﻿ ). Can someone please tell me the proper way to make this call. However I know the script is working becuase this ( objHTTP.responseText﻿ )&amp;nbsp;is returning all the subscription details fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SCRIPT&amp;nbsp;&lt;/P&gt;&lt;P&gt;************************************************&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;strXML = strXML &amp;amp; "&amp;lt;?xml version=""1.0"" encoding=""utf-8""?&amp;gt;"&lt;/P&gt;&lt;P&gt;strXML = strXML &amp;amp; "&amp;lt;soap:Envelope xmlns:xsi=""&lt;A href="http://www.w3.org/2001/XMLSchema-instance" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;"" xmlns:xsd=""&lt;A href="http://www.w3.org/2001/XMLSchema" target="_blank"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;"" xmlns:soap=""&lt;A href="http://schemas.xmlsoap.org/soap/envelope/" target="_blank"&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/A&gt;""&amp;gt;"&lt;/P&gt;&lt;P&gt;strXML = strXML &amp;amp; "&amp;lt;soap:Body&amp;gt;"&lt;/P&gt;&lt;P&gt;strXML = strXML &amp;amp; "&amp;lt;ARBGetSubscriptionStatus xmlns=""&lt;A href="https://api.authorize.net/soap/v1/" target="_blank"&gt;https://api.authorize.net/soap/v1/&lt;/A&gt;""&amp;gt;"&lt;/P&gt;&lt;P&gt;strXML = strXML &amp;amp; "&amp;lt;merchantAuthentication&amp;gt;"&lt;/P&gt;&lt;P&gt;strXML = strXML &amp;amp; "&amp;lt;name&amp;gt;XXXXXXXX&amp;lt;/name&amp;gt;"&lt;/P&gt;&lt;P&gt;strXML = strXML &amp;amp; "&amp;lt;transactionKey&amp;gt;XXXXXXXXXX&amp;lt;/transactionKey&amp;gt;"strXML = strXML &amp;amp; "&amp;lt;/merchantAuthentication&amp;gt;"&lt;/P&gt;&lt;P&gt;strXML = strXML &amp;amp; "&amp;lt;subscriptionId&amp;gt;XXXXXXXXXX&amp;lt;/subscriptionId&amp;gt;"strXML = strXML &amp;amp; "&amp;lt;/ARBGetSubscriptionStatus&amp;gt;"&lt;/P&gt;&lt;P&gt;strXML = strXML &amp;amp; "&amp;lt;/soap:Body&amp;gt;"strXML = strXML &amp;amp; "&amp;lt;/soap:Envelope&amp;gt;"&lt;BR /&gt;&lt;BR /&gt;post_url = "&lt;A href="https://api.authorize.net/soap/v1/Service.asmx" target="_blank"&gt;https://api.authorize.net/soap/v1/Service.asmx&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;objHTTP = Server.CreateObject("Microsoft.XMLHTTP")&lt;/P&gt;&lt;P&gt;objHTTP.open "post", post_url, False&lt;/P&gt;&lt;P&gt;objHTTP.setRequestHeader "Content-Type", "text/xml"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Set objResponse = Server.CreateObject("MSXML2.DOMDocument.4.0")&lt;/P&gt;&lt;P&gt;objResponse.loadXML objHTTP.responseText&lt;/P&gt;&lt;P&gt;objResponse.setProperty "SelectionNamespaces", "xmlns:api='AnetApi/xml/v1/schema/AnetApiSchema.xsd'"&lt;BR /&gt;&lt;BR /&gt;Response.write objHTTP.responseText &lt;STRONG&gt;***** THIS WORKS!! *****&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;***** THIS DOESN'T WORK!!! *********************&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Response.Write "Subscription Status: " &amp;amp; objHTTP.selectSingleNode("/*/api:status").Text&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR RETURNED BY ASP:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="Arial"&gt;/test.asp&lt;/FONT&gt;&lt;FONT size="2" face="Arial"&gt;, line 49&lt;/FONT&gt;﻿&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="Arial"&gt;Microsoft VBScript runtime&amp;nbsp;&lt;/FONT&gt;&lt;FONT size="2" face="Arial"&gt;error '800a01b6'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="Arial"&gt;Object doesn't support this property or method: 'selectSingleNode'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="Arial"&gt;Thanks,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="Arial"&gt;Frank G.&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Jul 2011 20:09:40 GMT</pubDate>
    <dc:creator>Knuckles2002</dc:creator>
    <dc:date>2011-07-29T20:09:40Z</dc:date>
    <item>
      <title>SOAP Response ERROR **</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SOAP-Response-ERROR/m-p/15440#M8793</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wrote a simple test script using Classic ASP to get the status of a subscription. It is working however I am getting an error from ( objHTTP.selectSingleNode("/*/api:status").Text﻿ ). Can someone please tell me the proper way to make this call. However I know the script is working becuase this ( objHTTP.responseText﻿ )&amp;nbsp;is returning all the subscription details fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SCRIPT&amp;nbsp;&lt;/P&gt;&lt;P&gt;************************************************&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;strXML = strXML &amp;amp; "&amp;lt;?xml version=""1.0"" encoding=""utf-8""?&amp;gt;"&lt;/P&gt;&lt;P&gt;strXML = strXML &amp;amp; "&amp;lt;soap:Envelope xmlns:xsi=""&lt;A href="http://www.w3.org/2001/XMLSchema-instance" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;"" xmlns:xsd=""&lt;A href="http://www.w3.org/2001/XMLSchema" target="_blank"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;"" xmlns:soap=""&lt;A href="http://schemas.xmlsoap.org/soap/envelope/" target="_blank"&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/A&gt;""&amp;gt;"&lt;/P&gt;&lt;P&gt;strXML = strXML &amp;amp; "&amp;lt;soap:Body&amp;gt;"&lt;/P&gt;&lt;P&gt;strXML = strXML &amp;amp; "&amp;lt;ARBGetSubscriptionStatus xmlns=""&lt;A href="https://api.authorize.net/soap/v1/" target="_blank"&gt;https://api.authorize.net/soap/v1/&lt;/A&gt;""&amp;gt;"&lt;/P&gt;&lt;P&gt;strXML = strXML &amp;amp; "&amp;lt;merchantAuthentication&amp;gt;"&lt;/P&gt;&lt;P&gt;strXML = strXML &amp;amp; "&amp;lt;name&amp;gt;XXXXXXXX&amp;lt;/name&amp;gt;"&lt;/P&gt;&lt;P&gt;strXML = strXML &amp;amp; "&amp;lt;transactionKey&amp;gt;XXXXXXXXXX&amp;lt;/transactionKey&amp;gt;"strXML = strXML &amp;amp; "&amp;lt;/merchantAuthentication&amp;gt;"&lt;/P&gt;&lt;P&gt;strXML = strXML &amp;amp; "&amp;lt;subscriptionId&amp;gt;XXXXXXXXXX&amp;lt;/subscriptionId&amp;gt;"strXML = strXML &amp;amp; "&amp;lt;/ARBGetSubscriptionStatus&amp;gt;"&lt;/P&gt;&lt;P&gt;strXML = strXML &amp;amp; "&amp;lt;/soap:Body&amp;gt;"strXML = strXML &amp;amp; "&amp;lt;/soap:Envelope&amp;gt;"&lt;BR /&gt;&lt;BR /&gt;post_url = "&lt;A href="https://api.authorize.net/soap/v1/Service.asmx" target="_blank"&gt;https://api.authorize.net/soap/v1/Service.asmx&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;objHTTP = Server.CreateObject("Microsoft.XMLHTTP")&lt;/P&gt;&lt;P&gt;objHTTP.open "post", post_url, False&lt;/P&gt;&lt;P&gt;objHTTP.setRequestHeader "Content-Type", "text/xml"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Set objResponse = Server.CreateObject("MSXML2.DOMDocument.4.0")&lt;/P&gt;&lt;P&gt;objResponse.loadXML objHTTP.responseText&lt;/P&gt;&lt;P&gt;objResponse.setProperty "SelectionNamespaces", "xmlns:api='AnetApi/xml/v1/schema/AnetApiSchema.xsd'"&lt;BR /&gt;&lt;BR /&gt;Response.write objHTTP.responseText &lt;STRONG&gt;***** THIS WORKS!! *****&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;***** THIS DOESN'T WORK!!! *********************&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Response.Write "Subscription Status: " &amp;amp; objHTTP.selectSingleNode("/*/api:status").Text&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR RETURNED BY ASP:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="Arial"&gt;/test.asp&lt;/FONT&gt;&lt;FONT size="2" face="Arial"&gt;, line 49&lt;/FONT&gt;﻿&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="Arial"&gt;Microsoft VBScript runtime&amp;nbsp;&lt;/FONT&gt;&lt;FONT size="2" face="Arial"&gt;error '800a01b6'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="Arial"&gt;Object doesn't support this property or method: 'selectSingleNode'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="Arial"&gt;Thanks,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="Arial"&gt;Frank G.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2011 20:09:40 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SOAP-Response-ERROR/m-p/15440#M8793</guid>
      <dc:creator>Knuckles2002</dc:creator>
      <dc:date>2011-07-29T20:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP Response ERROR **</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SOAP-Response-ERROR/m-p/15444#M8795</link>
      <description>&lt;P&gt;NOTE: I have also tried this to and it also errors:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Response.Write "Subscription Status: " &amp;amp; objResponse﻿.selectSingleNode("/*/api:status").Text﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!!&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2011 20:11:01 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SOAP-Response-ERROR/m-p/15444#M8795</guid>
      <dc:creator>Knuckles2002</dc:creator>
      <dc:date>2011-07-29T20:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP Response ERROR **</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SOAP-Response-ERROR/m-p/15460#M8803</link>
      <description>&lt;P&gt;Can anyone please help me out with this? PRETTY PLEASE :-)&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jul 2011 02:52:53 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SOAP-Response-ERROR/m-p/15460#M8803</guid>
      <dc:creator>Knuckles2002</dc:creator>
      <dc:date>2011-07-30T02:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP Response ERROR **</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SOAP-Response-ERROR/m-p/15468#M8807</link>
      <description>&lt;P&gt;It probably a problem with Microsoft.XMLHTTP﻿.&lt;/P&gt;&lt;P&gt;Seem like other are having better luck with MSXML2.ServerXMLHTTP﻿&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.developer.authorize.net/t5/forums/searchpage/tab/message?q=Microsoft.XMLHTTP#message-list" target="_blank"&gt;http://community.developer.authorize.net/t5/forums/searchpage/tab/message?q=Microsoft.XMLHTTP#message-list&lt;/A&gt;﻿&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jul 2011 15:41:10 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SOAP-Response-ERROR/m-p/15468#M8807</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2011-07-30T15:41:10Z</dc:date>
    </item>
  </channel>
</rss>

