Glen,

In that case you can use the soapmonitor module that comes with Axis2.
If that is not enough, you can also write a XMLStreamReader proxy that
delegates to the real stream reader and that logs the information you
need. You can easily implement that proxy based on
StreamReaderDelegate.

Andreas

On Tue, May 19, 2009 at 19:23, Glen Mazza <[email protected]> wrote:
>
> Hello,
>
> The Factory parse(XMLStreamReader reader) method of a data type within our
> Axis ADB-generated stub class is failing with an "Unexpected subelement"
> exception whenever the SOAP client is trying to process the response from
> the service provider.  (I'm unsure if relevant here, but we're making an
> asynchronous web service call.)  We're not sure what is wrong with the
> incoming XML because we can't see it.
>
> In order to debug this issue, we'd like to have a raw input of all the data
> available by the XMLStreamReader, something we could log.  I have tried to
> solve this problem using Wireshark to determine what the web service
> provider is actually sending, however, the web service is using SSL and
> efforts to get Wireshark to be able to decrypt the messages have been
> ineffective.
>
> Does anyone have a "short circuit" code fragment that overrides parse() just
> so it System.output.println("")'s everything being passed in without raising
> exceptions?  This, or any other suggestion for viewing encrypted incoming
> data from the web service provider in unencrypted format would be most
> appreciated.
>
> Thanks,
> Glen
>
> --
> View this message in context: 
> http://www.nabble.com/Need-to-view-debug-Factory-parsing-of-SOAP-response-tp23620783p23620783.html
> Sent from the Axis - User mailing list archive at Nabble.com.
>
>

Reply via email to