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

📄 accountcreatewebservice.java

📁 SOA
💻 JAVA
字号:
/* * 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;    }}

⌨️ 快捷键说明

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