|
Axis 2 example source code file (test.bin)
The Axis 2 test.bin source codeàxÏxsi(http://www.w3.org/2001/XMLSchema-instanceÍ http://maven.apache.org/POM/4.0.0ð=‚project{ schemaLocationAhttp://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsdð‘ =‚modelVersion’4.0.0ð =‚parent’ =‚groupId’ org.apache.axis2ð¢=‚ artifactId’ axis2-parentð¢=‚version’1.3ð¢=‚relativePath’../parent/pom.xmlð ð ’axis2-fastinfosetð =‚name’Apache Axis 2.0 - Fast Infosetð =‚ description’Axis2 Fast Infoset moduleð =‚dependencies¢=‚ dependency’ ’com.sun.xml.fastinfosetðª’FastInfosetð¢ð¢ ª£ðª’ axis2-kernelðª’${version}ð¢ð¢ ª£ðª’axis2-adbðª®ð¢ð¢ ª’wsdl4jðª°ð¢ð¢ ª’commons-loggingðª°ð¢ð¢ ª’commons-httpclientðª°ð¢ð¢ ª’commons-fileuploadðª°ð¢ð¢ ª’org.apache.ws.commons.schemaðª’XmlSchemað¢ð¢ ª£ðª’axis2-java2wsdlðª®ð¢ð’ ª£ðª’axis2-adb-codegenðª®ð¢ð’ ª£ðª’ axis2-codegenðª®ð¢ð° ª’annogenðª°ð¢ð¢ ª’org.apache.httpcomponentsðª’httpcoreð¢ð¢ ª’backport-util-concurrentðª°ð¢ð¢ ª’ commons-codecðª°ð¢ð’ ’ ’org.apache.neethið°’neethið°ð’ ð =‚profiles¢=‚profileª=‚id’java14ðª=‚ activation’ =‚jdk’1.4ðªðª ° ’ «ð°¬ð°’1.1.8ð°ð° °’junitð°°ð°’3.8.2ð°ðªð¢ð ð =‚build¢=‚sourceDirectory’srcð°=‚testSourceDirectory’testð°=‚resources°=‚resource’ =‚directory’confð°=‚includes’ =‚include’**/*.propertiesð°ð°ð°°°ð°° °!ð° ’**/*.xmlð°ð°ð°°’resourcesð°° ’**/*ð°ð°ð°ð°=‚testResources°=‚testResource°°ð°° °"ð° ’**/*.wsdlð° °!ð°ð°ð°ð¢=‚plugins°=‚plugin°’maven-compiler-pluginð°=‚inherited’trueð°=‚configuration° =‚source°ð° =‚target°ð°ð°ð°°’org.apache.maven.pluginsð°’maven-antrun-pluginð°=‚ executions° =‚execution’ ’gen-tsð°*=‚phase’generate-test-sourcesð°*’ =‚tasks‚ â6 Set a property that can be picked up from the ant build.xml's ‚ }‚propertyxˆHmaven.class.pathxrefidHmaven.runtime.classpathÿ’ `Hmaven.test.pathHmaven.compile.classpathÿ‚ â7 copy the mars so that they are available on the test classpath ‚ }‚copyxfile%../addressing/target/addressing-${version}.marxtofile,target/test-classes/modules/addressing-${version}.marÿ‚ `Haxis2.homexvalueH${basedir}/targetÿ°.}‚pathxŽHmaven.dependency.classpathð’ `ƒÿ°.ð‚ â compiling some custom wsdl files ‚ `Hwsdl.source.dirH test-resources/wsdlÿ‚ `Hwsdl.output.base.dirHtarget/wsdlÿ‚ âH make the dirs ‚ }‚mkdirxdirH${wsdl.output.base.dir}ÿ‚ =‚echo’Compiling Service classð‚ }‚javacxforkCtruexdestdirH target/test-classesxdebugAonð‚" }‚classpath†ÿ‚" ` xlocationH${compiled.classes.dir}ÿ‚" WH**/*SimpleAddService.javaÿ‚" }‚srcx«Dtest/ÿ‚ ð‚ ’Generating the WSDLð‚ }‚javaxclassnameorg.apache.ws.java2wsdl.Java2WSDLŒð‚" ‚& `†ÿ‚& }‚ pathelementÿ‚" ð‚" }‚argxlinej-o target/test-classes -of SimpleAddService.wsdl -efd unqualified -cn org.apache.axis2.fastinfoset.SimpleAddServiceÿ‚ ð‚ ’Compiling SimpleAddService.wsdlð°.`${wsdl.output.base.dir}/simpleAddServiceÿ’ ` Horg.apache.axis2.wsdl.WSDL2JavaŒð°/` ÿ°/` ÿ°/`N-uri target/test-classes/SimpleAddService.wsdl -o target/wsdl/simpleAddService -S . -orÿ°.ð°.` Œ Htarget/classes Žð°/` ÿ°/` ÿ°/`Htarget/wsdl/simpleAddServiceÿ°.ð’ ð°*ð°*=‚goals°-=‚goal’runð°*ð° ð°ð°ð°°’maven-surefire-pluginð°°'ð°° =‚skip’falseð’ â» The pertest forkMode is not ideal but seems to be necessary because the test server doesn't shut down properly :-( Should be removed if possible ° =‚forkMode’pertestð° =‚argLine’-Xms256m -Xmx512mð° â» Enable the next 2 lines if you want to attach a debugger <argLine>-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5006’ ’ ’ **/*Test.javað°;ð° =‚systemProperties°* °-’ build.repositoryð°-=‚ª’./target/test-classesð°*ð° ð°ð°ð°ð ð ÿ Other Axis 2 examples (source code examples)Here is a short list of links related to this Axis 2 test.bin source code file: |
... this post is sponsored by my books ... | |
![]() #1 New Release! |
![]() FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.