package cn.com.webxml;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;
/**
* This class was generated by the JAX-WS RI.
* JAX-WS RI 2.2.9-b130926.1035
* Generated source version: 2.2
*
*/
@WebService(name = "WeatherWSSoap", targetNamespace = "http://WebXml.com.cn/")
@XmlSeeAlso({
ObjectFactory.class
})
public interface WeatherWSSoap {
/**
* <br /><h3>获得中国省份、直辖市、地区;国家名称(国外)和与之对应的ID</h3><p>输入参数:无,返回数据:DataSet。</p><br />
*
* @return
* returns cn.com.webxml.GetRegionDatasetResponse.GetRegionDatasetResult
*/
@WebMethod(action = "http://WebXml.com.cn/getRegionDataset")
@WebResult(name = "getRegionDatasetResult", targetNamespace = "http://WebXml.com.cn/")
@RequestWrapper(localName = "getRegionDataset", targetNamespace = "http://WebXml.com.cn/", className = "cn.com.webxml.GetRegionDataset")
@ResponseWrapper(localName = "getRegionDatasetResponse", targetNamespace = "http://WebXml.com.cn/", className = "cn.com.webxml.GetRegionDatasetResponse")
public cn.com.webxml.GetRegionDatasetResponse.GetRegionDatasetResult getRegionDataset();
/**
* <br /><h3>获得中国省份、直辖市、地区和与之对应的ID</h3><p>输入参数:无,返回数据:一维字符串数组。</p><br />
*
* @return
* returns cn.com.webxml.ArrayOfString
*/
@WebMethod(action = "http://WebXml.com.cn/getRegionProvince")
@WebResult(name = "getRegionProvinceResult", targetNamespace = "http://WebXml.com.cn/")
@RequestWrapper(localName = "getRegionProvince", targetNamespace = "http://WebXml.com.cn/", className = "cn.com.webxml.GetRegionProvince")
@ResponseWrapper(localName = "getRegionProvinceResponse", targetNamespace = "http://WebXml.com.cn/", className = "cn.com.webxml.GetRegionProvinceResponse")
public ArrayOfString getRegionProvince();
/**
* <br /><h3>获得国外国家名称和与之对应的ID</h3><p>输入参数:无,返回数据:一维字符串数组。</p><br />
*
* @return
* returns cn.com.webxml.ArrayOfString
*/
@WebMethod(action = "http://WebXml.com.cn/getRegionCountry")
@WebResult(name = "getRegionCountryResult", targetNamespace = "http://WebXml.com.cn/")
@RequestWrapper(localName = "getRegionCountry", targetNamespace = "http://WebXml.com.cn/", className = "cn.com.webxml.GetRegionCountry")
@ResponseWrapper(localName = "getRegionCountryResponse", targetNamespace = "http://WebXml.com.cn/", className = "cn.com.webxml.GetRegionCountryResponse")
public ArrayOfString getRegionCountry();
/**
* <br /><h3>获得支持的城市/地区名称和与之对应的ID</h3><p>输入参数:theRegionCode = 省市、国家ID或名称,返回数据:DataSet。</p><br />
*
* @param theRegionCode
* @return
* returns cn.com.webxml.GetSupportCityDatasetResponse.GetSupportCityDatasetResult
*/
@WebMethod(action = "http://WebXml.com.cn/getSupportCityDataset")
@WebResult(name = "getSupportCityDatasetResult", targetNamespace = "http://WebXml.com.cn/")
@RequestWrapper(localName = "getSupportCityDataset", targetNamespace = "http://WebXml.com.cn/", className = "cn.com.webxml.GetSupportCityDataset")
@ResponseWrapper(localName = "getSupportCityDatasetResponse", targetNamespace = "http://WebXml.com.cn/", className = "cn.com.webxml.GetSupportCityDatasetResponse")
public cn.com.webxml.GetSupportCityDatasetResponse.GetSupportCityDatasetResult getSupportCityDataset(
@WebParam(name = "theRegionCode", targetNamespace = "http://WebXml.com.cn/")
String theRegionCode);
/**
* <br /><h3>获得支持的城市/地区名称和与之对应的ID</h3><p>输入参数:theRegionCode = 省市、国家ID或名称,返回数据:一维字符串数组。</p><br />
*
* @param theRegionCode
* @return
* returns cn.com.webxml.ArrayOfString
*/
@WebMethod(action = "http://WebXml.com.cn/getSupportCityString")
@WebResult(name = "getSupportCityStringResult", targetNamespace = "http://WebXml.com.cn/")
@RequestWrapper(localName = "getSupportCityString", targetNamespace = "http://WebXml.com.cn/", className = "cn.com.webxml.GetSupportCityString")
@ResponseWrapper(localName = "getSupportCityStringResponse", targetNamespace = "http://WebXml.com.cn/", className = "cn.com.webxml.GetSupportCityStringResponse")
public ArrayOfString getSupportCityString(
@WebParam(name = "theRegionCode", targetNamespace = "http://WebXml.com.cn/")
String theRegionCode);
/**
* <br /><h3>获得天气预报数据</h3><p>输入参数:城市/地区ID或名称,返回数据:一维字符串数组。</p><br />
*
* @param theUserID
* @param theCityCode
* @return
* returns cn.com.webxml.ArrayOfString
*/
@WebMethod(action = "http://WebXml.com.cn/getWeather")
@WebResult(name = "getWeatherResult", targetNamespace = "http://WebXml.com.cn/")
@RequestWrapper(localName = "getWeather", targetNamespace = "http://WebXml.com.cn/", className = "cn.com.webxml.GetWeather")
@ResponseWrapper(localName = "getWeatherResponse", targetNamespace = "http://WebXml.com.cn/", className = "cn.com.webxml.GetWeatherResponse")
public ArrayOfString getWeather(
@WebParam(name = "theCityCode", targetNamespace = "http://WebXml.com.cn/")
String theCityCode,
@WebParam(name = "theUserID", targetNamespace = "http://WebXml.com.cn/")
String theUserID);
}
没有合适的资源?快使用搜索试试~ 我知道了~
WebService客户端调用WebService服务示例代码——java
共206个文件
class:86个
jar:63个
java:44个
需积分: 39 23 下载量 132 浏览量
2019-01-03
17:01:13
上传
评论
收藏 78.41MB ZIP 举报
温馨提示
WebService客户端调用WebService服务示例代码,java代码,纯手工,包括直接httpClient直接发送Saop报文调用和利用wsimport -keep 生成客户端代码后调用两种方式的示例。因涉及商务账户密码隐私,因此代码中的有些账号密码已修改,非正确,但代码可用
资源推荐
资源详情
资源评论
收起资源包目录
WebService客户端调用WebService服务示例代码——java (206个子文件)
SmsClientTest2.class 6KB
ObjectFactory.class 4KB
ObjectFactory.class 3KB
WsSmsServiceService.class 3KB
SmsClientTest.class 3KB
WeatherWSSoap.class 3KB
WeatherWSSoap.class 3KB
MobileCodeWS.class 3KB
WeatherWS.class 3KB
TaskServer.class 3KB
WsSmsServiceService.class 2KB
ObjectFactory.class 2KB
MobileCodeWS.class 2KB
WeatherWS.class 2KB
TaskServer.class 2KB
ObjectFactory.class 2KB
UserInboxTaskWSClient.class 2KB
WsSmsService.class 2KB
WsSmsService.class 2KB
WeatherWSClient.class 2KB
GetSupportCityDatasetResponse.class 1KB
MobileCodeWSSoap.class 1KB
MobileCodeWSSoap.class 1KB
GetRegionDatasetResponse.class 1KB
GetSupportCityDatasetResponse.class 1KB
GetSupportCityDatasetResponse$GetSupportCityDatasetResult.class 1KB
GetRegionDatasetResponse$GetRegionDatasetResult.class 1KB
GetMobileCodeInfo.class 1KB
GetRegionDatasetResponse.class 1KB
GetWeather.class 1KB
GetUserInboxTaskResponse.class 1019B
PhoneWsClient.class 1003B
GetSupportCityStringResponse.class 1001B
GetSupportCityDatasetResponse$GetSupportCityDatasetResult.class 991B
GetRegionProvinceResponse.class 980B
GetRegionCountryResponse.class 973B
GetDatabaseInfoResponse.class 966B
GetRegionDatasetResponse$GetRegionDatasetResult.class 966B
SendTplSmsResponse.class 949B
GetMobileCodeInfoResponse.class 947B
ArrayOfString.class 938B
SendSmsResponse.class 937B
GetWeatherResponse.class 931B
TaskServerSoap.class 926B
TaskServerSoap.class 926B
GetSupportCityDataset.class 901B
DataSet.class 899B
GetSupportCityString.class 897B
GetMobileCodeInfo.class 893B
GetUserInboxTaskResponse.class 886B
GetWeather.class 884B
GetSupportCityStringResponse.class 862B
GetUserInboxTask.class 856B
GetRegionProvinceResponse.class 844B
SendTplSms.class 843B
ArrayOfString.class 842B
GetRegionCountryResponse.class 838B
GetDatabaseInfoResponse.class 832B
SendSms.class 831B
GetMobileCodeInfoResponse.class 811B
DataSet.class 809B
GetWeatherResponse.class 802B
SendTplSmsResponse.class 785B
SendSmsResponse.class 776B
GetSupportCityDataset.class 769B
GetSupportCityString.class 766B
GetUserInboxTask.class 731B
ObjectFactory.class 724B
SendTplSms.class 687B
SendSms.class 678B
ObjectFactory.class 612B
GetRegionProvince.class 588B
GetRegionDataset.class 584B
GetRegionCountry.class 584B
GetDatabaseInfo.class 580B
GetRegionProvince.class 506B
GetRegionDataset.class 503B
GetRegionCountry.class 503B
GetDatabaseInfo.class 500B
Util.class 476B
package-info.class 320B
package-info.class 320B
package-info.class 316B
package-info.class 316B
package-info.class 310B
package-info.class 310B
.classpath 916B
org.eclipse.wst.common.component 499B
org.eclipse.wst.jsdt.ui.superType.container 49B
.DS_Store 8KB
.DS_Store 6KB
.DS_Store 6KB
masmgc.sdk.mms-0.0.1-SNAPSHOT.jar 29.31MB
masmgc.sdk-0.0.1-SNAPSHOT.jar 19.85MB
ooxml-schemas-1.0.jar 13.36MB
xmlbeans-2.3.0.jar 2.54MB
ojdbc6.jar 2.01MB
druid-1.0.15.jar 1.86MB
aspectjweaver-1.8.6.jar 1.78MB
poi-3.5-FINAL-20090928.jar 1.45MB
共 206 条
- 1
- 2
- 3
资源评论
沫离痕
- 粉丝: 42
- 资源: 17
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功