alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Axis 2 example source code file (test.bin)

This example Axis 2 source code file (test.bin) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Axis 2 tags/keywords

compiling, compiling, fast, fast, generating, h, h, infoset, infoset, n-uri, set, w, xmx512m, xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5006

The Axis 2 test.bin source code

xxsi(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
	=modelVersion4.0.0=parent
		=groupId
org.apache.axis2=	artifactId	axis2-parent=version1.3=relativePath../parent/pom.xmlaxis2-fastinfoset=nameApache Axis 2.0 - Fast Infoset=
descriptionAxis2 Fast Infoset module=dependencies=	dependency
			com.sun.xml.fastinfosetFastInfoset
	axis2-kernel${version}
axis2-adb
wsdl4j
commons-logging
commons-httpclient
commons-fileupload
org.apache.ws.commons.schemaXmlSchema
axis2-java2wsdl
        
axis2-adb-codegen
         

axis2-codegen
annogen
org.apache.httpcomponentshttpcore
backport-util-concurrent

commons-codec
          


            org.apache.neethineethi
    =profiles=profile=idjava14=	activation
				=jdk1.4	

					1.1.8
junit3.8.2=build=sourceDirectorysrc=testSourceDirectorytest=resources=resource
                =directoryconf=includes
                    =include**/*.properties ! **/*.xmlresources **/*=testResources=testResource " **/*.wsdl !=plugins=pluginmaven-compiler-plugin=inheritedtrue=configuration =source =targetorg.apache.maven.pluginsmaven-antrun-plugin=	executions =execution
                        
gen-ts*=phasegenerate-test-sources*
                            =tasks
                                6 Set a property that can be picked up from the ant build.xml's 
                                }propertyxHmaven.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.}pathxHmaven.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}
                                =echoCompiling Service class
                                }javacxforkCtruexdestdirH
target/test-classesxdebugAon"
                                    }classpath"
                                    `
xlocationH${compiled.classes.dir}"
                                    WH**/*SimpleAddService.java"
                                    }srcxDtest/
                                
                                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-=goalrun* maven-surefire-plugin' =skipfalse

                     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  =forkModepertest =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

 

new blog posts

 

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.