?? accountcreatewebservice.java
字號(hào):
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package cn.edu.sysu.tute;import javax.ejb.EJB;import javax.ejb.Stateless;import javax.jws.WebService;import org.netbeans.j2ee.wsdl.accountcreatewsdl.AccountCreateWSDLPortType;/** * * @author Levi Wong */@WebService(serviceName = "AccountCreateWSDLService", portName = "AccountCreateWSDLPort", endpointInterface = "org.netbeans.j2ee.wsdl.accountcreatewsdl.AccountCreateWSDLPortType", targetNamespace = "http://j2ee.netbeans.org/wsdl/AccountCreateWSDL", wsdlLocation = "META-INF/wsdl/AccountCreateWebService/AccountCreateWSDLWrapper.wsdl")@Statelesspublic class AccountCreateWebService implements AccountCreateWSDLPortType { @EJB private AccountCreateSessionLocal accountCreateSessionBean; public com.sun.demo.openesb.types.accountcreateresponsemsg.AccountCreateResponseMsg accountCreateWSDLOperation(com.sun.demo.openesb.types.accountcreaterequestmsg.AccountCreateRequestMsg accountCreateInput) { com.sun.demo.openesb.types.accountcreateresponsemsg.AccountCreateResponseMsg response = new com.sun.demo.openesb.types.accountcreateresponsemsg.AccountCreateResponseMsg(); String accountNum = accountCreateInput.getAccountNum(); String status = accountCreateSessionBean.createAccount(accountNum); response.setStatus(status); response.setDecision("Process End"); return response; }}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -