[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ftpapi] Help sending a stream file in SOAP



I can build a soap request, insert a variable for the data to send, but is there an easy way to insert the contents of a stream file at the VINS location?

 

SOAP =                                                     

'<soap:Envelope +                                          

     xmlns:soap="http://www.w3.org/2003/05/soap-envelope" +

     xmlns:dmv="http://xxx.yyy.org/">+             

    <soap:Header/>+                                        

    <soap:Body>+                                           

       <dmv:UploadUpdateFile>+                             

          <dmv:fileTUpload>' + %trim(VINS) +               

         '</dmv:fileTUpload>+                              

       </dmv:UploadUpdateFile>+                            

       </soap:Body> +                                      

    </soap:Envelope>';                                     

 

response = http_string( 'POST': URL: SOAP: '+              

   application/soap+xml;charset=UTF-8;+                    

   action=""

 

Thank you,

Keith

 

-- 
_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi