-
大小: 32.09MB文件类型: .rar金币: 2下载: 1 次发布日期: 2023-06-22
- 语言: 其他
- 标签: apache-cxf 2.2.8
资源简介
apache-cxf 2.2.8 支持webservice 反正生成服务端代码,附带一个文本文件。希望有需要的小伙伴可以下载来看。
代码片段和文件信息
/**
* 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);
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1203811 2017-09-26 17:52 webservice反向生成服务端.docx
文件 2189 2010-05-07 12:39 apache-cxf-2.2.8\bin\idl2wsdl
文件 1773 2010-05-07 12:39 apache-cxf-2.2.8\bin\idl2wsdl.bat
文件 3087 2010-05-07 12:39 apache-cxf-2.2.8\bin\java2js
文件 1774 2010-05-07 12:39 apache-cxf-2.2.8\bin\java2js.bat
文件 3087 2010-05-07 12:39 apache-cxf-2.2.8\bin\java2ws
文件 1778 2010-05-07 12:39 apache-cxf-2.2.8\bin\java2ws.bat
文件 2962 2010-05-07 12:39 apache-cxf-2.2.8\bin\mc
文件 1742 2010-05-07 12:39 apache-cxf-2.2.8\bin\mc.bat
文件 2189 2010-05-07 12:39 apache-cxf-2.2.8\bin\wsdl2corba
文件 1784 2010-05-07 12:39 apache-cxf-2.2.8\bin\wsdl2corba.bat
文件 2384 2010-05-07 12:39 apache-cxf-2.2.8\bin\wsdl2java
文件 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
文件 1739 2010-05-07 12:39 apache-cxf-2.2.8\bin\wsdl2js.bat
文件 2946 2010-05-07 12:39 apache-cxf-2.2.8\bin\wsdl2service
文件 1946 2010-05-07 12:39 apache-cxf-2.2.8\bin\wsdl2service.bat
文件 2938 2010-05-07 12:39 apache-cxf-2.2.8\bin\wsdl2soap
文件 1782 2010-05-07 12:39 apache-cxf-2.2.8\bin\wsdl2soap.bat
文件 2938 2010-05-07 12:39 apache-cxf-2.2.8\bin\wsdl2xm
文件 1782 2010-05-07 12:39 apache-cxf-2.2.8\bin\wsdl2xm
文件 2945 2010-05-07 12:39 apache-cxf-2.2.8\bin\wsdlvalidator
文件 1780 2010-05-07 12:39 apache-cxf-2.2.8\bin\wsdlvalidator.bat
文件 2599 2010-05-07 12:39 apache-cxf-2.2.8\bin\xsd2wsdl
文件 1780 2010-05-07 12:39 apache-cxf-2.2.8\bin\xsd2wsdl.bat
文件 41553 2010-05-07 12:46 apache-cxf-2.2.8\docs\api\allclasses-fr
文件 36233 2010-05-07 12:46 apache-cxf-2.2.8\docs\api\allclasses-nofr
文件 152833 2010-05-07 12:46 apache-cxf-2.2.8\docs\api\constant-values.html
文件 5234 2010-05-07 12:46 apache-cxf-2.2.8\docs\api\deprecated-list.html
文件 9864 2010-05-07 12:46 apache-cxf-2.2.8\docs\api\help-doc.html
............此处省略2414个文件信息
评论
共有 条评论