java文件生成wsdl文件.BAT .

set Axis_Lib=E:\webservice\axis-1_4\lib
set Java_Cmd=java -Djava.ext.dirs=%Axis_Lib%
set Output_Path=E:\MDMCServiceInterface.wsdl
set Package=com.my.mdmcservice
set namespace=urn:ServiceInterface
set url=http://localhost:8080/mdmc/ServiceInterface
%Java_Cmd% org.apache.axis.wsdl.Java2WSDL -o%Output_Path% -l%url% -n%namespace%  -p%Package%=%namespace%   -y rpc com.my.mdmcservice.ServiceInterface
@echo   wsdl已经成功生成
@echo -----------------------------------------
@pause

posted @ 2013-06-14 23:15  嗨,你的益达~~~  阅读(1622)  评论(0编辑  收藏  举报