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

📄 jobhostwssei_stub.java

📁 这是一个基于计算网格的web service。它用java编写。一旦安装完成
💻 JAVA
📖 第 1 页 / 共 4 页
字号:
            _bodyBlock.setSerializer(ns1_myJobHostWSSEI_startJob_RequestStruct_SOAPSerializer);            _request.setBody(_bodyBlock);                        _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "");                        _send((String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);                        jwsgrid.ws.jobhost.JobHostWSSEI_startJob_ResponseStruct _myJobHostWSSEI_startJob_ResponseStruct = null;            Object _responseObj = _state.getResponse().getBody().getValue();            if (_responseObj instanceof SOAPDeserializationState) {                _myJobHostWSSEI_startJob_ResponseStruct =                    (jwsgrid.ws.jobhost.JobHostWSSEI_startJob_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();            } else {                _myJobHostWSSEI_startJob_ResponseStruct =                    (jwsgrid.ws.jobhost.JobHostWSSEI_startJob_ResponseStruct)_responseObj;            }                    } 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 getJobOutputFiles     */    public javax.activation.DataHandler getJobOutputFiles(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(getJobOutputFiles_OPCODE);            jwsgrid.ws.jobhost.JobHostWSSEI_getJobOutputFiles_RequestStruct _myJobHostWSSEI_getJobOutputFiles_RequestStruct =                new jwsgrid.ws.jobhost.JobHostWSSEI_getJobOutputFiles_RequestStruct();                        _myJobHostWSSEI_getJobOutputFiles_RequestStruct.setString_1(string_1);            _myJobHostWSSEI_getJobOutputFiles_RequestStruct.setString_2(string_2);                        SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_getJobOutputFiles_getJobOutputFiles_QNAME);            _bodyBlock.setValue(_myJobHostWSSEI_getJobOutputFiles_RequestStruct);            _bodyBlock.setSerializer(ns1_myJobHostWSSEI_getJobOutputFiles_RequestStruct_SOAPSerializer);            _request.setBody(_bodyBlock);                        _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "");                        _send((String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);                        jwsgrid.ws.jobhost.JobHostWSSEI_getJobOutputFiles_ResponseStruct _myJobHostWSSEI_getJobOutputFiles_ResponseStruct = null;            Object _responseObj = _state.getResponse().getBody().getValue();            if (_responseObj instanceof SOAPDeserializationState) {                _myJobHostWSSEI_getJobOutputFiles_ResponseStruct =                    (jwsgrid.ws.jobhost.JobHostWSSEI_getJobOutputFiles_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();            } else {                _myJobHostWSSEI_getJobOutputFiles_ResponseStruct =                    (jwsgrid.ws.jobhost.JobHostWSSEI_getJobOutputFiles_ResponseStruct)_responseObj;            }                        return _myJobHostWSSEI_getJobOutputFiles_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 getJobOutputFile     */    public javax.activation.DataHandler getJobOutputFile(java.lang.String string_1, java.lang.String string_2, java.lang.String string_3)        throws java.rmi.RemoteException {                try {                        StreamingSenderState _state = _start(_handlerChain);                        InternalSOAPMessage _request = _state.getRequest();            _request.setOperationCode(getJobOutputFile_OPCODE);            jwsgrid.ws.jobhost.JobHostWSSEI_getJobOutputFile_RequestStruct _myJobHostWSSEI_getJobOutputFile_RequestStruct =                new jwsgrid.ws.jobhost.JobHostWSSEI_getJobOutputFile_RequestStruct();                        _myJobHostWSSEI_getJobOutputFile_RequestStruct.setString_1(string_1);            _myJobHostWSSEI_getJobOutputFile_RequestStruct.setString_2(string_2);            _myJobHostWSSEI_getJobOutputFile_RequestStruct.setString_3(string_3);                        SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_getJobOutputFile_getJobOutputFile_QNAME);            _bodyBlock.setValue(_myJobHostWSSEI_getJobOutputFile_RequestStruct);            _bodyBlock.setSerializer(ns1_myJobHostWSSEI_getJobOutputFile_RequestStruct_SOAPSerializer);            _request.setBody(_bodyBlock);                        _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "");                        _send((String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);                        jwsgrid.ws.jobhost.JobHostWSSEI_getJobOutputFile_ResponseStruct _myJobHostWSSEI_getJobOutputFile_ResponseStruct = null;            Object _responseObj = _state.getResponse().getBody().getValue();            if (_responseObj instanceof SOAPDeserializationState) {                _myJobHostWSSEI_getJobOutputFile_ResponseStruct =                    (jwsgrid.ws.jobhost.JobHostWSSEI_getJobOutputFile_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();            } else {                _myJobHostWSSEI_getJobOutputFile_ResponseStruct =                    (jwsgrid.ws.jobhost.JobHostWSSEI_getJobOutputFile_ResponseStruct)_responseObj;            }                        return _myJobHostWSSEI_getJobOutputFile_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 submitJob     */    public java.lang.String submitJob(java.lang.String string_1, java.lang.String string_2, int int_3, javax.activation.DataHandler dataHandler_4)        throws java.rmi.RemoteException {                try {                        StreamingSenderState _state = _start(_handlerChain);                        InternalSOAPMessage _request = _state.getRequest();            _request.setOperationCode(submitJob_OPCODE);            jwsgrid.ws.jobhost.JobHostWSSEI_submitJob_RequestStruct _myJobHostWSSEI_submitJob_RequestStruct =                new jwsgrid.ws.jobhost.JobHostWSSEI_submitJob_RequestStruct();                        _myJobHostWSSEI_submitJob_RequestStruct.setString_1(string_1);            _myJobHostWSSEI_submitJob_RequestStruct.setString_2(string_2);            _myJobHostWSSEI_submitJob_RequestStruct.setInt_3(int_3);            _myJobHostWSSEI_submitJob_RequestStruct.setDataHandler_4(dataHandler_4);                        SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_submitJob_submitJob_QNAME);            _bodyBlock.setValue(_myJobHostWSSEI_submitJob_RequestStruct);            _bodyBlock.setSerializer(ns1_myJobHostWSSEI_submitJob_RequestStruct_SOAPSerializer);            _request.setBody(_bodyBlock);                        _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "");                        _send((String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);                        jwsgrid.ws.jobhost.JobHostWSSEI_submitJob_ResponseStruct _myJobHostWSSEI_submitJob_ResponseStruct = null;            Object _responseObj = _state.getResponse().getBody().getValue();            if (_responseObj instanceof SOAPDeserializationState) {                _myJobHostWSSEI_submitJob_ResponseStruct =                    (jwsgrid.ws.jobhost.JobHostWSSEI_submitJob_ResponseStruct)((SOAPDeserializationState)_responseObj).getInstance();            } else {                _myJobHostWSSEI_submitJob_ResponseStruct =                    (jwsgrid.ws.jobhost.JobHostWSSEI_submitJob_ResponseStruct)_responseObj;            }                        return _myJobHostWSSEI_submitJob_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 getJobStatus     */    public java.lang.String getJobStatus(java.lang.String string_1)        throws java.rmi.RemoteException {                try {                        StreamingSenderState _state = _start(_handlerChain);                        InternalSOAPMessage _request = _state.getRequest();            _request.setOperationCode(getJobStatus_OPCODE);            jwsgrid.ws.jobhost.JobHostWSSEI_getJobStatus_RequestStruct _myJobHostWSSEI_getJobStatus_RequestStruct =                new jwsgrid.ws.jobhost.JobHostWSSEI_getJobStatus_RequestStruct();                        _myJobHostWSSEI_getJobStatus_RequestStruct.setString_1(string_1);                        SOAPBlockInfo _bodyBlock = new SOAPBlockInfo(ns1_getJobStatus_getJobStatus_QNAME);            _bodyBlock.setValue(_myJobHostWSSEI_getJobStatus_RequestStruct);            _bodyBlock.setSerializer(ns1_myJobHostWSSEI_getJobStatus_RequestStruct_SOAPSerializer);            _request.setBody(_bodyBlock);                        _state.getMessageContext().setProperty(HttpClientTransport.HTTP_SOAPACTION_PROPERTY, "");                        _send((String) _getProperty(ENDPOINT_ADDRESS_PROPERTY), _state);                        jwsgrid.ws.jobhost.JobHostWSSEI_getJobStatus_ResponseStruct _myJobHostWSSEI_getJobStatus_ResponseStruct = null;            Object _responseObj = _state.getResponse().getBody().getValue();            if (_responseObj instanceof SOAPDeserializationState) {

⌨️ 快捷键说明

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