http://hi.baidu.com/cicon/item/9b7dd6e1a139b6b52e140b5f
generate a server-side implementation framework based on WSDL
In general, we use Web Services to provide WSDL information from the server side to generate the client's invocation framework, but not necessarily, for example, the communication between the two sides to define a good agreement, that is, the most recent determination of the WSDL, For example, the 1.6 version of the mobile Misc platform, the dsmp.wsdl we get from the move now have to build the implementation framework of the server in accordance with DSMP.WSDL, which means that we are calling the Misc platform as a service to the Web service, which is a bit different from what I said in the previous two articles, which is different from the starting point. We can use the following command to build the implementation framework of the server, note the Red boldface place {axis-lib}, need axis jar package, here is write your jar package path java-djava.ext.dirs= {axis-lib} org.apache.axis.wsdl.WSDL2Java --server-side dsmp.wsdl
The server-side files that axis will generate for us
Completing the class completes the service-side deployment of the Web service by copying the service section in DEPLOY.WSDD to the corresponding location in the SERVER-CONFIG.WSDD file. Of course, you can also use axis's tools to deploy Web services,
Java org.apache.axis.client.AdminClient DEPLOY.WSDD
You can access the service with Http://localhost:8080/axis/service/maPort.