ipaddresssearchwebservicesoap.java
来自「XFire进行webservice开发的入门例子」· Java 代码 · 共 31 行
JAVA
31 行
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 + =
减小字号Ctrl + -
显示快捷键?