WSDD + TOMCAT 一键部署Webservices

时间:2015-03-02 10:21:51
【文件属性】:

文件名称:WSDD + TOMCAT 一键部署Webservices

文件大小:5.15MB

文件格式:ZIP

更新时间:2015-03-02 10:21:51

wsdd Webservice

WSDD + TOMCAT 一键部署Webservices 配置工作: 1、将/wsdd/attachment下的axis.rar解压到tomcat的webapps文件夹下 2、配置/wsdd下的config.properties, #tomcat的路径 tomcat.path=e:/apache-tomcat-7.0.23 #tomcat的端口 tomcat.port=8080 #Jar包名称 jar.name=MyServices.jar 3、编写/wsdd/src/com/test/MyServices.java的方法,此类中的方法将被发布到Webservices中 4、启动tomcat,运行build.xml,运行正常结果如下: Buildfile: D:\java\wsdd\build.xml compile: [mkdir] Created dir: D:\java\wsdd\target\bin [javac] D:\java\wsdd\build.xml:16: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 5 source files to D:\java\wsdd\target\bin [copy] Copying 3 files to D:\java\wsdd\target\bin build.jar: [jar] Building jar: D:\java\wsdd\target\MyServices.jar [copy] Copying 1 file to e:\apache-tomcat-7.0.23\webapps\axis\WEB-INF\lib [delete] Deleting directory D:\java\wsdd\target deploy: [java] Processing file src/com/wsdd/deploy.wsdd [java] Done processing BUILD SUCCESSFUL Total time: 1 second 5、运行/wsdd/src/com/test/InvokeServices.java测试webservices 注意事项:运行build.xml之前一定保证tomcat启动,并能根据config.properties中的配置能够访问!


【文件预览】:
wsdd
----Readme.txt(1KB)
----attachment()
--------axis.rar(2.71MB)
----build.xml(2KB)
----src()
--------log4j.properties(4KB)
--------com()
----.project(380B)
----config.properties(90B)
----.classpath(803B)
----lib()
--------activation.jar(54KB)
--------commons-logging-1.0.4.jar(37KB)
--------saaj.jar(19KB)
--------mail.jar(451KB)
--------jaxrpc.jar(30KB)
--------log4j-1.2.8.jar(344KB)
--------axis.jar(1.53MB)
--------axis-ant.jar(32KB)
--------wsdl4j-1.5.1.jar(124KB)
--------commons-discovery-0.2.jar(70KB)

网友评论