📄 remoteif_tie.java
字号:
// This class was generated by the JAXRPC SI, do not edit.
// Contents subject to change without notice.
// JAX-RPC Standard Implementation (1.1.3, build R1)
// Generated source version: 1.1.3
package remote;
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.server.*;
import javax.xml.rpc.handler.HandlerInfo;
import com.sun.xml.rpc.client.HandlerChainImpl;
public class RemoteIF_Tie
extends com.sun.xml.rpc.server.TieBase implements SerializerConstants {
public RemoteIF_Tie() throws Exception {
super(new remote.Remote_SerializerRegistry().getRegistry());
initialize(internalTypeMappingRegistry);
}
/*
* This method does the actual method invocation for operation: getDriveList
*/
private void invoke_getDriveList(StreamingHandlerState state) throws Exception {
remote.RemoteIF_getDriveList_RequestStruct myRemoteIF_getDriveList_RequestStruct = null;
Object myRemoteIF_getDriveList_RequestStructObj =
state.getRequest().getBody().getValue();
if (myRemoteIF_getDriveList_RequestStructObj instanceof SOAPDeserializationState) {
myRemoteIF_getDriveList_RequestStruct = (remote.RemoteIF_getDriveList_RequestStruct)((SOAPDeserializationState)myRemoteIF_getDriveList_RequestStructObj).getInstance();
} else {
myRemoteIF_getDriveList_RequestStruct = (remote.RemoteIF_getDriveList_RequestStruct)myRemoteIF_getDriveList_RequestStructObj;
}
try {
java.lang.String[] result = ((remote.RemoteIF) getTarget()).getDriveList(myRemoteIF_getDriveList_RequestStruct.getString_1());
SOAPHeaderBlockInfo headerInfo;
remote.RemoteIF_getDriveList_ResponseStruct _response = new remote.RemoteIF_getDriveList_ResponseStruct();
_response.setResult(result);
SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_getDriveList_getDriveListResponse_QNAME);
bodyBlock.setValue(_response);
bodyBlock.setSerializer(ns1_myRemoteIF_getDriveList_ResponseStruct_LiteralSerializer);
state.getResponse().setBody(bodyBlock);
} catch (javax.xml.rpc.soap.SOAPFaultException e) {
SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
e.getFaultString(), e.getFaultActor(), e.getDetail());
SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
faultBlock.setValue(fault);
faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
state.getResponse().setBody(faultBlock);
state.getResponse().setFailure(true);
}
}
/*
* This method does the actual method invocation for operation: getFileList
*/
private void invoke_getFileList(StreamingHandlerState state) throws Exception {
remote.RemoteIF_getFileList_RequestStruct myRemoteIF_getFileList_RequestStruct = null;
Object myRemoteIF_getFileList_RequestStructObj =
state.getRequest().getBody().getValue();
if (myRemoteIF_getFileList_RequestStructObj instanceof SOAPDeserializationState) {
myRemoteIF_getFileList_RequestStruct = (remote.RemoteIF_getFileList_RequestStruct)((SOAPDeserializationState)myRemoteIF_getFileList_RequestStructObj).getInstance();
} else {
myRemoteIF_getFileList_RequestStruct = (remote.RemoteIF_getFileList_RequestStruct)myRemoteIF_getFileList_RequestStructObj;
}
try {
java.lang.String[] result = ((remote.RemoteIF) getTarget()).getFileList(myRemoteIF_getFileList_RequestStruct.getString_1(), myRemoteIF_getFileList_RequestStruct.getString_2(), myRemoteIF_getFileList_RequestStruct.getString_3());
SOAPHeaderBlockInfo headerInfo;
remote.RemoteIF_getFileList_ResponseStruct _response = new remote.RemoteIF_getFileList_ResponseStruct();
_response.setResult(result);
SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_getFileList_getFileListResponse_QNAME);
bodyBlock.setValue(_response);
bodyBlock.setSerializer(ns1_myRemoteIF_getFileList_ResponseStruct_LiteralSerializer);
state.getResponse().setBody(bodyBlock);
} catch (javax.xml.rpc.soap.SOAPFaultException e) {
SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
e.getFaultString(), e.getFaultActor(), e.getDetail());
SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
faultBlock.setValue(fault);
faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
state.getResponse().setBody(faultBlock);
state.getResponse().setFailure(true);
}
}
/*
* This method does the actual method invocation for operation: getFileSize
*/
private void invoke_getFileSize(StreamingHandlerState state) throws Exception {
remote.RemoteIF_getFileSize_RequestStruct myRemoteIF_getFileSize_RequestStruct = null;
Object myRemoteIF_getFileSize_RequestStructObj =
state.getRequest().getBody().getValue();
if (myRemoteIF_getFileSize_RequestStructObj instanceof SOAPDeserializationState) {
myRemoteIF_getFileSize_RequestStruct = (remote.RemoteIF_getFileSize_RequestStruct)((SOAPDeserializationState)myRemoteIF_getFileSize_RequestStructObj).getInstance();
} else {
myRemoteIF_getFileSize_RequestStruct = (remote.RemoteIF_getFileSize_RequestStruct)myRemoteIF_getFileSize_RequestStructObj;
}
try {
long result = ((remote.RemoteIF) getTarget()).getFileSize(myRemoteIF_getFileSize_RequestStruct.getString_1(), myRemoteIF_getFileSize_RequestStruct.getString_2());
SOAPHeaderBlockInfo headerInfo;
remote.RemoteIF_getFileSize_ResponseStruct _response = new remote.RemoteIF_getFileSize_ResponseStruct();
_response.setResult(result);
SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_getFileSize_getFileSizeResponse_QNAME);
bodyBlock.setValue(_response);
bodyBlock.setSerializer(ns1_myRemoteIF_getFileSize_ResponseStruct_LiteralSerializer);
state.getResponse().setBody(bodyBlock);
} catch (javax.xml.rpc.soap.SOAPFaultException e) {
SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
e.getFaultString(), e.getFaultActor(), e.getDetail());
SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
faultBlock.setValue(fault);
faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
state.getResponse().setBody(faultBlock);
state.getResponse().setFailure(true);
}
}
/*
* This method does the actual method invocation for operation: listingFile
*/
private void invoke_listingFile(StreamingHandlerState state) throws Exception {
remote.RemoteIF_listingFile_RequestStruct myRemoteIF_listingFile_RequestStruct = null;
Object myRemoteIF_listingFile_RequestStructObj =
state.getRequest().getBody().getValue();
if (myRemoteIF_listingFile_RequestStructObj instanceof SOAPDeserializationState) {
myRemoteIF_listingFile_RequestStruct = (remote.RemoteIF_listingFile_RequestStruct)((SOAPDeserializationState)myRemoteIF_listingFile_RequestStructObj).getInstance();
} else {
myRemoteIF_listingFile_RequestStruct = (remote.RemoteIF_listingFile_RequestStruct)myRemoteIF_listingFile_RequestStructObj;
}
try {
boolean result = ((remote.RemoteIF) getTarget()).listingFile(myRemoteIF_listingFile_RequestStruct.getString_1(), myRemoteIF_listingFile_RequestStruct.getString_2(), myRemoteIF_listingFile_RequestStruct.getString_3());
SOAPHeaderBlockInfo headerInfo;
remote.RemoteIF_listingFile_ResponseStruct _response = new remote.RemoteIF_listingFile_ResponseStruct();
_response.setResult(result);
SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_listingFile_listingFileResponse_QNAME);
bodyBlock.setValue(_response);
bodyBlock.setSerializer(ns1_myRemoteIF_listingFile_ResponseStruct_LiteralSerializer);
state.getResponse().setBody(bodyBlock);
} catch (javax.xml.rpc.soap.SOAPFaultException e) {
SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
e.getFaultString(), e.getFaultActor(), e.getDetail());
SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
faultBlock.setValue(fault);
faultBlock.setSerializer(new SOAPFaultInfoSerializer(false, e.getDetail()==null));
state.getResponse().setBody(faultBlock);
state.getResponse().setFailure(true);
}
}
/*
* This method does the actual method invocation for operation: getPreview
*/
private void invoke_getPreview(StreamingHandlerState state) throws Exception {
remote.RemoteIF_getPreview_RequestStruct myRemoteIF_getPreview_RequestStruct = null;
Object myRemoteIF_getPreview_RequestStructObj =
state.getRequest().getBody().getValue();
if (myRemoteIF_getPreview_RequestStructObj instanceof SOAPDeserializationState) {
myRemoteIF_getPreview_RequestStruct = (remote.RemoteIF_getPreview_RequestStruct)((SOAPDeserializationState)myRemoteIF_getPreview_RequestStructObj).getInstance();
} else {
myRemoteIF_getPreview_RequestStruct = (remote.RemoteIF_getPreview_RequestStruct)myRemoteIF_getPreview_RequestStructObj;
}
try {
boolean result = ((remote.RemoteIF) getTarget()).getPreview(myRemoteIF_getPreview_RequestStruct.getString_1(), myRemoteIF_getPreview_RequestStruct.getString_2(), myRemoteIF_getPreview_RequestStruct.getString_3());
SOAPHeaderBlockInfo headerInfo;
remote.RemoteIF_getPreview_ResponseStruct _response = new remote.RemoteIF_getPreview_ResponseStruct();
_response.setResult(result);
SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_getPreview_getPreviewResponse_QNAME);
bodyBlock.setValue(_response);
bodyBlock.setSerializer(ns1_myRemoteIF_getPreview_ResponseStruct_LiteralSerializer);
state.getResponse().setBody(bodyBlock);
} catch (javax.xml.rpc.soap.SOAPFaultException e) {
SOAPFaultInfo fault = new SOAPFaultInfo(e.getFaultCode(),
e.getFaultString(), e.getFaultActor(), e.getDetail());
SOAPBlockInfo faultBlock = new SOAPBlockInfo(com.sun.xml.rpc.encoding.soap.SOAPConstants.QNAME_SOAP_FAULT);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -