views:

18

answers:

0

I'm trying to send a PHP SOAP request that requires the following format:

<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" 
                   xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                   xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"&gt;
    <SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
                xmlns:NS2="urn:ISmartPoints1">
        <NS1:UpdateCustomer xmlns:NS1="urn:SmartPointsIntf-ISmartPoints">
            <svID xsi:type="xsd:string">...</svID>
            <CTCustNo xsi:type="xsd:string">...</CTCustNo>
            <aWebCustomerResult href="#1"/>
        </NS1:UpdateCustomer>
        <NS2:TWebCustomerResult id="1" xsi:type="NS2:TWebCustomerResult">
            ...
        </NS2:TWebCustomerResult>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

I've been unable to generate the "NS2" namespace, and I'm curious if it's even possible. The PHP manual doesn't make any reference to it (at least not that I've found), and the only solution I've found uses nuSOAP.

I'd really appreciate any insight, as I've been beating my head against this for a couple weeks now without much luck.

Thanks!