axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "McCullough, Ryan" <rmccullo...@rightnow.com>
Subject Accessing header in response
Date Tue, 20 May 2008 21:18:02 GMT
How can I get header information from a response?

 

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

               xmlns:xsd="http://www.w3.org/2001/XMLSchema">

  <soap:Header><ResponseHeader
xmlns="urn:obj.api.rightnow.com"><Version>8.8.0.47</Version></ResponseHeader
></soap:Header>

     <soap:Body>

      <exec_rv xmlns="urn:obj.api.rightnow.com"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

        <fatal_err_rv>

            <called_fcn></called_fcn>

            <data></data>

            <location>

                <api_loc_item>

                    <fcn>check_ns</fcn>

                    <file>pair/xml_parser.c</file>

                    <line>579</line>

                </api_loc_item>

            </location>

            <msg>Error processing element 'ns2:SessionHeader'; 'ns2' is an
invalid namespace prefix</msg>

            <type>1</type>

            <xml_fcn_id xsi:nil="true" />

        </fatal_err_rv>

    </exec_rv>

  </soap:Body>

</soap:Envelope>

 

I want to retrieve 8.8.0.47 from <Version>8.8.0.47</Version>.

 

-Ryan

 

Ryan McCullough | RightNow Technologies | Integration Tools Engineer

406-556-3162 office | Bozeman, MT |  <mailto:rmccullough@rightnow.com>
rmccullough@rightnow.com |  <http://www.rightnow.com/>
http://www.rightnow.com

 


Mime
View raw message