L
laredotornado
Hi,
I'm generating a web service client (using Maven 1.1) like so ...
<project xmlns:j="jelly:core" xmlns:ant="jelly:ant">
<preGoal name="java:compile">
<antroperty name="downloadedWSDL" value="target/
MatchingService.wsdl" />
<ant:get src="http://localhost:8080//apps/dor/dmv/myapp/myfn//
services/MatchingService?wsdl"
dest="${downloadedWSDL}"
username="username"
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>
<antath refid="maven.dependency.classpath" />
</ant:classpath>
</ant:javac>
</preGoal>
</project>
and then I submit a request to the web service using something similar
to this ...
MatchingServiceStub stub = createClientStub();
VerifyAge verifyAge = new VerifyAge();
...
verifyAge.setAgeVerificationRequest(ageVerificationRequest);
VerifyAgeResponse response = stub.verifyAge(verifyAge);
My question is I want to view the XML request sent to the web service
for purposes of testing that XML in SOAP UI, but I don't know how to
get it. Any ideas? - Dave
I'm generating a web service client (using Maven 1.1) like so ...
<project xmlns:j="jelly:core" xmlns:ant="jelly:ant">
<preGoal name="java:compile">
<antroperty name="downloadedWSDL" value="target/
MatchingService.wsdl" />
<ant:get src="http://localhost:8080//apps/dor/dmv/myapp/myfn//
services/MatchingService?wsdl"
dest="${downloadedWSDL}"
username="username"
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>
<antath refid="maven.dependency.classpath" />
</ant:classpath>
</ant:javac>
</preGoal>
</project>
and then I submit a request to the web service using something similar
to this ...
MatchingServiceStub stub = createClientStub();
VerifyAge verifyAge = new VerifyAge();
...
verifyAge.setAgeVerificationRequest(ageVerificationRequest);
VerifyAgeResponse response = stub.verifyAge(verifyAge);
My question is I want to view the XML request sent to the web service
for purposes of testing that XML in SOAP UI, but I don't know how to
get it. Any ideas? - Dave