# webService_Client **Repository Path**: accumulate_steadily_xz/webService_Client ## Basic Information - **Project Name**: webService_Client - **Description**: 使用idea简单调用公网的手机归属地查询服务 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-06-30 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # webService_Client #### 介绍 使用idea简单调用公网的手机归属地查询服务 #### webservice公网服务地址 里面有很多服务,可以尝试调用 http://www.webxml.com.cn/zh_cn/index.aspx #### 安装教程 1. 获取公网服务的wsdl地址 http://ws.webxml.com.cn/WebServices/MobileCodeWS.asmx?wsdl ![内容如图所示](https://images.gitee.com/uploads/images/2020/0630/151349_9f46ebe5_7421802.png "屏幕截图.png") 2. 创建一个简单的java项目,按步骤,根据wsdl生成客户端代码 ![idea2019.3.5版本的操作](https://images.gitee.com/uploads/images/2020/0630/151611_16e5b0f3_7421802.png "屏幕截图.png") ![输入wsdl的url地址](https://images.gitee.com/uploads/images/2020/0630/151740_9919529b_7421802.png "屏幕截图.png") ![自动生成代码如图](https://images.gitee.com/uploads/images/2020/0630/151826_58a42766_7421802.png "屏幕截图.png") 3. 创建主方法,调用对象即可 ![输入图片说明](https://images.gitee.com/uploads/images/2020/0630/152124_bf271577_7421802.png "屏幕截图.png")