You can write a tiny logging handler to do something like - 

Transformer transformer = TransformerFactory.newInstance().newTransformer();
StringWriter stringWriter = new StringWriter(128);
transformer.transform(new DOMSource(env), new StreamResult(stringWriter));
StringBuffer buffer =  stringWriter.getBuffer();

- venkat

On Apr 8, 2005 3:55 PM, Jin-Ha Tchoe <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> we use Axis 1.2 Alpha with Tomcat 4.0.3 and Castor 0.95 for a
> SOAP-Service. Sometimes we have customers you are not accustomed to SOAP
> and have lots of problems using our Service. The problems range from
> simple typos and wrong namespaces to forgetting the SOAP-Envelope.
> 
> Whenever Axis and Castor are unable to determine the right Service or
> (Un-)marshal the message, the most the customers can see (and therefore
> us) is a simple AxisFault. Unfortunately that does not help us see what
> exactly is going wrong. So, is there a way for Axis to dump the complete
> raw SOAP Envelope _before_ doing its work, so that we can something?
> 
> Many thanks in advance,
> 
> Jin-Ha Tchoe
> --
> Jin-Ha Tchoe <[EMAIL PROTECTED]>
> 
>

Reply via email to