Hi Nate-

check the sendStackTraceDetailWithFaults parameter in axis2.xml
    <parameter name="sendStacktraceDetailsWithFaults">true</parameter>

HTH
Martin
----- Original Message -----
From: "Nate Roe" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, March 28, 2008 5:05 PM
Subject: How can I print a stack trace when the service-side Axis throws?



My service is responding like so:

<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";>
        <soapenv:Body>
                <soapenv:Fault>
                        <soapenv:Code>

<soapenv:Value>soapenv:Receiver</soapenv:Value>
                        </soapenv:Code>
                        <soapenv:Reason>
                                <soapenv:Text
xml:lang="en-US">java.lang.RuntimeException: org.apache.axis2.AxisFault:
Mapping qname not fond for the package: com.vegas.test.product
</soapenv:Text>
                        </soapenv:Reason>
                        <soapenv:Detail />
                </soapenv:Fault>
        </soapenv:Body>
</soapenv:Envelope>

When my client receives this message, it prints a stack trace, but the stack
trace of the original Exception from the service has been lost.  Is there a
log level I can use or something to get the Service to dump a stacktrace for
me?

Thanks,
Nate Roe

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to