Home > Constructing SOAP with Apache Axis and WSS4J > Generating and Building the Stubs
Package | Files |
---|---|
Apache Axis |
|
Apache WSS4J | wss4j-1.5.1.jar |
Apache XML Security | xmlsec-1.4.0.jar |
JDK JavaBeans Activation Framework | activation.jar |
JDK Java Mail | mail.jar |
Sample.java
.java org.apache.axis.wsdl.WSDL2Java -p
com.cybersource.stub
https://ics2wstesta.ic3.com/commerce/1.x/transactionProcessor/
CyberSourceTransaction_N.NN.
wsdl
where:
>> com.cybersource.stub is the package name that will be used for the generated classes. You can choose a different package name if you wish. However, the rest of the steps and the sample code refer to this value.
>> N.NN is the CyberSource API version. Find the latest version from https://ics2wstesta.ic3.com/commerce/1.x/transactionProcessor
javac com/cybersource/stub/*.java
jar cf cybersource.jar com/cybersource/stub/*.class
cybersource.jar
file
to your classpath.Revision