cxf-2.4.2及必须依赖的包名


用于java开发写webService接口,用的cxf框架技术,开发过程所必须依赖的包。 此版本适用于jdk1.7。 注意:对jdk1.8不支持,jdk1.8请下载cxf3.x的版本。 包内有截图说明必须依赖的包名有哪些。
资源截图
代码片段和文件信息
/**
 * 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  2011-08-11 12:02  apache-cxf-2.4.2
     目录           0  2011-08-11 12:02  apache-cxf-2.4.2lib
     文件      160085  2011-04-01 08:16  apache-cxf-2.4.2libxmlschema-core-2.0.jar
     文件      478446  2011-04-01 08:16  apache-cxf-2.4.2libwoodstox-core-asl-4.1.1.jar
     文件      182112  2011-04-01 08:16  apache-cxf-2.4.2libstax2-api-3.1.1.jar
     文件       28804  2011-04-01 08:17  apache-cxf-2.4.2libgeronimo-stax-api_1.0_spec-1.0.1.jar
     文件       12452  2011-04-01 08:16  apache-cxf-2.4.2libgeronimo-annotation_1.0_spec-1.1.1.jar
     文件      104554  2011-04-01 09:31  apache-cxf-2.4.2libjaxb-api-2.2.1.jar
     文件      449505  2011-04-02 13:33  apache-cxf-2.4.2libvelocity-1.7.jar
     文件      575389  2011-04-01 08:15  apache-cxf-2.4.2libcommons-collections-3.2.1.jar
     文件      284220  2011-04-01 08:17  apache-cxf-2.4.2libcommons-lang-2.6.jar
     文件      148429  2011-04-01 08:16  apache-cxf-2.4.2libwsdl4j-1.6.2.jar
     文件     3112544  2011-04-01 12:30  apache-cxf-2.4.2libjaxb-xjc-2.2.1.1.jar
     文件      877973  2011-04-01 12:30  apache-cxf-2.4.2libjaxb-impl-2.2.1.1.jar
     文件       70663  2011-07-11 12:12  apache-cxf-2.4.2lib
eethi-3.0.1.jar
     文件       47465  2011-04-01 09:14  apache-cxf-2.4.2libgeronimo-activation_1.1_spec-1.1.jar
     文件      223298  2011-04-01 08:16  apache-cxf-2.4.2libgeronimo-javamail_1.4_spec-1.7.1.jar
     文件       24924  2011-04-01 09:31  apache-cxf-2.4.2libsaaj-api-1.3.jar
     文件       15572  2011-04-01 08:16  apache-cxf-2.4.2libgeronimo-ws-metadata_2.0_spec-1.1.3.jar
     文件       60214  2011-04-01 09:31  apache-cxf-2.4.2libgeronimo-jaxws_2.2_spec-1.0.jar
     文件       84091  2011-04-01 08:16  apache-cxf-2.4.2libxml-resolver-1.2.jar
     文件       43578  2011-04-01 08:16  apache-cxf-2.4.2libasm-3.3.jar
     文件      395587  2011-04-01 08:16  apache-cxf-2.4.2libspring-web-3.0.5.RELEASE.jar
     文件        4467  2011-04-01 08:15  apache-cxf-2.4.2libaopalliance-1.0.jar
     文件      555410  2011-04-01 08:15  apache-cxf-2.4.2libspring-beans-3.0.5.RELEASE.jar
     文件      382442  2011-04-01 08:15  apache-cxf-2.4.2libspring-core-3.0.5.RELEASE.jar
     文件       53082  2011-04-01 08:15  apache-cxf-2.4.2libspring-asm-3.0.5.RELEASE.jar
     文件       60686  2011-04-01 08:15  apache-cxf-2.4.2libcommons-logging-1.1.1.jar
     文件      668861  2011-04-01 08:15  apache-cxf-2.4.2libspring-context-3.0.5.RELEASE.jar
     文件      321190  2011-04-01 08:15  apache-cxf-2.4.2libspring-aop-3.0.5.RELEASE.jar
     文件      169752  2011-04-01 08:15  apache-cxf-2.4.2libspring-expression-3.0.5.RELEASE.jar
............此处省略2584个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)