timeservicesoapbindingskeleton.java

来自「精通Jboss——Ejb和Web Services开发精解的随书源代码」· Java 代码 · 共 60 行

JAVA
60
字号
/**
 * TimeServiceSoapBindingSkeleton.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis WSDL2Java emitter.
 */

package com.liuyang.axis.server;

public class TimeServiceSoapBindingSkeleton implements com.liuyang.axis.server.TimeService, org.apache.axis.wsdl.Skeleton {
    private com.liuyang.axis.server.TimeService impl;
    private static java.util.Map _myOperations = new java.util.Hashtable();
    private static java.util.Collection _myOperationsList = new java.util.ArrayList();

    /**
    * Returns List of OperationDesc objects with this name
    */
    public static java.util.List getOperationDescByName(java.lang.String methodName) {
        return (java.util.List)_myOperations.get(methodName);
    }

    /**
    * Returns Collection of OperationDescs
    */
    public static java.util.Collection getOperationDescs() {
        return _myOperationsList;
    }

    static {
        org.apache.axis.description.OperationDesc _oper;
        org.apache.axis.description.FaultDesc _fault;
        org.apache.axis.description.ParameterDesc [] _params;
        _params = new org.apache.axis.description.ParameterDesc [] {
        };
        _oper = new org.apache.axis.description.OperationDesc("getTime", _params, new javax.xml.namespace.QName("", "getTimeReturn"));
        _oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        _oper.setElementQName(new javax.xml.namespace.QName("urn:TimeService", "getTime"));
        _oper.setSoapAction("");
        _myOperationsList.add(_oper);
        if (_myOperations.get("getTime") == null) {
            _myOperations.put("getTime", new java.util.ArrayList());
        }
        ((java.util.List)_myOperations.get("getTime")).add(_oper);
    }

    public TimeServiceSoapBindingSkeleton() {
        this.impl = new com.liuyang.axis.server.TimeServiceSoapBindingImpl();
    }

    public TimeServiceSoapBindingSkeleton(com.liuyang.axis.server.TimeService impl) {
        this.impl = impl;
    }
    public java.lang.String getTime() throws java.rmi.RemoteException
    {
        java.lang.String ret = impl.getTime();
        return ret;
    }

}

⌨️ 快捷键说明

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