notfalsedev / laravel-soap

A soap client wrapper for Laravel
MIT License
633 stars 121 forks source link

Nested SOAP Requests? #113

Closed octoxan closed 7 years ago

octoxan commented 7 years ago

Can this thing handle making requests to a SOAP Server in this format

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <s:Header>
        <ActivityId xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics" CorrelationId="b2e87c5a-cf7d-49c4-b165-895a177ccbae">0b66e8d1-80f1-4546-8b68-7d41bcf7a1e3</ActivityId>
    </s:Header>
    <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
        <EVRN_UnitDescriptiveInfoRQ xmlns="http://www.escapia.com/EVRN/2007/02" EchoToken="Blah" Version="1.0">
             <POS>
                     <Source>
                          <RequestorID ID="Username" MessagePassword="Password"/>
                      </Source>
              </POS>
              <UnitDescriptiveInfos>
                   <UnitDescriptiveInfo CountryCodeList="US" StateCodeList="CO"/>
                </UnitDescriptiveInfos>
         </EVRN_UnitDescriptiveInfoRQ>
     </s:Body>
</s:Envelope>
notfalsedev commented 7 years ago

This package is just a wrapper around the default PHP soap client. So if the PHP soap client can then yes.

octoxan commented 7 years ago

Darn. No idea then, I have yet to figure out how to successfully do that soap request with PHP soap client. =(