📄 remoteif_tie.java
字号:
SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_checkUserValid_checkUserValid_QNAME);
bodyBlock.setValue(myRemoteIF_checkUserValid_RequestStructObj);
state.getRequest().setBody(bodyBlock);
}
/*
* This method deserializes the body of the getModified operation.
*/
private void deserialize_getModified(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
java.lang.Object myRemoteIF_getModified_RequestStructObj =
ns1_myRemoteIF_getModified_RequestStruct_LiteralSerializer.deserialize(ns1_getModified_getModified_QNAME,
bodyReader, deserializationContext);
SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_getModified_getModified_QNAME);
bodyBlock.setValue(myRemoteIF_getModified_RequestStructObj);
state.getRequest().setBody(bodyBlock);
}
/*
* This method deserializes the body of the sendEmail operation.
*/
private void deserialize_sendEmail(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
java.lang.Object myRemoteIF_sendEmail_RequestStructObj =
ns1_myRemoteIF_sendEmail_RequestStruct_LiteralSerializer.deserialize(ns1_sendEmail_sendEmail_QNAME,
bodyReader, deserializationContext);
SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_sendEmail_sendEmail_QNAME);
bodyBlock.setValue(myRemoteIF_sendEmail_RequestStructObj);
state.getRequest().setBody(bodyBlock);
}
/*
* This method deserializes the body of the getFileDetails operation.
*/
private void deserialize_getFileDetails(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
java.lang.Object myRemoteIF_getFileDetails_RequestStructObj =
ns1_myRemoteIF_getFileDetails_RequestStruct_LiteralSerializer.deserialize(ns1_getFileDetails_getFileDetails_QNAME,
bodyReader, deserializationContext);
SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_getFileDetails_getFileDetails_QNAME);
bodyBlock.setValue(myRemoteIF_getFileDetails_RequestStructObj);
state.getRequest().setBody(bodyBlock);
}
/*
* This method deserializes the body of the getHidden operation.
*/
private void deserialize_getHidden(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
java.lang.Object myRemoteIF_getHidden_RequestStructObj =
ns1_myRemoteIF_getHidden_RequestStruct_LiteralSerializer.deserialize(ns1_getHidden_getHidden_QNAME,
bodyReader, deserializationContext);
SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_getHidden_getHidden_QNAME);
bodyBlock.setValue(myRemoteIF_getHidden_RequestStructObj);
state.getRequest().setBody(bodyBlock);
}
/*
* This method deserializes the body of the getPreview2 operation.
*/
private void deserialize_getPreview2(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
java.lang.Object myRemoteIF_getPreview2_RequestStructObj =
ns1_myRemoteIF_getPreview2_RequestStruct_LiteralSerializer.deserialize(ns1_getPreview2_getPreview2_QNAME,
bodyReader, deserializationContext);
SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_getPreview2_getPreview2_QNAME);
bodyBlock.setValue(myRemoteIF_getPreview2_RequestStructObj);
state.getRequest().setBody(bodyBlock);
}
/*
* This method deserializes the body of the getDirList operation.
*/
private void deserialize_getDirList(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception {
java.lang.Object myRemoteIF_getDirList_RequestStructObj =
ns1_myRemoteIF_getDirList_RequestStruct_LiteralSerializer.deserialize(ns1_getDirList_getDirList_QNAME,
bodyReader, deserializationContext);
SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_getDirList_getDirList_QNAME);
bodyBlock.setValue(myRemoteIF_getDirList_RequestStructObj);
state.getRequest().setBody(bodyBlock);
}
/*
* This method must invoke the correct method on the servant based on the opcode.
*/
protected void processingHook(StreamingHandlerState state) throws Exception {
switch (state.getRequest().getOperationCode()) {
case getDriveList_OPCODE:
invoke_getDriveList(state);
break;
case getFileList_OPCODE:
invoke_getFileList(state);
break;
case getFileSize_OPCODE:
invoke_getFileSize(state);
break;
case listingFile_OPCODE:
invoke_listingFile(state);
break;
case getPreview_OPCODE:
invoke_getPreview(state);
break;
case checkUserValid_OPCODE:
invoke_checkUserValid(state);
break;
case getModified_OPCODE:
invoke_getModified(state);
break;
case sendEmail_OPCODE:
invoke_sendEmail(state);
break;
case getFileDetails_OPCODE:
invoke_getFileDetails(state);
break;
case getHidden_OPCODE:
invoke_getHidden(state);
break;
case getPreview2_OPCODE:
invoke_getPreview2(state);
break;
case getDirList_OPCODE:
invoke_getDirList(state);
break;
default:
throw new SOAPProtocolViolationException("soap.operation.unrecognized", java.lang.Integer.toString(state.getRequest().getOperationCode()));
}
}
protected java.lang.String getDefaultEnvelopeEncodingStyle() {
return null;
}
public java.lang.String getImplicitEnvelopeEncodingStyle() {
return "";
}
/*
* This method must determine the opcode of the operation given the QName of the first body element.
*/
public int getOpcodeForFirstBodyElementName(QName name) {
if (name == null) {
return InternalSOAPMessage.NO_OPERATION;
}
if (name.equals(ns1_getDriveList_getDriveList_QNAME)) {
return getDriveList_OPCODE;
}
if (name.equals(ns1_getFileList_getFileList_QNAME)) {
return getFileList_OPCODE;
}
if (name.equals(ns1_getFileSize_getFileSize_QNAME)) {
return getFileSize_OPCODE;
}
if (name.equals(ns1_listingFile_listingFile_QNAME)) {
return listingFile_OPCODE;
}
if (name.equals(ns1_getPreview_getPreview_QNAME)) {
return getPreview_OPCODE;
}
if (name.equals(ns1_checkUserValid_checkUserValid_QNAME)) {
return checkUserValid_OPCODE;
}
if (name.equals(ns1_getModified_getModified_QNAME)) {
return getModified_OPCODE;
}
if (name.equals(ns1_sendEmail_sendEmail_QNAME)) {
return sendEmail_OPCODE;
}
if (name.equals(ns1_getFileDetails_getFileDetails_QNAME)) {
return getFileDetails_OPCODE;
}
if (name.equals(ns1_getHidden_getHidden_QNAME)) {
return getHidden_OPCODE;
}
if (name.equals(ns1_getPreview2_getPreview2_QNAME)) {
return getPreview2_OPCODE;
}
if (name.equals(ns1_getDirList_getDirList_QNAME)) {
return getDirList_OPCODE;
}
return super.getOpcodeForFirstBodyElementName(name);
}
private Method internalGetMethodForOpcode(int opcode) throws ClassNotFoundException, NoSuchMethodException {
Method theMethod = null;
switch(opcode) {
case getDriveList_OPCODE:
{
Class[] carray = { java.lang.String.class };
theMethod = (remote.RemoteIF.class).getMethod("getDriveList", carray);
}
break;
case getFileList_OPCODE:
{
Class[] carray = { java.lang.String.class,java.lang.String.class,java.lang.String.class };
theMethod = (remote.RemoteIF.class).getMethod("getFileList", carray);
}
break;
case getFileSize_OPCODE:
{
Class[] carray = { java.lang.String.class,java.lang.String.class };
theMethod = (remote.RemoteIF.class).getMethod("getFileSize", carray);
}
break;
case listingFile_OPCODE:
{
Class[] carray = { java.lang.String.class,java.lang.String.class,java.lang.String.class };
theMethod = (remote.RemoteIF.class).getMethod("listingFile", carray);
}
break;
case getPreview_OPCODE:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -