⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 10f575e6be6b001b12848a9f58aa6e03

📁 《精通SOA:基于服务总线的Struts+EJB+Web Service整合应用开发》原书的实例代码
💻
字号:
<?xml version="1.0" encoding="UTF-8"?>

<project name="wsclient" default="all" basedir=".">

  <property name="axis.home" location="C:\axis-1_4"/>
  <property name="options.output" location="../wsdl2java"/>


  <path id="axis.classpath">
    <fileset dir="${axis.home}/lib">
      <include name="**/*.jar"/>
    </fileset>
  </path>

  <taskdef resource="axis-tasks.properties" classpathref="axis.classpath" />


  <target name="-WSDL2Axis" depends="init">
    <mkdir dir="${options.output}"/>
    <axis-wsdl2java output="${options.output}" url="${options.WSDL-URI}" verbose="true"/>
  </target>


  <target name="init">
    <echo>Warning: please update the associated WSDL file(s) in the folder wsdl before running the target!</echo>
    <echo>Warning: Just run the target(s) related with your developing work!</echo>
    <echo></echo>
  </target>

	  <target name="all">
	    <antcall target="checkUserLoginService"/>
	  	<antcall target="getUserListService"/>
	    <antcall target="saveUserInfoService"/>
	  </target>

  <target name="checkUserLoginService">
    <antcall target="-WSDL2Axis">
      <param name="options.WSDL-URI" location="../soawsdl/checkUserLoginInbound.wsdl"/>
    </antcall>
  </target>
	
  <target name="getUserListService">
    <antcall target="-WSDL2Axis">
      <param name="options.WSDL-URI" location="../soawsdl/getUserListInbound.wsdl"/>
    </antcall>
  </target>
	
  <target name="saveUserInfoService">
    <antcall target="-WSDL2Axis">
      <param name="options.WSDL-URI" location="../soawsdl/saveUserInfoInbound.wsdl"/>
    </antcall>
  </target>	

</project>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -