Need Assistance Producing Soap Header Using PHP

Can anyone show me how to produce and correctly format this soap/xml request using php?

        <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:con="SPP.net/ContractData">
        <soapenv:Header>
        <con:AuthHeader>
        <con:Username>SomeUserName</con:Username>
        <con:Password>SomePassword</con:Password>
        <con:contractID>123456</con:contractID>
        <con:dealerCode>abcde</con:dealerCode>
        </con:AuthHeader>
        </soapenv:Header>
        <soapenv:Body>
        <con:Logon/>
        </soapenv:Body>
        </soapenv:Envelope>

The WSDL is: https://gmwstest.sppinc.net/VPP/ContractExchange.asmx?wsdl

Sponsor our Newsletter | Privacy Policy | Terms of Service