Hi All,

I am trying to make Flex 2 talk to EBay. I can send SOAP message to
EBay, but they use SOAP Headers to pass along account info. Also they
have 2 levels of headers. See the example below. I see how to create
simple SOAP headers (key:value). How do you create a SOAP header that
has several child nodes of it's own?

Thanks,
Kevin Runde


SAMPLE SOAP MESSAGE TO EBAY:
-------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://
www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

    <soapenv:Header>
        <RequesterCredentials soapenv:mustUnderstand="0"
xmlns="urn:ebay:apis:eBLBaseComponents">
            <eBayAuthToken>ABC...123</eBayAuthToken>
            <ns:Credentials xmlns:ns="urn:ebay:apis:eBLBaseComponents">
                <ns:DevId>someDevId</ns:DevId>
                <ns:AppId>someAppId</ns:AppId>
                <ns:AuthCert>someAuthCert</ns:AuthCert>
            </ns:Credentials>
        </RequesterCredentials>
    </soapenv:Header>
    <soapenv:Body>
        <GeteBayOfficialTimeRequest
xmlns="urn:ebay:apis:eBLBaseComponents">
        <ns1:Version
xmlns:ns1="urn:ebay:apis:eBLBaseComponents">405</ns1:Version>
        </GeteBayOfficialTimeRequest>
    </soapenv:Body>
</soapenv:Envelope>





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to