Try using soapui or tcpmon to view the envelopes.
On Apr 28, 2010, at 6:24, "Chris Hopkins" <[email protected]> wrote:
Hi –
I’m using Axis2 v1.5.1 to compile a WSDL and then make calls to the
service methods defined in the WSDL from my Java (v1.5) application.
I’m trying to figure out how to log the response that the call gets
prior to it attempting to process it. I have turned on debug loggin
g via a log4j.properties file but perhaps I’m not logging the right
things. I’ve added this to my log4.properties
log4j.logger.org.apache=debug
log4j.logger.org.apache.axis2=debug
and this is the error
org.apache.axiom.om.OMException:
com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character
'"' (code 34) in DOCTYPE declaration; expected a space between
public and system identifiers
at [row,col {unknown-source}]: [1,62]
I just need to be able to see what the actual response from the web
service call contains.
Thanks,
Chris
THIS MESSAGE IS INTENDED FOR THE USE OF THE PERSON TO WHOM IT IS
ADDRESSED. IT MAY CONTAIN INFORMATION THAT IS PRIVILEGED,
CONFIDENTIAL AND EXEMPT FROM DISCLOSURE UNDER APPLICABLE LAW. If you
are not the intended recipient, your use of this message for any
purpose is strictly prohibited. If you have received this
communication in error, please delete the message and notify the
sender so that we may correct our records.