- 追加された行はこの色です。
- 削除された行はこの色です。
// 下階層用テンプレート
#topicpath
----
//ここにコンテンツを記述します。
Eclipse + WTPでWEBサービスの開発を行いました。
WEBサービス開発の流れは
-Webプロジェクトの作成
-公開したいJavaBeansの作成
-そのJavaBeansから、WEBサービスの作成
--WSDLの作成
--プロキシクライアントを保存するJavaプロジェクトの作成
--プロキシクライアントの作成
といった感じになります。
***deploy/undeployをするためのantのbuild.xml [#kdcebbcc]
-build.xml
<?xml version="1.0" encoding="UTF-8"?>
<project name="WebServices Deploy" basedir=".">
<property file="build.win.properties" />
<property file="build.properties" />
<path id="axis.classpath">
<fileset dir="${web.lib.dir}" includes="*.jar" />
<fileset dir="${axis.dir}/lib" includes="*.jar" />
</path>
<taskdef resource="axis-tasks.properties" classpathref="axis.classpath" />
<target name="deploy">
<axis-admin port="8080" hostname="localhost" failonerror="true"
servletpath="${axisservlet}" debug="true" xmlfile="${wsdd.deployfile}" />
</target>
<target name="undeploy">
<axis-admin port="8080" hostname="localhost" failonerror="true"
servletpath="${axisservlet}" debug="true" xmlfile="${wsdd.undeployfile}" />
</target>
</project>
-build.properties
wsdd.dir=WebContent/WEB-INF/HelloWorldService/nu/mine/kino/services
wsdd.deployfile=${wsdd.dir}/deploy.wsdd
wsdd.undeployfile=${wsdd.dir}/undeploy.wsdd
web.lib.dir=WebContent/WEB-INF/lib
axis.dir=C:/javatools/axis
axisservlet=WebServicesSamplesWeb/servlet/AxisServlet
参考:~
- http://ws.apache.org/axis/java/ant/ant.html
----
この記事は
#vote(おもしろかった,そうでもない)
#comment
#topicpath
SIZE(10){現在のアクセス:&counter;}