authserviceimpl.java
来自「Xfire文件 用于开发web service 的一个开源工具 很好用的」· Java 代码 · 共 30 行
JAVA
30 行
package org.codehaus.xfire.jaxws.services;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;import services.auth.AuthServicePortType;import xfire.authenticate.fault.AuthenticationFault;@WebService(serviceName = "AuthService", targetNamespace = "urn:xfire:authenticate", endpointInterface = "services.auth.AuthServicePortType")@SOAPBinding(style = Style.DOCUMENT, use = Use.LITERAL, parameterStyle = ParameterStyle.WRAPPED)public class AuthServiceImpl implements AuthServicePortType{ public String authenticate(String in0, String in1) throws services.auth.AuthenticationException { AuthenticationFault fault = new AuthenticationFault(); fault.setErrorCode(1); throw new services.auth.AuthenticationException("fault", fault); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?