-
大小: 14.9MB文件类型: .zip金币: 1下载: 0 次发布日期: 2023-06-26
- 语言: Java
- 标签: webservice
资源简介
JAX-WS规范是一组XML web services的JAVA API,开发webservice很好用的包
代码片段和文件信息
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 1997-2010 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
* https://glassfish.dev.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 2011-07-28 16:08 jaxws-ri\
目录 0 2011-07-28 16:08 jaxws-ri\bin\
目录 0 2011-07-28 16:08 jaxws-ri\docs\
目录 0 2011-07-28 16:08 jaxws-ri\docs\st
目录 0 2011-07-28 16:36 jaxws-ri\lib\
目录 0 2011-07-28 16:08 jaxws-ri\samples\
目录 0 2011-07-28 16:08 jaxws-ri\samples\annotations\
目录 0 2011-07-28 16:08 jaxws-ri\samples\annotations\etc\
目录 0 2011-07-28 16:08 jaxws-ri\samples\annotations\src\
目录 0 2011-07-28 16:08 jaxws-ri\samples\annotations\src\annotations\
目录 0 2011-07-28 16:08 jaxws-ri\samples\annotations\src\annotations\client\
目录 0 2011-07-28 16:08 jaxws-ri\samples\annotations\src\annotations\server\
目录 0 2011-07-28 16:08 jaxws-ri\samples\async\
目录 0 2011-07-28 16:08 jaxws-ri\samples\async\etc\
目录 0 2011-07-28 16:08 jaxws-ri\samples\async\src\
目录 0 2011-07-28 16:08 jaxws-ri\samples\async\src\async\
目录 0 2011-07-28 16:08 jaxws-ri\samples\async\src\async\client\
目录 0 2011-07-28 16:08 jaxws-ri\samples\async\src\async\server\
目录 0 2011-07-28 16:08 jaxws-ri\samples\asyncprovider\
目录 0 2011-07-28 16:08 jaxws-ri\samples\asyncprovider\etc\
目录 0 2011-07-28 16:08 jaxws-ri\samples\asyncprovider\src\
目录 0 2011-07-28 16:08 jaxws-ri\samples\asyncprovider\src\asyncprovider\
目录 0 2011-07-28 16:08 jaxws-ri\samples\asyncprovider\src\asyncprovider\client\
目录 0 2011-07-28 16:08 jaxws-ri\samples\asyncprovider\src\asyncprovider\server\
目录 0 2011-07-28 16:08 jaxws-ri\samples\asyncservice\
目录 0 2011-07-28 16:08 jaxws-ri\samples\asyncservice\etc\
目录 0 2011-07-28 16:08 jaxws-ri\samples\asyncservice\src\
目录 0 2011-07-28 16:08 jaxws-ri\samples\asyncservice\src\asyncservice\
目录 0 2011-07-28 16:08 jaxws-ri\samples\asyncservice\src\asyncservice\client\
目录 0 2011-07-28 16:08 jaxws-ri\samples\asyncservice\src\asyncservice\server\
目录 0 2011-07-28 16:08 jaxws-ri\samples\catalog\
............此处省略587个文件信息
相关资源
- Android调用WebService的包括服务器端和客
- 金蝶K3 webservice接口
- WebServiceUtils
- asp做WebService,输出JSON格式数据
- java实现WebService显示天气预报
- 本地调用外部WebService接口
- Android通过webservice连接SqlServerAndroid4
- C#通过SOAP使用HttpWebRequest调用带有身份
- java android 调用webservice
- xfire-all-1.2.6 架包冲突解决版本
- WebService 的调用天气预报Demo
- C#调用JavaWebService(客户端)
- jaxws-api-2.1-1.jar
- 银行esb开发全过程使用webservice
- php调用java写的webservice
- asp.net通过WebService调用Java接口全过程
- Android之Webservice详解与调用天气预报
- webservice测试工具java版
- 使用Http post的方式调用webservice
- JAVA调用Webservice接口Demo
- C#调用java做成的webservice
- axis1.4所需全部jar包
- 快速的获取webservice服务端的接口
- webservice所需jar包
- NC中开发webservice所需工具包(低版本
- webservice测试调用工具.rar
- VB6调用WebService
- c#通过https方式调用java实现的webservi
- Java通过Axis2调用SAP的Webservice
- java 调用Webservice
评论
共有 条评论