Personal notes on Java
For other technologies like HTML, CSS, .NET, PHP, etc. check my other blog

References:

It is advised to add the AXIS2_HOME/bin to the PATH, so that you'll be able to run the following scripts from anywhere.

Axis2 wsdl2java and java2wsdl


Skeletons generation example (for the webservice):
%AXIS2_HOME%\bin\wsdl2java.bat -uri file:\\\C:\apps\axis2\samples\zSample\Axis2UserGuide.wsdl -p org.apache.axis2.axis2userguide -o target_directory_name -d adb -s -wv 1.6.2 -ss -sd

Stubs generation example (for the webservice client):
%AXIS2_HOME%\bin\WSDL2Java -uri Axis2UserGuide.wsdl -p org.apache.axis2.axis2userguide -d adb -s

Sem comentários:

Enviar um comentário