Well,
You don't need to install the axis webapp to make this work but you need
axis jars files to run WSDL2Java and to run the client.
Here is the Ant task I use to generate the stubs (servicemix must be
started) :
<target name="WSDL2Java">
<java classname="org.apache.axis.wsdl.WSDL2Java">
<arg value="http://localhost:8192/Broker/main.wsdl"/>
<classpath>
<fileset dir="lib">
<include name="**/*.jar"/>
</fileset>
</classpath>
</java>
</target>
The lib directory contains the following jars (used for WSDL2Java AND to run
the client) :
axis-1.2.1.jar
axis-jaxrpc-1.2.1.jar
axis-saaj-1.2.1.jar
axis-wsdl4j-1.2.jar
axis-wsdl4j-1.5.1.jar
commons-discovery-0.2.jar
commons-logging-1.0.4.jar
xercesImpl-2.7.1.jar
Once the stubs are generated, put them in your sources directory.
You can then use the sample code I posted earlier in this thread to make the
call.
Cheers,
Fred
--
View this message in context:
http://www.nabble.com/Send-a-remote-WS-Notification-subscription-t1524232.html#a4354193
Sent from the ServiceMix - User forum at Nabble.com.