资源简介
Apache-cxf 2.2.8 安装文件夹下的bin文件下的wsdl2java.bat(请提前下载apache-cxf,并且解压缩),把安装路径配置为全局变量
代码片段和文件信息
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License Version 2.0 (the
* “License“); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing
* software distributed under the License is distributed on an
* “AS IS“ BASIS WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package demo.hw.client;
import org.apache.cxf.aegis.databinding.AegisDatabinding;
import org.apache.cxf.frontend.ClientProxyFactoryBean;
import demo.hw.server.HelloWorld;
public final class Client {
private Client() {
}
public static void main(String args[]) throws Exception {
ClientProxyFactoryBean factory = new ClientProxyFactoryBean();
factory.setServiceClass(HelloWorld.class);
if (args != null && args.length > 0 && !““.equals(args[0])) {
factory.setAddress(args[0]);
} else {
factory.setAddress(“http://localhost:9000/Hello“);
}
factory.getServiceFactory().setDataBinding(new AegisDatabinding());
HelloWorld client = (HelloWorld)factory.create();
System.out.println(“Invoke sayHi()....“);
System.out.println(client.sayHi(System.getProperty(“user.name“)));
System.exit(0);
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2010-05-07 13:23 apache-cxf-2.2.8\
文件 6390 2010-05-07 12:39 apache-cxf-2.2.8\release_notes.txt
目录 0 2010-05-07 13:23 apache-cxf-2.2.8\lib\
文件 2385 2010-05-07 12:39 apache-cxf-2.2.8\lib\WHICH_JARS
文件 3770 2010-05-07 12:39 apache-cxf-2.2.8\README
目录 0 2010-05-07 13:23 apache-cxf-2.2.8\licenses\
文件 2378 2010-05-07 12:39 apache-cxf-2.2.8\licenses\oasis.txt
文件 1073 2010-05-07 12:39 apache-cxf-2.2.8\licenses\ruby-mit.txt
文件 1514 2010-05-07 12:39 apache-cxf-2.2.8\licenses\bsd.txt
文件 1938 2010-05-07 12:39 apache-cxf-2.2.8\licenses\ws-policy.txt
文件 4284 2010-05-07 12:39 apache-cxf-2.2.8\licenses\w3c.html
文件 20162 2010-05-07 12:39 apache-cxf-2.2.8\licenses\cdd1-1.0.txt
文件 1512 2010-05-07 12:39 apache-cxf-2.2.8\licenses\asm.txt
文件 1134 2010-05-07 12:39 apache-cxf-2.2.8\licenses\bouncy-castle.txt
文件 2564 2010-05-07 12:39 apache-cxf-2.2.8\licenses\jdom.txt
文件 1133 2010-05-07 12:39 apache-cxf-2.2.8\licenses\sl4j.txt
文件 2129 2010-05-07 12:39 apache-cxf-2.2.8\licenses\wsa.txt
文件 1216 2010-05-07 12:39 apache-cxf-2.2.8\licenses\wsdl.txt
文件 1581 2010-05-07 12:39 apache-cxf-2.2.8\licenses\jaxen.txt
文件 25755 2010-05-07 12:39 apache-cxf-2.2.8\licenses\MPL-1.1.txt
文件 11613 2010-05-07 12:39 apache-cxf-2.2.8\licenses\wsdl4j.txt
文件 2594 2010-05-07 13:16 apache-cxf-2.2.8\NOTICE
文件 14969 2010-05-07 13:16 apache-cxf-2.2.8\LICENSE
目录 0 2010-05-07 12:39 apache-cxf-2.2.8\bin\
文件 2962 2010-05-07 12:39 apache-cxf-2.2.8\bin\mc
文件 1795 2010-05-07 12:39 apache-cxf-2.2.8\bin\wsdl2java.bat
文件 2205 2010-05-07 12:39 apache-cxf-2.2.8\bin\wsdl2js
文件 1742 2010-05-07 12:39 apache-cxf-2.2.8\bin\mc.bat
文件 3087 2010-05-07 12:39 apache-cxf-2.2.8\bin\java2ws
文件 2938 2010-05-07 12:39 apache-cxf-2.2.8\bin\wsdl2xm
文件 1946 2010-05-07 12:39 apache-cxf-2.2.8\bin\wsdl2service.bat
............此处省略2409个文件信息
相关资源
- apache-tomcat-10.0.0-M6.exe
- apache-common jar包
- org.apache.commons中的各种jar包
- apache-cxf-2.5.9
- apache-tomcat-6.0.53版本32位和64位
- Apache commons API(整套全版
- IOUtils(包含apache全部的commons jar包)
- apache-jmeter-3.0
- Apache实现文件解压缩
- Apache Commons官网下的jar包
- orgapache_commons
- apache-groovy-sdk-2.4.16
- apache-jmeter-5.2.1.zip
- apache-activemq-5.16.0-bin-windows.zip----wind
- apache-jmeter-5.1.1(Requires Java 8+).zip
- spark apache日志分析、流数据处理教程
- apache.soap jar包
- java Excel数据导出,HSSH、 XSSF、SXSSF、
- org.apache.commons.net.ftp.FTPClient jar包下载
- 使用java Apache poi 根据word模板生成wo
- org.apache.poi.xwpf.converter
- org.apache.commons.lang jar包下载256965
- org.apache.commons.lang jar包
- org.apache.commons.lang
- 小贝程序员生活\\jar\\lib\\com.springsou
- org.apache.commons.net.ftp.FTPClient jar包
- BeanUtils工具
- org.apache.commons.dbcp.BasicDataSource的解决
- springsource.org.apache.commons.logging-1.1.1.
- commons-csv-1.1
评论
共有 条评论