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.8inidl2wsdl

     文件       1773  2010-05-07 12:39  apache-cxf-2.2.8inidl2wsdl.bat

     文件       3087  2010-05-07 12:39  apache-cxf-2.2.8injava2js

     文件       1774  2010-05-07 12:39  apache-cxf-2.2.8injava2js.bat

     文件       3087  2010-05-07 12:39  apache-cxf-2.2.8injava2ws

     文件       1778  2010-05-07 12:39  apache-cxf-2.2.8injava2ws.bat

     文件       2962  2010-05-07 12:39  apache-cxf-2.2.8inmc

     文件       1742  2010-05-07 12:39  apache-cxf-2.2.8inmc.bat

     文件       2189  2010-05-07 12:39  apache-cxf-2.2.8inwsdl2corba

     文件       1784  2010-05-07 12:39  apache-cxf-2.2.8inwsdl2corba.bat

     文件       2384  2010-05-07 12:39  apache-cxf-2.2.8inwsdl2java

     文件       1795  2010-05-07 12:39  apache-cxf-2.2.8inwsdl2java.bat

     文件       2205  2010-05-07 12:39  apache-cxf-2.2.8inwsdl2js

     文件       1739  2010-05-07 12:39  apache-cxf-2.2.8inwsdl2js.bat

     文件       2946  2010-05-07 12:39  apache-cxf-2.2.8inwsdl2service

     文件       1946  2010-05-07 12:39  apache-cxf-2.2.8inwsdl2service.bat

     文件       2938  2010-05-07 12:39  apache-cxf-2.2.8inwsdl2soap

     文件       1782  2010-05-07 12:39  apache-cxf-2.2.8inwsdl2soap.bat

     文件       2938  2010-05-07 12:39  apache-cxf-2.2.8inwsdl2xml

     文件       1782  2010-05-07 12:39  apache-cxf-2.2.8inwsdl2xml.bat

     文件       2945  2010-05-07 12:39  apache-cxf-2.2.8inwsdlvalidator

     文件       1780  2010-05-07 12:39  apache-cxf-2.2.8inwsdlvalidator.bat

     文件       2599  2010-05-07 12:39  apache-cxf-2.2.8inxsd2wsdl

     文件       1780  2010-05-07 12:39  apache-cxf-2.2.8inxsd2wsdl.bat

     文件      41553  2010-05-07 12:46  apache-cxf-2.2.8docsapiallclasses-frame.html

     文件      36233  2010-05-07 12:46  apache-cxf-2.2.8docsapiallclasses-noframe.html

     文件     152833  2010-05-07 12:46  apache-cxf-2.2.8docsapiconstant-values.html

     文件       5234  2010-05-07 12:46  apache-cxf-2.2.8docsapideprecated-list.html

     文件       9864  2010-05-07 12:46  apache-cxf-2.2.8docsapihelp-doc.html

............此处省略2414个文件信息

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

发表评论

评论列表(条)