package cn.com.webxml;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceFeature;
import javax.xml.ws.Service;
/**
* <a href="http://www.webxml.com.cn/" target="_blank">WebXml.com.cn</a> <strong>天气预报 Web 服务,</strong>数据来源于<strong>中国气象局</strong> <a href="http://www.cma.gov.cn/" target="_blank">http://www.cma.gov.cn/</a> ,数据每2.5小时左右自动更新一次,准确可靠。包括 340 多个中国主要城市和 60 多个国外主要城市三日内的天气预报数据。</br>此天气预报Web Services请不要用于任何商业目的,若有需要请<a href="http://www.webxml.com.cn/zh_cn/contact_us.aspx" target="_blank">联系我们</a>,欢迎技术交流。 QQ:8409035<br /><strong>使用本站 WEB 服务请注明或链接本站:http://www.webxml.com.cn/ 感谢大家的支持</strong>!<br /><span style="color:#999999;">通知:天气预报 WEB 服务如原来使用地址 http://www.onhap.com/WebServices/WeatherWebService.asmx 的,请改成现在使用的服务地址 http://www.webxml.com.cn/WebServices/WeatherWebService.asmx ,重新引用即可。</span><br /><br />
*
* This class was generated by Apache CXF 2.7.0
* 2012-11-23T14:44:52.390+08:00
* Generated source version: 2.7.0
*
*/
@WebServiceClient(name = "WeatherWebService",
wsdlLocation = "weather.wsdl",
targetNamespace = "http://WebXml.com.cn/")
public class WeatherWebService extends Service {
public final static URL WSDL_LOCATION;
public final static QName SERVICE = new QName("http://WebXml.com.cn/", "WeatherWebService");
public final static QName WeatherWebServiceHttpPost = new QName("http://WebXml.com.cn/", "WeatherWebServiceHttpPost");
public final static QName WeatherWebServiceHttpGet = new QName("http://WebXml.com.cn/", "WeatherWebServiceHttpGet");
public final static QName WeatherWebServiceSoap = new QName("http://WebXml.com.cn/", "WeatherWebServiceSoap");
public final static QName WeatherWebServiceSoap12 = new QName("http://WebXml.com.cn/", "WeatherWebServiceSoap12");
static {
URL url = WeatherWebService.class.getResource("weather.wsdl");
if (url == null) {
java.util.logging.Logger.getLogger(WeatherWebService.class.getName())
.log(java.util.logging.Level.INFO,
"Can not initialize the default wsdl from {0}", "weather.wsdl");
}
WSDL_LOCATION = url;
}
public WeatherWebService(URL wsdlLocation) {
super(wsdlLocation, SERVICE);
}
public WeatherWebService(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
public WeatherWebService() {
super(WSDL_LOCATION, SERVICE);
}
//This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
//API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
//compliant code instead.
// public WeatherWebService(WebServiceFeature ... features) {
// super(WSDL_LOCATION, SERVICE, features);
// }
//This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
//API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
//compliant code instead.
// public WeatherWebService(URL wsdlLocation, WebServiceFeature ... features) {
// super(wsdlLocation, SERVICE, features);
// }
//This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
//API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
//compliant code instead.
// public WeatherWebService(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
// super(wsdlLocation, serviceName, features);
// }
/**
*
* @return
* returns WeatherWebServiceHttpPost
*/
@WebEndpoint(name = "WeatherWebServiceHttpPost")
public WeatherWebServiceHttpPost getWeatherWebServiceHttpPost() {
return super.getPort(WeatherWebServiceHttpPost, WeatherWebServiceHttpPost.class);
}
/**
*
* @param features
* A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values.
* @return
* returns WeatherWebServiceHttpPost
*/
@WebEndpoint(name = "WeatherWebServiceHttpPost")
public WeatherWebServiceHttpPost getWeatherWebServiceHttpPost(WebServiceFeature... features) {
return super.getPort(WeatherWebServiceHttpPost, WeatherWebServiceHttpPost.class, features);
}
/**
*
* @return
* returns WeatherWebServiceHttpGet
*/
@WebEndpoint(name = "WeatherWebServiceHttpGet")
public WeatherWebServiceHttpGet getWeatherWebServiceHttpGet() {
return super.getPort(WeatherWebServiceHttpGet, WeatherWebServiceHttpGet.class);
}
/**
*
* @param features
* A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values.
* @return
* returns WeatherWebServiceHttpGet
*/
@WebEndpoint(name = "WeatherWebServiceHttpGet")
public WeatherWebServiceHttpGet getWeatherWebServiceHttpGet(WebServiceFeature... features) {
return super.getPort(WeatherWebServiceHttpGet, WeatherWebServiceHttpGet.class, features);
}
/**
*
* @return
* returns WeatherWebServiceSoap
*/
@WebEndpoint(name = "WeatherWebServiceSoap")
public WeatherWebServiceSoap getWeatherWebServiceSoap() {
return super.getPort(WeatherWebServiceSoap, WeatherWebServiceSoap.class);
}
/**
*
* @param features
* A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values.
* @return
* returns WeatherWebServiceSoap
*/
@WebEndpoint(name = "WeatherWebServiceSoap")
public WeatherWebServiceSoap getWeatherWebServiceSoap(WebServiceFeature... features) {
return super.getPort(WeatherWebServiceSoap, WeatherWebServiceSoap.class, features);
}
/**
*
* @return
* returns WeatherWebServiceSoap
*/
@WebEndpoint(name = "WeatherWebServiceSoap12")
public WeatherWebServiceSoap getWeatherWebServiceSoap12() {
return super.getPort(WeatherWebServiceSoap12, WeatherWebServiceSoap.class);
}
/**
*
* @param features
* A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values.
* @return
* returns WeatherWebServiceSoap
*/
@WebEndpoint(name = "WeatherWebServiceSoap12")
public WeatherWebServiceSoap getWeatherWebServiceSoap12(WebServiceFeature... features) {
return super.getPort(WeatherWebServiceSoap12, WeatherWebServiceSoap.class, features);
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
JAVA 用 Apache CXF 调用 .NET 服务端 WebService 代码
共64个文件
jar:20个
class:20个
java:19个
5星 · 超过95%的资源 需积分: 25 246 下载量 187 浏览量
2012-11-23
15:53:00
上传
评论 1
收藏 7.64MB ZIP 举报
温馨提示
JAVA 用 Apache CXF 调用 .NET 服务端 WebService 代码 整个JAVA工程的压缩,导入到myeclipse可直接运行,如果只想浏览下,请访问:http://blog.csdn.net/wqmain/article/details/8216331
资源推荐
资源详情
资源评论
收起资源包目录
JAVA 用 Apache CXF 调用 .NET 服务端 WebService.zip (64个子文件)
CXFTest
src
cn
com
webxml
GetSupportDataSet.java 708B
ArrayOfString.java 2KB
GetWeatherbyCityName.java 1KB
GetSupportDataSetResponse.java 3KB
GetSupportCityResponse.java 1KB
package-info.java 167B
WeatherWebService.java 7KB
WeatherWebServiceSoap.java 7KB
WeatherWebServiceHttpGet.java 5KB
GetSupportProvinceResponse.java 2KB
GetWeatherbyCityNamePro.java 2KB
GetSupportCity.java 1KB
GetWeatherbyCityNameResponse.java 2KB
GetSupportProvince.java 710B
ObjectFactory.java 5KB
DataSet.java 1KB
GetWeatherbyCityNameProResponse.java 2KB
WeatherWebServiceHttpPost.java 5KB
weather.wsdl 31KB
test
weather
WeatherTest.java 1KB
bin
cn
com
webxml
WeatherWebServiceHttpPost.class 1KB
GetWeatherbyCityName.class 891B
WeatherWebServiceSoap.class 2KB
package-info.class 320B
ArrayOfString.class 938B
DataSet.class 823B
GetSupportCityResponse.class 959B
GetSupportCity.class 876B
GetSupportDataSetResponse$GetSupportDataSetResult.class 1KB
GetWeatherbyCityNamePro.class 1KB
GetWeatherbyCityNameProResponse.class 1022B
GetSupportProvince.class 592B
GetSupportProvinceResponse.class 987B
GetSupportDataSet.class 588B
ObjectFactory.class 4KB
WeatherWebServiceHttpGet.class 1KB
GetWeatherbyCityNameResponse.class 1001B
GetSupportDataSetResponse.class 1KB
WeatherWebService.class 3KB
weather.wsdl 31KB
test
weather
WeatherTest.class 2KB
.classpath 2KB
.settings
org.eclipse.jdt.core.prefs 629B
.project 383B
lib
commons-logging-1.1.1.jar 59KB
cxf-xjc-runtime-2.6.0.jar 11KB
cxf-services-wsn-api-2.7.0.jar 228KB
cxf-manifest.jar 14KB
cxf-xjc-ts-2.6.0.jar 12KB
cxf-2.7.0.jar 6.45MB
httpasyncclient-4.0-beta3.jar 80KB
neethi-3.0.2.jar 70KB
cxf-services-ws-discovery-service-2.7.0.jar 10KB
wsdl4j-1.6.2.jar 145KB
xmlschema-core-2.0.3.jar 159KB
cxf-services-sts-core-2.7.0.jar 181KB
cxf-services-wsn-core-2.7.0.jar 61KB
cxf-xjc-dv-2.6.0.jar 15KB
cxf-services-ws-discovery-api-2.7.0.jar 50KB
httpclient-4.2.1.jar 417KB
httpcore-4.2.2.jar 218KB
cxf-xjc-bug671-2.6.0.jar 11KB
httpcore-nio-4.2.2.jar 279KB
cxf-xjc-boolean-2.6.0.jar 10KB
共 64 条
- 1
千骑卷平冈
- 粉丝: 26
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 小说网站-JAVA-基于springBoot“西贝”小说网站的设计与实现
- 游戏分享网站-JAVA-基于springBoot“腾达”游戏分享网站的设计与实现
- 学习交流-JAVA-基于springBoot“非学勿扰”学习交流平台设计与实现
- EDAfloorplanning
- 所有课程均提供 Python 复习部分.zip
- 所有算法均在 Python 3 中实现,是 hacktoberfest2020 的一个项目 - 没有针对 hacktoberfest 2021 的问题或 PR.zip
- OpenCV的用户手册资源.zip
- 用springmvc实现的校园选课管理系统
- 我的所有 Python 代码都存储在这个文件夹中 .zip
- 以下是关于毕业设计项目开发的详细资源.docx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
- 5
前往页