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

📄 schedulerwssei_stub.java

📁 这是一个基于计算网格的web service。它用java编写。一旦安装完成
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
// This class was generated by the JAXRPC SI, do not edit.// Contents subject to change without notice.// JAX-RPC Standard Implementation (1.1.2_02, build R41)// Generated source version: 1.1.2package jwsgrid.ws.scheduler;import com.sun.xml.rpc.server.http.MessageContextProperties;import com.sun.xml.rpc.streaming.*;import com.sun.xml.rpc.encoding.*;import com.sun.xml.rpc.encoding.soap.SOAPConstants;import com.sun.xml.rpc.encoding.soap.SOAP12Constants;import com.sun.xml.rpc.encoding.literal.*;import com.sun.xml.rpc.soap.streaming.*;import com.sun.xml.rpc.soap.message.*;import com.sun.xml.rpc.soap.SOAPVersion;import com.sun.xml.rpc.soap.SOAPEncodingConstants;import com.sun.xml.rpc.wsdl.document.schema.SchemaConstants;import javax.xml.namespace.QName;import java.rmi.RemoteException;import java.util.Iterator;import java.lang.reflect.*;import java.lang.Class;import com.sun.xml.rpc.client.SenderException;import com.sun.xml.rpc.client.*;import com.sun.xml.rpc.client.http.*;import javax.xml.rpc.handler.*;import javax.xml.rpc.JAXRPCException;import javax.xml.rpc.soap.SOAPFaultException;public class SchedulerWSSEI_Stub    extends com.sun.xml.rpc.client.StubBase    implements jwsgrid.ws.scheduler.SchedulerWSSEI {                /*     *  public constructor     */    public SchedulerWSSEI_Stub(HandlerChain handlerChain) {        super(handlerChain);        _setProperty(ENDPOINT_ADDRESS_PROPERTY, "REPLACE_WITH_ACTUAL_URL");    }            /*     *  implementation of queryBundle     */    public java.lang.String queryBundle(java.lang.String string_1)        throws java.rmi.RemoteException {                try {                        StreamingSenderState _state = _start(_handlerChain);                        InternalSOAPMessage _request = _state.getRequest();            _request.setOperationCode(queryBundle_OPCODE);            jwsgrid.ws.scheduler.SchedulerWSSEI_queryBundle_RequestStruct _mySchedulerWSSEI_queryBundle_RequestStruct =                new jwsgrid.ws.scheduler.SchedulerWSSEI_queryBundle_RequestStruct();                        _mySchedulerWSSEI_queryBundle_RequestStruct.setString_1(string_1);                        SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_queryBundle_queryBundle_QNAME);            _bodyBlock.setValue(_mySchedulerWSSEI_queryBundle_RequestStruct);            _bodyBlock.setSerializer(ns1_mySchedulerWSSEI_queryBundle_RequestStruct_SOAPSerializer);            _request.setBody(_bodyBlock);                        _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "");                        _send((String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);                        jwsgrid.ws.scheduler.SchedulerWSSEI_queryBundle_ResponseStruct _mySchedulerWSSEI_queryBundle_ResponseStruct = null;            Object _responseObj = _state.getResponse().getBody().getValue();            if (_responseObj instanceof SOAPDeserializationState) {                _mySchedulerWSSEI_queryBundle_ResponseStruct =                    (jwsgrid.ws.scheduler.SchedulerWSSEI_queryBundle_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();            } else {                _mySchedulerWSSEI_queryBundle_ResponseStruct =                    (jwsgrid.ws.scheduler.SchedulerWSSEI_queryBundle_ResponseStruct)_responseObj;            }                        return _mySchedulerWSSEI_queryBundle_ResponseStruct.getResult();        } catch (RemoteException e) {            // let this one through unchanged            throw e;        } catch (JAXRPCException e) {            throw new RemoteException(e.getMessage(), e);        } catch (Exception e) {            if (e instanceof RuntimeException) {                throw (RuntimeException)e;            } else {                throw new RemoteException(e.getMessage(), e);            }        }    }        /*     *  implementation of scheduleBundle     */    public java.lang.String scheduleBundle(java.lang.String string_1, java.lang.String string_2, java.lang.String string_3, javax.activation.DataHandler dataHandler_4)        throws java.rmi.RemoteException {                try {                        StreamingSenderState _state = _start(_handlerChain);                        InternalSOAPMessage _request = _state.getRequest();            _request.setOperationCode(scheduleBundle_OPCODE);            jwsgrid.ws.scheduler.SchedulerWSSEI_scheduleBundle_RequestStruct _mySchedulerWSSEI_scheduleBundle_RequestStruct =                new jwsgrid.ws.scheduler.SchedulerWSSEI_scheduleBundle_RequestStruct();                        _mySchedulerWSSEI_scheduleBundle_RequestStruct.setString_1(string_1);            _mySchedulerWSSEI_scheduleBundle_RequestStruct.setString_2(string_2);            _mySchedulerWSSEI_scheduleBundle_RequestStruct.setString_3(string_3);            _mySchedulerWSSEI_scheduleBundle_RequestStruct.setDataHandler_4(dataHandler_4);                        SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_scheduleBundle_scheduleBundle_QNAME);            _bodyBlock.setValue(_mySchedulerWSSEI_scheduleBundle_RequestStruct);            _bodyBlock.setSerializer(ns1_mySchedulerWSSEI_scheduleBundle_RequestStruct_SOAPSerializer);            _request.setBody(_bodyBlock);                        _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "");                        _send((String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);                        jwsgrid.ws.scheduler.SchedulerWSSEI_scheduleBundle_ResponseStruct _mySchedulerWSSEI_scheduleBundle_ResponseStruct = null;            Object _responseObj = _state.getResponse().getBody().getValue();            if (_responseObj instanceof SOAPDeserializationState) {                _mySchedulerWSSEI_scheduleBundle_ResponseStruct =                    (jwsgrid.ws.scheduler.SchedulerWSSEI_scheduleBundle_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();            } else {                _mySchedulerWSSEI_scheduleBundle_ResponseStruct =                    (jwsgrid.ws.scheduler.SchedulerWSSEI_scheduleBundle_ResponseStruct)_responseObj;            }                        return _mySchedulerWSSEI_scheduleBundle_ResponseStruct.getResult();        } catch (RemoteException e) {            // let this one through unchanged            throw e;        } catch (JAXRPCException e) {            throw new RemoteException(e.getMessage(), e);        } catch (Exception e) {            if (e instanceof RuntimeException) {                throw (RuntimeException)e;            } else {                throw new RemoteException(e.getMessage(), e);            }        }    }        /*     *  implementation of queryBundle2     */    public java.lang.String queryBundle2(java.lang.String string_1, java.lang.String string_2)        throws java.rmi.RemoteException {                try {                        StreamingSenderState _state = _start(_handlerChain);                        InternalSOAPMessage _request = _state.getRequest();            _request.setOperationCode(queryBundle2_OPCODE);            jwsgrid.ws.scheduler.SchedulerWSSEI_queryBundle2_RequestStruct _mySchedulerWSSEI_queryBundle2_RequestStruct =                new jwsgrid.ws.scheduler.SchedulerWSSEI_queryBundle2_RequestStruct();                        _mySchedulerWSSEI_queryBundle2_RequestStruct.setString_1(string_1);            _mySchedulerWSSEI_queryBundle2_RequestStruct.setString_2(string_2);                        SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_queryBundle2_queryBundle2_QNAME);            _bodyBlock.setValue(_mySchedulerWSSEI_queryBundle2_RequestStruct);            _bodyBlock.setSerializer(ns1_mySchedulerWSSEI_queryBundle2_RequestStruct_SOAPSerializer);            _request.setBody(_bodyBlock);                        _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "");                        _send((String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);                        jwsgrid.ws.scheduler.SchedulerWSSEI_queryBundle2_ResponseStruct _mySchedulerWSSEI_queryBundle2_ResponseStruct = null;            Object _responseObj = _state.getResponse().getBody().getValue();            if (_responseObj instanceof SOAPDeserializationState) {                _mySchedulerWSSEI_queryBundle2_ResponseStruct =                    (jwsgrid.ws.scheduler.SchedulerWSSEI_queryBundle2_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();            } else {                _mySchedulerWSSEI_queryBundle2_ResponseStruct =                    (jwsgrid.ws.scheduler.SchedulerWSSEI_queryBundle2_ResponseStruct)_responseObj;            }                        return _mySchedulerWSSEI_queryBundle2_ResponseStruct.getResult();        } catch (RemoteException e) {            // let this one through unchanged            throw e;        } catch (JAXRPCException e) {            throw new RemoteException(e.getMessage(), e);        } catch (Exception e) {            if (e instanceof RuntimeException) {                throw (RuntimeException)e;            } else {                throw new RemoteException(e.getMessage(), e);            }        }    }        /*     *  implementation of ping     */    public long ping()        throws java.rmi.RemoteException {        

⌨️ 快捷键说明

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