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

📄 amountvalidwebservice.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.ejbbanking.amountvalidwsdl.AmountValidWSDLPortType;/** * * @author Levi Wong */@WebService(serviceName = "amountValidWSDLService", portName = "amountValidWSDLPort", endpointInterface = "org.netbeans.j2ee.wsdl.ejbbanking.amountvalidwsdl.AmountValidWSDLPortType", targetNamespace = "http://j2ee.netbeans.org/wsdl/ejbBanking/amountValidWSDL", wsdlLocation = "META-INF/wsdl/AmountValidWebService/amountValidWSDLWrapper.wsdl")@Statelesspublic class AmountValidWebService implements AmountValidWSDLPortType {    @EJB    private AmountValidSessionLocal amountValidSessionBean;    public com.sun.demo.openesb.types.amountisvalidresponsemsg.AmountIsValidResponseMsg amountValidWSDLOperation(com.sun.demo.openesb.types.amountisvalidrequestmsg.AmountIsValidRequestMsg amountInput) {        com.sun.demo.openesb.types.amountisvalidresponsemsg.AmountIsValidResponseMsg response = new com.sun.demo.openesb.types.amountisvalidresponsemsg.AmountIsValidResponseMsg();        int opAmount = amountInput.getOperateAmount();        response.setIsAmountValid(amountValidSessionBean.amountValid(opAmount));        return response;    }}

⌨️ 快捷键说明

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