Your SAS programs, embedded in web apps and elsewhere

Generate WSDL with input XML but without Streams tag

Reply
Occasional Contributor
Posts: 10

Generate WSDL with input XML but without Streams tag

I am integrating several web services using SAS BI web services and I need a way to generate the webservices without the parameter or streams tags in the WSDL.

Fo example I have a stored process "enable" and need to add a custom XML to the request. With the request below I am able to get the XML in the stored process and process it. 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:iam="http://tempuri.org/IAM_Service_Dev" xmlns:ws="http://ws.ss.pt">

   <soapenv:Header/>

   <soapenv:Body>

      <iam:enable>

         <iam:streams>

            <iam:enable contentType="?">

               <iam:Value>

                  <ws:enable>

                     <!--Optional:-->

                     <objectType>?</objectType>

                     <!--Optional:-->

                     <id>?</id>

                  </ws:enable>

               </iam:Value>

            </iam:enable>

         </iam:streams>

      </iam:enable>

   </soapenv:Body>

</soapenv:Envelope>

Is there another way to create this request without the streams tag and be able to get the XML in the request and process it?

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:iam="http://tempuri.org/IAM_Service_Dev" xmlns:ws="http://ws.ss.pt">

   <soapenv:Header/>

   <soapenv:Body>

                  <ws:enable>

                     <!--Optional:-->

                     <objectType>?</objectType>

                     <!--Optional:-->

                     <id>?</id>

                  </ws:enable>

   </soapenv:Body>

</soapenv:Envelope>



Ask a Question
Discussion stats
  • 0 replies
  • 607 views
  • 0 likes
  • 1 in conversation