📄 remoteif_tie.java
字号:
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: checkUserValid
*/
private void invoke_checkUserValid(StreamingHandlerState state) throws Exception {
remote.RemoteIF_checkUserValid_RequestStruct myRemoteIF_checkUserValid_RequestStruct = null;
Object myRemoteIF_checkUserValid_RequestStructObj =
state.getRequest().getBody().getValue();
if (myRemoteIF_checkUserValid_RequestStructObj instanceof SOAPDeserializationState) {
myRemoteIF_checkUserValid_RequestStruct = (remote.RemoteIF_checkUserValid_RequestStruct)((SOAPDeserializationState)myRemoteIF_checkUserValid_RequestStructObj).getInstance();
} else {
myRemoteIF_checkUserValid_RequestStruct = (remote.RemoteIF_checkUserValid_RequestStruct)myRemoteIF_checkUserValid_RequestStructObj;
}
try {
boolean result = ((remote.RemoteIF) getTarget()).checkUserValid(myRemoteIF_checkUserValid_RequestStruct.getString_1(), myRemoteIF_checkUserValid_RequestStruct.getString_2(), myRemoteIF_checkUserValid_RequestStruct.getString_3());
SOAPHeaderBlockInfo headerInfo;
remote.RemoteIF_checkUserValid_ResponseStruct _response = new remote.RemoteIF_checkUserValid_ResponseStruct();
_response.setResult(result);
SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_checkUserValid_checkUserValidResponse_QNAME);
bodyBlock.setValue(_response);
bodyBlock.setSerializer(ns1_myRemoteIF_checkUserValid_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: getModified
*/
private void invoke_getModified(StreamingHandlerState state) throws Exception {
remote.RemoteIF_getModified_RequestStruct myRemoteIF_getModified_RequestStruct = null;
Object myRemoteIF_getModified_RequestStructObj =
state.getRequest().getBody().getValue();
if (myRemoteIF_getModified_RequestStructObj instanceof SOAPDeserializationState) {
myRemoteIF_getModified_RequestStruct = (remote.RemoteIF_getModified_RequestStruct)((SOAPDeserializationState)myRemoteIF_getModified_RequestStructObj).getInstance();
} else {
myRemoteIF_getModified_RequestStruct = (remote.RemoteIF_getModified_RequestStruct)myRemoteIF_getModified_RequestStructObj;
}
try {
java.lang.String result = ((remote.RemoteIF) getTarget()).getModified(myRemoteIF_getModified_RequestStruct.getString_1(), myRemoteIF_getModified_RequestStruct.getString_2());
SOAPHeaderBlockInfo headerInfo;
remote.RemoteIF_getModified_ResponseStruct _response = new remote.RemoteIF_getModified_ResponseStruct();
_response.setResult(result);
SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_getModified_getModifiedResponse_QNAME);
bodyBlock.setValue(_response);
bodyBlock.setSerializer(ns1_myRemoteIF_getModified_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: sendEmail
*/
private void invoke_sendEmail(StreamingHandlerState state) throws Exception {
remote.RemoteIF_sendEmail_RequestStruct myRemoteIF_sendEmail_RequestStruct = null;
Object myRemoteIF_sendEmail_RequestStructObj =
state.getRequest().getBody().getValue();
if (myRemoteIF_sendEmail_RequestStructObj instanceof SOAPDeserializationState) {
myRemoteIF_sendEmail_RequestStruct = (remote.RemoteIF_sendEmail_RequestStruct)((SOAPDeserializationState)myRemoteIF_sendEmail_RequestStructObj).getInstance();
} else {
myRemoteIF_sendEmail_RequestStruct = (remote.RemoteIF_sendEmail_RequestStruct)myRemoteIF_sendEmail_RequestStructObj;
}
try {
boolean result = ((remote.RemoteIF) getTarget()).sendEmail(myRemoteIF_sendEmail_RequestStruct.getString_1(), myRemoteIF_sendEmail_RequestStruct.getString_2(), myRemoteIF_sendEmail_RequestStruct.getString_3(), myRemoteIF_sendEmail_RequestStruct.getString_4(), myRemoteIF_sendEmail_RequestStruct.getArrayOfString_5(), myRemoteIF_sendEmail_RequestStruct.getString_6());
SOAPHeaderBlockInfo headerInfo;
remote.RemoteIF_sendEmail_ResponseStruct _response = new remote.RemoteIF_sendEmail_ResponseStruct();
_response.setResult(result);
SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_sendEmail_sendEmailResponse_QNAME);
bodyBlock.setValue(_response);
bodyBlock.setSerializer(ns1_myRemoteIF_sendEmail_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: getFileDetails
*/
private void invoke_getFileDetails(StreamingHandlerState state) throws Exception {
remote.RemoteIF_getFileDetails_RequestStruct myRemoteIF_getFileDetails_RequestStruct = null;
Object myRemoteIF_getFileDetails_RequestStructObj =
state.getRequest().getBody().getValue();
if (myRemoteIF_getFileDetails_RequestStructObj instanceof SOAPDeserializationState) {
myRemoteIF_getFileDetails_RequestStruct = (remote.RemoteIF_getFileDetails_RequestStruct)((SOAPDeserializationState)myRemoteIF_getFileDetails_RequestStructObj).getInstance();
} else {
myRemoteIF_getFileDetails_RequestStruct = (remote.RemoteIF_getFileDetails_RequestStruct)myRemoteIF_getFileDetails_RequestStructObj;
}
try {
boolean result = ((remote.RemoteIF) getTarget()).getFileDetails(myRemoteIF_getFileDetails_RequestStruct.getString_1(), myRemoteIF_getFileDetails_RequestStruct.getString_2());
SOAPHeaderBlockInfo headerInfo;
remote.RemoteIF_getFileDetails_ResponseStruct _response = new remote.RemoteIF_getFileDetails_ResponseStruct();
_response.setResult(result);
SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_getFileDetails_getFileDetailsResponse_QNAME);
bodyBlock.setValue(_response);
bodyBlock.setSerializer(ns1_myRemoteIF_getFileDetails_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: getHidden
*/
private void invoke_getHidden(StreamingHandlerState state) throws Exception {
remote.RemoteIF_getHidden_RequestStruct myRemoteIF_getHidden_RequestStruct = null;
Object myRemoteIF_getHidden_RequestStructObj =
state.getRequest().getBody().getValue();
if (myRemoteIF_getHidden_RequestStructObj instanceof SOAPDeserializationState) {
myRemoteIF_getHidden_RequestStruct = (remote.RemoteIF_getHidden_RequestStruct)((SOAPDeserializationState)myRemoteIF_getHidden_RequestStructObj).getInstance();
} else {
myRemoteIF_getHidden_RequestStruct = (remote.RemoteIF_getHidden_RequestStruct)myRemoteIF_getHidden_RequestStructObj;
}
try {
boolean result = ((remote.RemoteIF) getTarget()).getHidden(myRemoteIF_getHidden_RequestStruct.getString_1());
SOAPHeaderBlockInfo headerInfo;
remote.RemoteIF_getHidden_ResponseStruct _response = new remote.RemoteIF_getHidden_ResponseStruct();
_response.setResult(result);
SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_getHidden_getHiddenResponse_QNAME);
bodyBlock.setValue(_response);
bodyBlock.setSerializer(ns1_myRemoteIF_getHidden_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: getPreview2
*/
private void invoke_getPreview2(StreamingHandlerState state) throws Exception {
remote.RemoteIF_getPreview2_RequestStruct myRemoteIF_getPreview2_RequestStruct = null;
Object myRemoteIF_getPreview2_RequestStructObj =
state.getRequest().getBody().getValue();
if (myRemoteIF_getPreview2_RequestStructObj instanceof SOAPDeserializationState) {
myRemoteIF_getPreview2_RequestStruct = (remote.RemoteIF_getPreview2_RequestStruct)((SOAPDeserializationState)myRemoteIF_getPreview2_RequestStructObj).getInstance();
} else {
myRemoteIF_getPreview2_RequestStruct = (remote.RemoteIF_getPreview2_RequestStruct)myRemoteIF_getPreview2_RequestStructObj;
}
try {
boolean result = ((remote.RemoteIF) getTarget()).getPreview2(myRemoteIF_getPreview2_RequestStruct.getString_1(), myRemoteIF_getPreview2_RequestStruct.getString_2(), myRemoteIF_getPreview2_RequestStruct.getInt_3(), myRemoteIF_getPreview2_RequestStruct.getInt_4(), myRemoteIF_getPreview2_RequestStruct.getInt_5(), myRemoteIF_getPreview2_RequestStruct.getString_6());
SOAPHeaderBlockInfo headerInfo;
remote.RemoteIF_getPreview2_ResponseStruct _response = new remote.RemoteIF_getPreview2_ResponseStruct();
_response.setResult(result);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -