Axis2 notes

1. set env var: JAVA_HOME, AXIS2_HOME(setenv.sh)
path: AXIS2_HOME/bin
2. start up standard alone axis server: $AXIS2_HOME/bin/axis2server.sh
http://localhost:8080/axis2/services/
3. ant create.war ($AXIS_HOME/webapp/build.xml) -> $AXIS2_HOME/dist/axis2.war
4. axis2.sh [-options] class [args...]         run web service clients written using Axis2
axis2server.sh      start a standalone Axis2 server(firstly, put your service into AXIS2_HOME/repository/services/)
wsdl2java.sh [OPTION]... -uri <Location of WSDL>        generates Java code(client-side stubs & web service skeletons) according to a given WSDL file
java2wsdl.sh [OPTION]... -cn <fully qualified class name>       generates the appropriate WSDL file for a given Java class.
5. drop axis2.war into web server webapp folder. http://<host :port>/axis2
Uploading Services: uploaded .aar files into <webapps>/axis2/WEB-INF/services/

AXIS2_HOME/conf/axis2.xml
axisconfig
    parameter *
    threadContextMigrators
        threadContextMigrator
    messageReceivers
        messageReceive
    messageFormatters
        messageFormatter
    messageBuilders
        messageBuilder
    transportReceiver *
        parameter
    transportSender *
        parameter
    module
    phaseOrder *
        phase  *
            handler  *
                order

你可能感兴趣的:(Web,xml,ant,UP)