axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carl Lefran├žois" <carl.lefranc...@gmail.com>
Subject problem with deserialize response using WSDL2C generated code
Date Mon, 10 Mar 2008 16:49:42 GMT
Hello group,

I am getting an access violation on a call to axiom_element_get_qname()

This call results from a call to Deserialize in WSDL2C generated code while
processing the following document:

<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
        <BrokerInformationResponse xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
            xmlns="
http://www.axa.ca/BrokerInformationService/1.0/BrokerInformationResponse"
            xmlns:xsd="http://www.w3.org/2001/XMLSchema"
            xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
            <TrackingNumber>UNKNOWN</TrackingNumber>
            <Status>
                <Status xmlns="">ERROR</Status>
                <Detail xmlns="">
                    <Code>ERROR</Code>
                    <Description>Could not unbind Request from
XML!</Description>
                </Detail>
            </Status>
        </BrokerInformationResponse>
    </soapenv:Body>
</soapenv:Envelope>


While stepping through the code, I see the string "UNKNOWN" extracted from
the <TrackingNumber> node.  The access violation happens when
axiom_element_get_qname() is called during processing of the <Status> node
that follows.

The call stack shows:

axiom_element_get_qname()   (called on first Status node)
axutil_string_get_buffer(om_namespace->prefix, env);   ** here
om_namespace->prefix  == 0x0000005
axutil_string_get_buffer()   ** access violation at    return
string->buffer;    because string == om_namespace->prefix


I am using the WSDL2C from the nightly distribution date March 10th and the
latest Axis2 revision from SVN.

Any thoughts on how to resolve this problem?


Carl

Mime
View raw message