1 Reply Latest reply on Mar 3, 2010 9:45 PM by Radhakrishna Bhat

    Multiple namespaces in SOAP Header?

    thatwaltguy01

      I'm working with a web service that has two namespaces in the SOAP Header. I've worked with the service from a couple of other languages and have a good understanding of how to work with it.

       

      Example:

      <?xml version="1.0" encoding="UTF-8"?>
      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
                  xmlns:ser="http://services.some.com/service"
                  xmlns:mod="http://model.some.com">
         <soapenv:Header>
            <ser:account>
               <mod:accountId>account123</mod:accountId>
               <mod:auth>account123</mod:auth>
            </ser:account>
         </soapenv:Header>

      ...snip...

       

      The auto-generated code that's generated from the WSDL doesn't seem to handle this in either Flex 3 or Flash Builder 4. Is this possible through action script or some other method?

       

      Thank you,

      Walt