Sending File with SOAP MTOM in PHP
Asked Answered
S

0

6

I need to create a SOAP request using MTOM. I have tried modifying __doRequest, but without any success. Is there any way to implement this in PHP?

Below is the required request format,

 <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:ser="http://service.example.com/">
   <soap:Header/>
   <soap:Body>
      <ser:ImportInvoice>
         <ImportParams>
            <Notes>?</Notes>
            <XMLFile>cid:574901819478</XMLFile>
         </ImportParams>
      </ser:ImportInvoice>
   </soap:Body>
</soap:Envelope>
Saimon answered 5/3, 2016 at 3:33 Comment(1)
Could you provide the specific code that you've modified? The documentation at github.com/debuss/MTOMSoapClient seems pretty straight forward.Hartill

© 2022 - 2024 — McMap. All rights reserved.