⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ipaddresssearchwebservicesoap.java

📁 XFire进行webservice开发的入门例子
💻 JAVA
字号:

package hpx.example.xfire;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import cn.com.webxml.ArrayOfString;

@WebService(name = "IpAddressSearchWebServiceSoap", targetNamespace = "http://WebXml.com.cn/")
@SOAPBinding(use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED)
public interface IpAddressSearchWebServiceSoap {


    @WebMethod(operationName = "getCountryCityByIp", action = "http://WebXml.com.cn/getCountryCityByIp")
    @WebResult(name = "getCountryCityByIpResult", targetNamespace = "http://WebXml.com.cn/")
    public ArrayOfString getCountryCityByIp(
        @WebParam(name = "theIpAddress", targetNamespace = "http://WebXml.com.cn/")
        String theIpAddress);

    @WebMethod(operationName = "getVersionTime", action = "http://WebXml.com.cn/getVersionTime")
    @WebResult(name = "getVersionTimeResult", targetNamespace = "http://WebXml.com.cn/")
    public String getVersionTime();

    @WebMethod(operationName = "getGeoIPContext", action = "http://WebXml.com.cn/getGeoIPContext")
    @WebResult(name = "getGeoIPContextResult", targetNamespace = "http://WebXml.com.cn/")
    public ArrayOfString getGeoIPContext();

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -