资源简介
apache-cxf-2.7.10,Apache CXF™ is an open source services framework. CXF helps you build and develop services using frontend programming APIs, like JAX-WS and JAX-RS. These services can speak a variety of protocols such as SOAP, XML/HTTP, RESTful HTTP, or CORBA and work over a variety of transports s
代码片段和文件信息
/**
* 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.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Text;
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();
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 = factory.create(HelloWorld.class);
System.out.println(“Invoke sayHi()....“);
System.out.println(client.sayHi(System.getProperty(“user.name“)));
Document doc = client.getADocument();
Element e = (Element) doc.getFirstChild();
System.out.println(e.getTagName());
Text t = (Text) e.getFirstChild();
System.out.println(t);
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2014-02-06 12:54 apache-cxf-2.7.10\
目录 0 2014-02-06 12:54 apache-cxf-2.7.10\lib\
文件 449505 2013-01-04 13:47 apache-cxf-2.7.10\lib\velocity-1.7.jar
文件 575389 2013-01-04 13:47 apache-cxf-2.7.10\lib\commons-collections-3.2.1.jar
文件 284220 2013-01-04 13:47 apache-cxf-2.7.10\lib\commons-lang-2.6.jar
文件 186758 2013-03-20 10:25 apache-cxf-2.7.10\lib\wsdl4j-1.6.3.jar
文件 2078376 2013-01-04 16:36 apache-cxf-2.7.10\lib\jaxb-xjc-2.2.6.jar
文件 1112659 2013-01-04 16:36 apache-cxf-2.7.10\lib\jaxb-impl-2.2.6.jar
文件 165787 2014-01-29 14:10 apache-cxf-2.7.10\lib\xm
文件 445288 2013-01-04 13:48 apache-cxf-2.7.10\lib\antlr-2.7.7.jar
文件 2730866 2013-01-04 16:19 apache-cxf-2.7.10\lib\xm
文件 84091 2013-01-04 13:48 apache-cxf-2.7.10\lib\xm
文件 60171 2013-01-04 13:47 apache-cxf-2.7.10\lib\geronimo-jaxws_2.2_spec-1.1.jar
文件 482245 2013-03-28 12:41 apache-cxf-2.7.10\lib\woodstox-core-asl-4.2.0.jar
文件 182112 2013-01-04 13:47 apache-cxf-2.7.10\lib\stax2-api-3.1.1.jar
文件 223298 2013-01-04 13:48 apache-cxf-2.7.10\lib\geronimo-javamail_1.4_spec-1.7.1.jar
文件 357704 2013-11-19 18:43 apache-cxf-2.7.10\lib\jetty-server-8.1.14.v20131031.jar
文件 21162 2013-11-19 18:43 apache-cxf-2.7.10\lib\jetty-continuation-8.1.14.v20131031.jar
文件 96122 2013-11-19 18:43 apache-cxf-2.7.10\lib\jetty-http-8.1.14.v20131031.jar
文件 104219 2013-11-19 18:43 apache-cxf-2.7.10\lib\jetty-io-8.1.14.v20131031.jar
文件 287680 2013-11-19 18:43 apache-cxf-2.7.10\lib\jetty-util-8.1.14.v20131031.jar
文件 89923 2013-11-19 18:43 apache-cxf-2.7.10\lib\jetty-security-8.1.14.v20131031.jar
文件 26084 2013-03-28 12:50 apache-cxf-2.7.10\lib\slf4j-api-1.7.5.jar
文件 96323 2013-01-04 13:49 apache-cxf-2.7.10\lib\geronimo-servlet_3.0_spec-1.0.jar
文件 32359 2013-01-04 13:48 apache-cxf-2.7.10\lib\geronimo-jms_1.1_spec-1.1.1.jar
文件 185555 2013-01-04 13:54 apache-cxf-2.7.10\lib\spring-jms-3.0.7.RELEASE.jar
文件 4467 2013-01-04 13:47 apache-cxf-2.7.10\lib\aopalliance-1.0.jar
文件 321435 2013-01-04 13:53 apache-cxf-2.7.10\lib\spring-aop-3.0.7.RELEASE.jar
文件 53082 2013-01-04 13:53 apache-cxf-2.7.10\lib\spring-asm-3.0.7.RELEASE.jar
文件 556747 2013-01-04 13:53 apache-cxf-2.7.10\lib\spring-beans-3.0.7.RELEASE.jar
文件 383621 2013-01-04 13:53 apache-cxf-2.7.10\lib\spring-core-3.0.7.RELEASE.jar
............此处省略2896个文件信息
相关资源
- cxf集成Spring的restful WebService接口以J
- Spring+CXF+tomcat开发webservice
- CXF WS-Security WSS4J
- Cxf 和wss4j实现ws-security的demo
- apache-cxf 2.2.8版本
- springBoot完整整合WebService框架CXF
- SpringBoot WebService cxf接口发布以及lo
- rest soap cxf webservice maven springmvc
- CXF实现发布RESTful WebService服务
- Spring+SpringMVC+Mybatis CXF
- cxf+spring+tomcat
- CXF打印SOAP报文,记录WebService日志
- springboot-cxf-webservice
- CXF实现SSL安全验证
- 使用cxf和spring开发基于https的webservi
- springboot+CXF发布webservice接口
- CXF 文件记录报文日志,非控制台打印
- Spring+Apache CXF+MyBatis+Maven
- Springboot整合cxf测试项目亲测可用
- 联通vac和sp对接webservice
评论
共有 条评论