<?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: problems with SOAP procedure in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/problems-with-SOAP-procedure/m-p/62139#M17663</link>
    <description>Scott-&lt;BR /&gt;
what's most confusing is that the SOAP procedure appears to work for the weather.gov web service:&lt;BR /&gt;
[pre]&lt;BR /&gt;
FILENAME REQUEST "c:\temp\NDFDgenByDay_request.xml";&lt;BR /&gt;
data _null_;&lt;BR /&gt;
   file request;&lt;BR /&gt;
   input;&lt;BR /&gt;
   put _infile_;&lt;BR /&gt;
   datalines4;&lt;BR /&gt;
&lt;ENVELOPE XSI="http://www.w3.org/2001/XMLSchema-instance"&gt;&lt;BR /&gt;
                  xmlns:xsd="http://www.w3.org/2001/XMLSchema"&lt;BR /&gt;
                  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"&lt;BR /&gt;
                  xmlns:ndf="http://www.weather.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl"&amp;gt;&lt;BR /&gt;
   &lt;HEADER&gt;&lt;/HEADER&gt;&lt;BR /&gt;
   &lt;BODY&gt;&lt;BR /&gt;
      &lt;NDFDGENBYDAY encodingstyle="&amp;lt;br"&gt;
                        "http://schemas.xmlsoap.org/soap/encoding/"&amp;gt;&lt;BR /&gt;
         &lt;LATITUDE type="xsd:decimal"&gt;45&lt;/LATITUDE&gt;&lt;BR /&gt;
         &lt;LONGITUDE type="xsd:decimal"&gt;-93&lt;/LONGITUDE&gt;&lt;BR /&gt;
         &lt;STARTDATE type="xsd:date"&gt;2009-08-06&lt;/STARTDATE&gt;&lt;BR /&gt;
         &lt;NUMDAYS type="xsd:integer"&gt;5&lt;/NUMDAYS&gt;&lt;BR /&gt;
         &lt;FORMAT type="dwml:formatType"&gt;&lt;BR /&gt;
                 xmlns:dwml="http://www.weather.gov/forecasts/xml/DWMLgen/schema/DWML.xsd"&amp;gt;24 hourly&lt;/FORMAT&gt;&lt;BR /&gt;
      &lt;/NDFDGENBYDAY&gt;&lt;BR /&gt;
   &lt;/BODY&gt;&lt;BR /&gt;
  &lt;/ENVELOPE&gt;&lt;BR /&gt;
;;;;&lt;BR /&gt;
&lt;BR /&gt;
FILENAME RESPONSE "C:\temp\NDFDgenByDay_response.xml";&lt;BR /&gt;
proc soap in=request&lt;BR /&gt;
          out=response&lt;BR /&gt;
          url="http://www.weather.gov/forecasts/xml/SOAP_server/ndfdXMLserver.php"&lt;BR /&gt;
          soapaction="http://www.weather.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl#NDFDgenByDay"&lt;BR /&gt;
;&lt;BR /&gt;
run; &lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
looks like tech support is my next stop...&lt;BR /&gt;
&lt;BR /&gt;
thanks</description>
    <pubDate>Thu, 06 Aug 2009 15:52:08 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2009-08-06T15:52:08Z</dc:date>
    <item>
      <title>problems with SOAP procedure</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/problems-with-SOAP-procedure/m-p/62137#M17661</link>
      <description>i'm trying to use the SOAP procedure to pull data into SAS but i'm hitting a wall.&lt;BR /&gt;
&lt;BR /&gt;
here's my code which is based on SAS documentation examples (http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/a003176696.htm &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;
[pre]&lt;BR /&gt;
FILENAME REQUEST  "c:\temp\heartbeatrequest.xml";&lt;BR /&gt;
data _null_;&lt;BR /&gt;
  file request;&lt;BR /&gt;
  input;&lt;BR /&gt;
  put _infile_;&lt;BR /&gt;
  datalines4;&lt;BR /&gt;
&lt;ENVELOPE SOAPENV="http://schemas.xmlsoap.org/soap/envelope/"&gt;&lt;BR /&gt;
                  xmlns:efm="http://desktop.vovici.com/EFMWebTopSvc/"&amp;gt;&lt;BR /&gt;
   &lt;HEADER&gt;&lt;/HEADER&gt;&lt;BR /&gt;
   &lt;BODY&gt;&lt;BR /&gt;
      &lt;WSHEARTBEAT&gt;&lt;/WSHEARTBEAT&gt;&lt;BR /&gt;
   &lt;/BODY&gt;&lt;BR /&gt;
&lt;/ENVELOPE&gt;&lt;BR /&gt;
;;;;&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
next, i call a public SOAP web service (http://desktop.vovici.com/EFMWebTopSvc.asmx?op=WSHeartbeat)&lt;BR /&gt;
[pre]&lt;BR /&gt;
FILENAME RESPONSE "c:\temp\heartbeatresponse.xml";&lt;BR /&gt;
proc soap in=REQUEST&lt;BR /&gt;
          out=RESPONSE&lt;BR /&gt;
          url="http://desktop.vovici.com/EFMWebTopSvc.asmx"&lt;BR /&gt;
          soapaction="http://desktop.vovici.com/EFMWebTopSvc/WSHeartbeat";&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
which is where SAS complains:&lt;BR /&gt;
[pre]&lt;BR /&gt;
NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;
&lt;BR /&gt;
ERROR: java.lang.Exception: First Element must contain the local name, Envelope , but found html&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
that the error is java-related and that the SOAP request works fine in soapUI (http://www.soapui.org ), but not in SAS suggests to me that i've got an install problem, but i really don't know.

fixed docs link    &lt;BR /&gt;
Message was edited by: RichardK</description>
      <pubDate>Thu, 06 Aug 2009 15:27:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/problems-with-SOAP-procedure/m-p/62137#M17661</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-08-06T15:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: problems with SOAP procedure</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/problems-with-SOAP-procedure/m-p/62138#M17662</link>
      <description>Contact SAS technical support for assistance.  SAS PROC SOAP is very new, now available with SAS 9.2, and there are specific install considerations that must be setup correctly.  I also had some challenges and the SAS admin worked them out with the keen guidance and direction from the primo SAS support staff.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Thu, 06 Aug 2009 15:34:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/problems-with-SOAP-procedure/m-p/62138#M17662</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-08-06T15:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: problems with SOAP procedure</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/problems-with-SOAP-procedure/m-p/62139#M17663</link>
      <description>Scott-&lt;BR /&gt;
what's most confusing is that the SOAP procedure appears to work for the weather.gov web service:&lt;BR /&gt;
[pre]&lt;BR /&gt;
FILENAME REQUEST "c:\temp\NDFDgenByDay_request.xml";&lt;BR /&gt;
data _null_;&lt;BR /&gt;
   file request;&lt;BR /&gt;
   input;&lt;BR /&gt;
   put _infile_;&lt;BR /&gt;
   datalines4;&lt;BR /&gt;
&lt;ENVELOPE XSI="http://www.w3.org/2001/XMLSchema-instance"&gt;&lt;BR /&gt;
                  xmlns:xsd="http://www.w3.org/2001/XMLSchema"&lt;BR /&gt;
                  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"&lt;BR /&gt;
                  xmlns:ndf="http://www.weather.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl"&amp;gt;&lt;BR /&gt;
   &lt;HEADER&gt;&lt;/HEADER&gt;&lt;BR /&gt;
   &lt;BODY&gt;&lt;BR /&gt;
      &lt;NDFDGENBYDAY encodingstyle="&amp;lt;br"&gt;
                        "http://schemas.xmlsoap.org/soap/encoding/"&amp;gt;&lt;BR /&gt;
         &lt;LATITUDE type="xsd:decimal"&gt;45&lt;/LATITUDE&gt;&lt;BR /&gt;
         &lt;LONGITUDE type="xsd:decimal"&gt;-93&lt;/LONGITUDE&gt;&lt;BR /&gt;
         &lt;STARTDATE type="xsd:date"&gt;2009-08-06&lt;/STARTDATE&gt;&lt;BR /&gt;
         &lt;NUMDAYS type="xsd:integer"&gt;5&lt;/NUMDAYS&gt;&lt;BR /&gt;
         &lt;FORMAT type="dwml:formatType"&gt;&lt;BR /&gt;
                 xmlns:dwml="http://www.weather.gov/forecasts/xml/DWMLgen/schema/DWML.xsd"&amp;gt;24 hourly&lt;/FORMAT&gt;&lt;BR /&gt;
      &lt;/NDFDGENBYDAY&gt;&lt;BR /&gt;
   &lt;/BODY&gt;&lt;BR /&gt;
  &lt;/ENVELOPE&gt;&lt;BR /&gt;
;;;;&lt;BR /&gt;
&lt;BR /&gt;
FILENAME RESPONSE "C:\temp\NDFDgenByDay_response.xml";&lt;BR /&gt;
proc soap in=request&lt;BR /&gt;
          out=response&lt;BR /&gt;
          url="http://www.weather.gov/forecasts/xml/SOAP_server/ndfdXMLserver.php"&lt;BR /&gt;
          soapaction="http://www.weather.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl#NDFDgenByDay"&lt;BR /&gt;
;&lt;BR /&gt;
run; &lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
looks like tech support is my next stop...&lt;BR /&gt;
&lt;BR /&gt;
thanks</description>
      <pubDate>Thu, 06 Aug 2009 15:52:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/problems-with-SOAP-procedure/m-p/62139#M17663</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-08-06T15:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: problems with SOAP procedure</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/problems-with-SOAP-procedure/m-p/62140#M17664</link>
      <description>as it turns out, i'm behind a proxy, so i needed the proxy options:&lt;BR /&gt;
[pre]&lt;BR /&gt;
proxyhost="proxy-host"&lt;BR /&gt;
proxyusername="my-username"&lt;BR /&gt;
proxypassword="my-password"&lt;BR /&gt;
proxyport=proxy-port&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
everything works fine now!</description>
      <pubDate>Tue, 11 Aug 2009 13:12:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/problems-with-SOAP-procedure/m-p/62140#M17664</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-08-11T13:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: problems with SOAP procedure</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/problems-with-SOAP-procedure/m-p/62141#M17665</link>
      <description>I ran the Heartbeat example and got the same error: "First Element must contain the local name, Envelope , but found html." But I'm not behind a proxy server! Also, the weather example does work. Have you researched this error further?</description>
      <pubDate>Sat, 03 Jul 2010 15:34:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/problems-with-SOAP-procedure/m-p/62141#M17665</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-07-03T15:34:50Z</dc:date>
    </item>
  </channel>
</rss>

