<?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: Help with Proc SOAP? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Help-with-Proc-SOAP/m-p/642051#M78367</link>
    <description>&lt;P&gt;Right - or you could continue to use DATALINES for most of it, but replace the value you want as you read it in.&amp;nbsp; I've done this by putting in a placeholder:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
   file request;
   input;
   line = tranwrd(_infile_,"REPLACE_THIS", &amp;amp;ayvalue.);
   put line;
   datalines4;
&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;soap:Envelope xmlns:xsi="https://my_server.my_domain.edu/XMLSchema-instance" xmlns:xsd="http://my_server.my_domain.edu/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"&amp;gt;
	&amp;lt;soap:Body&amp;gt;
		&amp;lt;getReshallData xmlns="https://my_server.my_domain.edu/Odyssey/"&amp;gt;
			&amp;lt;term xsi:type="xsd:string"&amp;gt;REPLACE_THIS&amp;lt;/term&amp;gt;
		&amp;lt;/getReshallData&amp;gt;
	&amp;lt;/soap:Body&amp;gt;
&amp;lt;/soap:Envelope&amp;gt;
;;;;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Apr 2020 18:26:52 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2020-04-22T18:26:52Z</dc:date>
    <item>
      <title>Help with Proc SOAP?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Help-with-Proc-SOAP/m-p/641686#M78336</link>
      <description>&lt;P&gt;Hello All,&lt;BR /&gt;I am not new to SAS, but 100% new to 'proc Soap', in fact, I have 0% experience with any post / API SAS procedures. I almost entirely work with ODBC SAS work.&lt;BR /&gt;Can anyone help me debug this code? ...or point me at open WS with a working SAS example?&lt;/P&gt;
&lt;PRE&gt;/*filename request temp;*/
filename request "c:\temp\request.xml";
/*filename response temp;*/
filename response "c:\temp\responce.xml";

data _null_;
   file request;
   input;
   put _infile_;
   datalines4;
&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;soap:Envelope xmlns:xsi="https://MY_Server.My_Domain.edu/XMLSchema-instance" xmlns:xsd="http://MY_Server.My_Domain.edu/XMLSchema" xmlns:soap="http://MY_Server.My_Domain.edu/soap/envelope/"&amp;gt;
  &amp;lt;soap:Body&amp;gt;
    &amp;lt;getReshallData xmlns="https://MY_Server.My_Domain.edu/Odyssey/"&amp;gt;
      &amp;lt;term&amp;gt;AY2021&amp;lt;/term&amp;gt;
    &amp;lt;/getReshallData&amp;gt;
  &amp;lt;/soap:Body&amp;gt;
&amp;lt;/soap:Envelope&amp;gt;
;;;;
run;
proc soap
   in=request
   out=response
   url="https://MY_Server.My_Domain.edu/ohms/ws/IRHousingService.asmx"
   soapaction="getReshallData";
run;&lt;/PRE&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I get this error:&lt;BR /&gt;ERROR: java.lang.Exception: Server did not recognize the value of HTTP Header SOAPAction:&lt;BR /&gt;getReshallData.&lt;BR /&gt;&lt;BR /&gt;There is virtually nothing on this error online when I search for the must have 'SAS', 'Proc Soap', 'Error', let alone the rest of this error.&amp;nbsp; Google did not have a full-page in fact.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;If helpful when I run this I do get the request and response files (I renamed them to .txt to upload), and I have replaced my server.domain name.&lt;BR /&gt;I would be very happy to even go read a good blog on the topic if anyone has one, but for example, I cannot get the default examples here to work: &lt;A href="https://documentation.sas.com/?docsetId=proc&amp;amp;docsetVersion=9.4&amp;amp;docsetTarget=p0q0stkf83myu6n13kxcljc12w7c.htm&amp;amp;locale=en"&gt;https://documentation.sas.com/?docsetId=proc&amp;amp;docsetVersion=9.4&amp;amp;docsetTarget=p0q0stkf83myu6n13kxcljc12w7c.htm&amp;amp;locale=en&lt;/A&gt;&lt;BR /&gt;it comes back with ERROR: org.springframework.ws.client.WebServiceIOException: I/O error: proxygw.unx.sas.com; nested&lt;BR /&gt;exception is java.net.UnknownHostException: proxygw.unx.sas.com&lt;/P&gt;
&lt;P&gt;TIA&amp;nbsp; -KJ&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 17:22:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Help-with-Proc-SOAP/m-p/641686#M78336</guid>
      <dc:creator>kjohnsonm</dc:creator>
      <dc:date>2020-04-21T17:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Proc SOAP?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Help-with-Proc-SOAP/m-p/641688#M78337</link>
      <description>&lt;P&gt;Sorry it looks like the request failed to attached...&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 17:27:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Help-with-Proc-SOAP/m-p/641688#M78337</guid>
      <dc:creator>kjohnsonm</dc:creator>
      <dc:date>2020-04-21T17:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Proc SOAP?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Help-with-Proc-SOAP/m-p/641713#M78338</link>
      <description>&lt;P&gt;Check out the attached SGF2010 paper for some insightful details&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Ahmed&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 18:51:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Help-with-Proc-SOAP/m-p/641713#M78338</guid>
      <dc:creator>AhmedAl_Attar</dc:creator>
      <dc:date>2020-04-21T18:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Proc SOAP?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Help-with-Proc-SOAP/m-p/641719#M78339</link>
      <description>&lt;P&gt;So I think I had a soapaction line mistake. After updating it I get an indexing error.&lt;BR /&gt;Here is my current code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename request "c:\temp\request.xml";
filename response "c:\temp\responce.xml";
data _null_;
   file request;
   input;
   put _infile_;
   datalines4;
&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;soap:Envelope xmlns:xsi="https://MY_Server.My_Domain.edu/XMLSchema-instance" xmlns:xsd="http://MY_Server.My_Domain.edu/XMLSchema" xmlns:soap="http://MY_Server.My_Domain.edu/soap/envelope/"&amp;gt;
  &amp;lt;soap:Body&amp;gt;
    &amp;lt;getReshallData xmlns="https://MY_Server.My_Domain.edu/Odyssey/"&amp;gt;
      &amp;lt;term&amp;gt;AY2019&amp;lt;/term&amp;gt;
    &amp;lt;/getReshallData&amp;gt;
  &amp;lt;/soap:Body&amp;gt;
&amp;lt;/soap:Envelope&amp;gt;
;;;;
run;
proc soap
   in=request
   out=response
   url="https://MY_Server.My_Domain.edu/ohms/ws/IRHousingService.asmx"
   soapaction="https://MY_Server.My_Domain.edu/Odyssey/getReshallData";
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Does anyone have a solution for this error?&lt;BR /&gt;ERROR: java.lang.Exception: Server was unable to process request. ---&amp;gt; Index was outside the bounds of&lt;BR /&gt;the array.&lt;BR /&gt;&lt;BR /&gt;I am not sure but a similar SAS error for reading an excel pivot table(s)* is pointing at too many columns (it's very old).&amp;nbsp; Does anyone know the max number of columns supported by proc soap?&amp;nbsp; ...I am in work stripping down my WS to test this theory.&amp;nbsp; Unfortunately, my data extract is a data dump for the most part of this other resource db.&amp;nbsp; TIA for any help.&amp;nbsp; -KJ&lt;BR /&gt;&lt;BR /&gt;* &lt;A href="https://support.sas.com/kb/46/428.html" target="_blank"&gt;https://support.sas.com/kb/46/428.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 19:12:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Help-with-Proc-SOAP/m-p/641719#M78339</guid>
      <dc:creator>kjohnsonm</dc:creator>
      <dc:date>2020-04-21T19:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Proc SOAP?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Help-with-Proc-SOAP/m-p/641721#M78340</link>
      <description>&lt;P&gt;Maybe not a help for the service you're using, but the example in the SAS doc is specifically about using a Proxy host.&amp;nbsp; As that's not your situation, you can get the example to work by removing the PROX* options:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename REQUEST temp;
filename RESPONSE temp;
data _null_;
   file request;
   input;
   put _infile_;
   datalines4;

&amp;lt;soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns:xsd="http://www.w3.org/2001/XMLSchema"
         xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
         xmlns:soap="http://www.SoapClient.com/xml/SoapResponder.xsd"&amp;gt;
&amp;lt;soapenv:Header/&amp;gt;
&amp;lt;soapenv:Body&amp;gt;
   &amp;lt;soap:Method1 
         soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"&amp;gt;
         &amp;lt;bstrParam1 xsi:type="xsd:string"&amp;gt;apple&amp;lt;/bstrParam1&amp;gt;
         &amp;lt;bstrParam2 xsi:type="xsd:string"&amp;gt;zebra3&amp;lt;/bstrParam2&amp;gt;
   &amp;lt;/soap:Method1&amp;gt;
&amp;lt;/soapenv:Body&amp;gt;
&amp;lt;/soapenv:Envelope&amp;gt;
;;;;

run;

proc soap in= request
          out= response
          url="http://soapclient.com/xml/soapresponder.wsdl"
          soapaction="http://www.SoapClient.com/SoapObject"
;
run;  

data _null_;
 infile response;
 input;
 put _infile_;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Running this with success will tell you that PROC SOAP is working in general.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 19:19:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Help-with-Proc-SOAP/m-p/641721#M78340</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2020-04-21T19:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Proc SOAP?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Help-with-Proc-SOAP/m-p/641923#M78355</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;This is similar to the example&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger&lt;/a&gt;&amp;nbsp;sent earlier&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;FILENAME request temp ;
FILENAME response temp ;
 
data _null_;
   file request;
   input;
   put _infile_;
   datalines4;
&amp;lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/"&amp;gt;
   &amp;lt;soapenv:Header/&amp;gt;
   &amp;lt;soapenv:Body&amp;gt;
      &amp;lt;tem:Add&amp;gt;
         &amp;lt;tem:intA&amp;gt;7&amp;lt;/tem:intA&amp;gt;
         &amp;lt;tem:intB&amp;gt;4&amp;lt;/tem:intB&amp;gt;
      &amp;lt;/tem:Add&amp;gt;
   &amp;lt;/soapenv:Body&amp;gt;
&amp;lt;/soapenv:Envelope&amp;gt;
;;;;
 
proc soap 
   in=request
   out=response
   url="http://www.dneonline.com/calculator.asmx"
   soapaction="http://tempuri.org/Add";
run;
 
data _null_;
infile response;
input;
put _infile_;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The above example uses on-line (limited) calculator Service&amp;nbsp;&amp;nbsp;&lt;A href="http://www.dneonline.com/calculator.asmx" target="_blank"&gt;http://www.dneonline.com/calculator.asmx&lt;/A&gt;, with four operations/soapactions. You can check its&amp;nbsp;&lt;A title="Service Definition" href="http://www.dneonline.com/calculator.asmx?WSDL" target="_self"&gt;Web Service Definition language&lt;/A&gt; file for details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check this video "&lt;A title="SoapUI Beginner Tutorial 3 - First SoapUI Project | SOAP | How to create Project in SoapUI" href="https://youtu.be/h54HqkSp4jg" target="_self"&gt;S&lt;/A&gt;&lt;SPAN&gt;&lt;A title="SoapUI Beginner Tutorial 3 - First SoapUI Project | SOAP | How to create Project in SoapUI" href="https://youtu.be/h54HqkSp4jg" target="_self"&gt;oapUI Beginner Tutorial 3 - First SoapUI Project | SOAP | How to create Project in SoapUI&lt;/A&gt;" for step by step on how to use SoapUI with Soap Web Service&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Good luck,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Ahmed&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 13:22:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Help-with-Proc-SOAP/m-p/641923#M78355</guid>
      <dc:creator>AhmedAl_Attar</dc:creator>
      <dc:date>2020-04-22T13:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Proc SOAP?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Help-with-Proc-SOAP/m-p/642036#M78364</link>
      <description>&lt;P&gt;Okay so I have my post returning data, thank you both (Chris, &amp;amp;&amp;nbsp;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #333333; font-family: Arial,Helvetica,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;Ahmed&lt;/SPAN&gt;) responders for tips and docs. &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; &lt;BR /&gt;I only have a simple (I hope) follow on, if I wanted to macro my term string, how would you suggest doing this?&amp;nbsp; I have not seen that happen in a dataline before. I would not think it would be possible but hope it can be done.&lt;BR /&gt;have &lt;CODE class=" language-sas" style="background-attachment: scroll; background-clip: border-box; background-color: #f5f2f0; background-image: none; background-origin: padding-box; background-position-x: 0%; background-position-y: 0%; background-repeat: repeat; background-size: auto; border-bottom-left-radius: 0.3em; border-bottom-right-radius: 0.3em; border-top-left-radius: 0.3em; border-top-right-radius: 0.3em; box-sizing: border-box; color: black; direction: ltr; font-family: Consolas,Monaco,&amp;amp;quot; andale mono&amp;amp;quot;,&amp;amp;quot;ubuntu mono&amp;amp;quot;,monospace; font-size: 90%; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 1.5; -ms-hyphens: none; orphans: 2; overflow-wrap: normal; text-align: left; text-decoration: none; text-indent: 0px; text-shadow: 0px 1px white; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-break: normal; word-spacing: normal; padding: 0.1em;"&gt;&lt;BR /&gt;&amp;lt;term xsi:type="xsd:string"&amp;gt;AY2020&amp;lt;/term&amp;gt;&lt;/CODE&gt;&lt;CODE class=" language-sas" style="background-attachment: scroll; background-clip: border-box; background-color: #f5f2f0; background-image: none; background-origin: padding-box; background-position-x: 0%; background-position-y: 0%; background-repeat: repeat; background-size: auto; border-bottom-left-radius: 0.3em; border-bottom-right-radius: 0.3em; border-top-left-radius: 0.3em; border-top-right-radius: 0.3em; box-sizing: border-box; color: black; direction: ltr; font-family: Consolas,Monaco,&amp;amp;quot; andale mono&amp;amp;quot;,&amp;amp;quot;ubuntu mono&amp;amp;quot;,monospace; font-size: 90%; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 1.5; -ms-hyphens: none; orphans: 2; overflow-wrap: normal; text-align: left; text-decoration: none; text-indent: 0px; text-shadow: 0px 1px white; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-break: normal; word-spacing: normal; padding: 0.1em;"&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;want&amp;nbsp;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;%let my_term=AY2019;&lt;/P&gt;
&lt;P&gt;/* ..., AY2020, …,&amp;nbsp; AY2029, etc, …&lt;CODE class=" language-sas" style="background-attachment: scroll; background-clip: border-box; background-color: #f5f2f0; background-image: none; background-origin: padding-box; background-position-x: 0%; background-position-y: 0%; background-repeat: repeat; background-size: auto; border-bottom-left-radius: 0.3em; border-bottom-right-radius: 0.3em; border-top-left-radius: 0.3em; border-top-right-radius: 0.3em; box-sizing: border-box; color: black; direction: ltr; font-family: Consolas,Monaco,&amp;amp;quot; andale mono&amp;amp;quot;,&amp;amp;quot;ubuntu mono&amp;amp;quot;,monospace; font-size: 90%; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 1.5; -ms-hyphens: none; orphans: 2; overflow-wrap: normal; text-align: left; text-decoration: none; text-indent: 0px; text-shadow: 0px 1px white; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-break: normal; word-spacing: normal; padding: 0.1em;"&gt;&amp;nbsp;*/&lt;BR /&gt;&amp;lt;term xsi:type="xsd:string"&amp;gt;&amp;amp;my_term.&amp;lt;/term&amp;gt;&lt;BR /&gt;I&amp;nbsp;tried&amp;nbsp;making&amp;nbsp;a&amp;nbsp;three&amp;nbsp;part&amp;nbsp;data&amp;nbsp;set&amp;nbsp;and&amp;nbsp;stacking&amp;nbsp;that&amp;nbsp;failed.&amp;nbsp;8(&lt;/CODE&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/*current working code*/&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename request "c:\temp\request.xml";
filename response "c:\temp\responce.xml";

/*testing: xmlns:soap="http://my_server.my_domain.edu/soap/envelope/" */

/*working: xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" */

data _null_;
   file request;
   input;
   put _infile_;
   datalines4;
&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;soap:Envelope xmlns:xsi="https://my_server.my_domain.edu/XMLSchema-instance" xmlns:xsd="http://my_server.my_domain.edu/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"&amp;gt;
	&amp;lt;soap:Body&amp;gt;
		&amp;lt;getReshallData xmlns="https://my_server.my_domain.edu/Odyssey/"&amp;gt;
			&amp;lt;term xsi:type="xsd:string"&amp;gt;AY2020&amp;lt;/term&amp;gt;
		&amp;lt;/getReshallData&amp;gt;
	&amp;lt;/soap:Body&amp;gt;
&amp;lt;/soap:Envelope&amp;gt;
;;;;
run;
proc soap
   in=request
   out=response
   url="https://my_server.my_domain.edu/ohms/ws/IRHousingService.asmx"
   soapaction="https://my_server.my_domain.edu/Odyssey/getReshallData";
run;
data _null_;
 infile response;
 input;
 put _infile_;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 18:00:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Help-with-Proc-SOAP/m-p/642036#M78364</guid>
      <dc:creator>kjohnsonm</dc:creator>
      <dc:date>2020-04-22T18:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Proc SOAP?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Help-with-Proc-SOAP/m-p/642050#M78366</link>
      <description>You can use data _null_ with Put statements to compose your request, and this way, you can place your macro variable in the desired place.&lt;BR /&gt;&lt;BR /&gt;filename request temp; &lt;BR /&gt;data _null_;&lt;BR /&gt;   File request lrecl=1000;&lt;BR /&gt;   put '&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;';&lt;BR /&gt;   ...&lt;BR /&gt;   ....&lt;BR /&gt;run;</description>
      <pubDate>Wed, 22 Apr 2020 18:21:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Help-with-Proc-SOAP/m-p/642050#M78366</guid>
      <dc:creator>AhmedAl_Attar</dc:creator>
      <dc:date>2020-04-22T18:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Proc SOAP?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Help-with-Proc-SOAP/m-p/642051#M78367</link>
      <description>&lt;P&gt;Right - or you could continue to use DATALINES for most of it, but replace the value you want as you read it in.&amp;nbsp; I've done this by putting in a placeholder:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
   file request;
   input;
   line = tranwrd(_infile_,"REPLACE_THIS", &amp;amp;ayvalue.);
   put line;
   datalines4;
&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;soap:Envelope xmlns:xsi="https://my_server.my_domain.edu/XMLSchema-instance" xmlns:xsd="http://my_server.my_domain.edu/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"&amp;gt;
	&amp;lt;soap:Body&amp;gt;
		&amp;lt;getReshallData xmlns="https://my_server.my_domain.edu/Odyssey/"&amp;gt;
			&amp;lt;term xsi:type="xsd:string"&amp;gt;REPLACE_THIS&amp;lt;/term&amp;gt;
		&amp;lt;/getReshallData&amp;gt;
	&amp;lt;/soap:Body&amp;gt;
&amp;lt;/soap:Envelope&amp;gt;
;;;;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 18:26:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Help-with-Proc-SOAP/m-p/642051#M78367</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2020-04-22T18:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Proc SOAP?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Help-with-Proc-SOAP/m-p/642064#M78372</link>
      <description>&lt;P&gt;To get macro triggers evaluated in text check out PROC STREAM.&lt;/P&gt;
&lt;P&gt;Or for your simple example you could try using the resolve() function.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;input;
_infile_=resolve('%put ' ||_infile_||';');
put _infile_;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 Apr 2020 19:02:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Help-with-Proc-SOAP/m-p/642064#M78372</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-04-22T19:02:25Z</dc:date>
    </item>
  </channel>
</rss>

