%AXIS2_HOME%\bin\WSDL2Java -uri IsirPub001.wsdl -p cz.pohlidame.isir.client -d adb -s
That will generate a single java file with a stub for that WSDL.
try { IsirPub001Stub stub = new IsirPub001Stub(); IsirPub001Stub.GetIsirPub0012E e = new IsirPub001Stub.GetIsirPub0012E(); IsirPub001Stub.GetIsirPub0012 param = new IsirPub001Stub.GetIsirPub0012(); param.setLong_1( 0 ); e.setGetIsirPub0012( param ); GetIsirPub0012ResponseE responseE = stub.getIsirPub0012( e ); GetIsirPub0012Response response = responseE.getGetIsirPub0012Response(); IsirPub001Data[] result = response.getResult(); System.out.println( "" + result[0].getTypText() ); } catch( RemoteException ex ) { Logger.getLogger( Main.class.getName() ).log( Level.SEVERE, null, ex ); }
%AXIS2_HOME%\lib
at the
classpath.These are necessary (but YMMV):