Hi,

I'm using Axis 2 and a Java 1.5 client to interface with a web service I
have running locally.  The client generation code is below.  My question is,
how do I get the XML request that the client sent to appear in the Axis
logs?  Right now, I can see parts of my request, like 

DEBUG [org.apache.axiom.om.impl.builder.StAXOMBuilder,
resin-tcp-connection-*:8080-657 2009-10-22 08:49:26,011]:
CHARACTERS: [1968]

But it would be really useful to me if I could see the entire request sent.

Thanks,  - Dave



==========The client code generation -- maven.xml ===================
<project  xmlns:j="jelly:core" xmlns:ant="jelly:ant">

  <preGoal name="java:compile">

    <ant:property name="downloadedWSDL" value="target/MatchingService.wsdl"
/>
    <ant:get
src="http://localhost:8080//apps/dor/dmv/driver/matching//services/MatchingService?wsdl";
             dest="${downloadedWSDL}"
             username="dalvarado"
             password="password" />
    <ant:mkdir dir="${maven.build.dir}/src" />
    <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true"
classpathref="maven.dependency.classpath">
      <arg line="-uri ${downloadedWSDL}" />
      <arg line="-or" />
      <arg line="-d adb" />
      <arg line="-o target/" />
    </java>

    <ant:javac
      debug="true"
      debuglevel="vars,lines,source"
      destdir="${maven.build.dest}"
      excludes="**/package.html"
      srcdir="${basedir}/target/src" >
     <ant:classpath>
      <ant:path refid="maven.dependency.classpath" />
     </ant:classpath>
    </ant:javac>
  </preGoal>

</project>
-- 
View this message in context: 
http://www.nabble.com/How-do-I-see-the-request-XML-in-my-Axis-Apache-logs--tp26011823p26011823.html
Sent from the Axis - User mailing list archive at Nabble.com.

Reply via email to