-
大小: 16.7MB文件类型: .zip金币: 2下载: 2 次发布日期: 2023-07-04
- 语言: Java
- 标签: JAX-WS jaxws webService
资源简介
解决参考网上使用myeclipse10开发JAX-WS webService项目报找不到类的异常,
解压文件后把lib下的jar全放到lib目录下即可。这是jaxws-ri-2.2.8版本。
代码片段和文件信息
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only (“GPL“) or the Common Development
* and Distribution License(“CDDL“) (collectively the “License“). You
* may not use this file except in compliance with the License. You can
* obtain a copy of the License at
* http://glassfish.java.net/public/CDDL+GPL_1_1.html
* or packager/legal/LICENSE.txt. See the License for the specific
* language governing permissions and limitations under the License.
*
* When distributing the software include this License Header Notice in each
* file and include the License file at packager/legal/LICENSE.txt.
*
* GPL Classpath Exception:
* Oracle designates this particular file as subject to the “Classpath“
* exception as provided by Oracle in the GPL Version 2 section of the License
* file that accompanied this code.
*
* Modifications:
* If applicable add the following below the License Header with the fields
* enclosed by brackets [] replaced by your own identifying information:
* “Portions Copyright [year] [name of copyright owner]“
*
* Contributor(s):
* If you wish your version of this file to be governed by only the CDDL or
* only the GPL Version 2 indicate your decision by adding “[Contributor]
* elects to include this software in this distribution under the [CDDL or GPL
* Version 2] license.“ If you don‘t indicate a single choice of license a
* recipient has the option to distribute your version of this file under
* either the CDDL the GPL Version 2 or to extend the choice of license to
* its licensees as provided above. However if you add GPL Version 2 code
* and therefore elected the GPL Version 2 license then the option applies
* only if the new code is made subject to such option by the copyright
* holder.
*/
package annotations.client;
public class AddNumbersClient {
public static void main(String[] args) {
try {
AddNumbers port = new AddNumbersImplService().getAddNumbersImplPort();
int number1 = 10;
int number2 = 20;
System.out.printf(“Invoking addNumbers(%d %d)\n“ number1 number2);
int result = port.add(number1 number2);
System.out.printf(“The result of adding %d and %d is %d.\n\n“ number1 number2 result);
number1 = -10;
System.out.printf(“Invoking addNumbers(%d %d)\n“ number1 number2);
result = port.add(number1 number2);
System.out.printf(“The result of adding %d and %d is %d.\n“ number1 number2 result);
} catch (AddNumbersException_Exception ex) {
System.out.printf(“Caught AddNumbersException_Exception: %s\n“ ex.getFaultInfo().getFaultInfo());
}
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2013-04-29 18:51 jaxws-ri\
目录 0 2013-04-29 18:51 jaxws-ri\lib\
文件 26119 2013-04-29 16:54 jaxws-ri\lib\javax.annotation-api.jar
文件 68177 2013-04-29 16:55 jaxws-ri\lib\resolver.jar
文件 2445445 2013-04-29 17:46 jaxws-ri\lib\jaxws-rt.jar
文件 100146 2013-04-29 16:54 jaxws-ri\lib\jaxb-api.jar
文件 49100 2013-04-29 16:54 jaxws-ri\lib\jaxws-api.jar
文件 40812 2013-04-29 16:54 jaxws-ri\lib\javax.xm
文件 7989 2013-04-29 16:54 jaxws-ri\lib\jsr181-api.jar
文件 221747 2013-04-29 16:55 jaxws-ri\lib\jaxb-core.jar
文件 919968 2013-04-29 16:55 jaxws-ri\lib\jaxb-impl.jar
文件 293863 2013-04-29 16:55 jaxws-ri\lib\FastInfoset.jar
文件 158494 2013-04-29 16:55 jaxws-ri\lib\policy.jar
文件 21820 2013-04-29 16:55 jaxws-ri\lib\gmbal-api-only.jar
文件 44724 2013-04-29 16:55 jaxws-ri\lib\management-api.jar
文件 16655 2013-04-29 16:55 jaxws-ri\lib\stax-ex.jar
文件 64332 2013-04-29 16:55 jaxws-ri\lib\streambuffer.jar
文件 59175 2013-04-29 16:55 jaxws-ri\lib\mimepull.jar
文件 36383 2013-04-29 16:57 jaxws-ri\lib\ha-api.jar
文件 427999 2013-04-29 17:42 jaxws-ri\lib\saaj-impl.jar
文件 478935 2013-04-29 16:55 jaxws-ri\lib\woodstox-core-asl.jar
文件 182112 2013-04-29 16:55 jaxws-ri\lib\stax2-api.jar
文件 841559 2013-04-29 18:05 jaxws-ri\lib\jaxws-tools.jar
文件 114094 2013-04-29 16:58 jaxws-ri\lib\jaxb-jxc.jar
文件 1930174 2013-04-29 16:58 jaxws-ri\lib\jaxb-xjc.jar
目录 0 2013-04-29 18:51 jaxws-ri\docs\
文件 20558 2013-04-29 18:50 jaxws-ri\docs\ch07.html
文件 8500 2013-04-29 18:50 jaxws-ri\docs\ch06.html
文件 8920 2013-04-29 18:50 jaxws-ri\docs\ch05.html
文件 75117 2013-04-29 18:50 jaxws-ri\docs\ch04.html
文件 484368 2013-04-29 18:50 jaxws-ri\docs\ch03.html
............此处省略709个文件信息
相关资源
- JAVA用WebService实现调用天气预报功能
- SpringMVC+xfire1.2.6webService
- ksoap2-android.jar最新的
- 转WebService之WSDL和SOAP(基于JAVA)
- 毕业论文答辩-Android应用源码调用we
- SSD8-Ex4待办事项列表答案参考
- java中webservice常用jar包
- springmvc2.5.6实现webservice rest接口
- Java调用ASP.NET的WebService接口
- webservice服务中WSServletContextListener监听
- java 调用webservice使用HttpClient和XFire两
- android基于soap协议的web service调用不用
- Android通过WebService连接SQLserver数据库的
- Android studio3.0.1; vs2013 ; 调用C#写的We
- 基于Android平台的天气预报软件设计本
- Android 通过WebService进行网络编程,使
- java服装管理系统
- wsdl文件生成java webservice 工具(附带生
- javaWebservice.rar
- RxJava+WebService
- Java调用Webservice接口的jar包
- springboot+memcached+mybatis+shiro+webservice聚
- AntiSamy Xss跨站脚本攻击WebService War包
- java开发webservice的简单
- java webservice调试工具
- android 访问c# webservice 实现登陆注册功
- AndroidFragment整合上篇Webservice后台
- jaxws-rt-2.2.8.jar java webservice依赖包
- java webservice 客户端、服务端生成工具
- Web Service通用客户端和测试工具()
评论
共有 条评论