globalweathercustomimpl.java

来自「Xfire文件 用于开发web service 的一个开源工具 很好用的」· Java 代码 · 共 28 行

JAVA
28
字号
package jsr181.jaxb.globalweather;import javax.jws.WebService;import javax.jws.soap.SOAPBinding;import javax.jws.soap.SOAPBinding.ParameterStyle;import javax.jws.soap.SOAPBinding.Style;import javax.jws.soap.SOAPBinding.Use;@WebService(serviceName = "GlobalWeather", targetNamespace = "http://www.webserviceX.NET", endpointInterface = "jsr181.jaxb.globalweather.GlobalWeatherSoap")@SOAPBinding(style = Style.DOCUMENT, use = Use.LITERAL, parameterStyle = ParameterStyle.WRAPPED)public class GlobalWeatherCustomImpl    implements GlobalWeatherSoap{    public String getCitiesByCountry(String CountryName)    {        return null;    }    public String getWeather(String CityName, String CountryName)    {        return "foo";    }}

⌨️ 快捷键说明

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