📄 resourcemanagerwssei_tie.java
字号:
deserialize_unregisterJobHost(bodyReader, deserializationContext, state); break; default: throw new SOAPProtocolViolationException("soap.operation.unrecognized", Integer.toString(opcode)); } } /* * This method deserializes the body of the searchJobHosts operation. */ private void deserialize_searchJobHosts(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception { Object myResourceManagerWSSEI_searchJobHosts_RequestStructObj = ns1_myResourceManagerWSSEI_searchJobHosts_RequestStruct_LiteralSerializer.deserialize(ns1_searchJobHosts_searchJobHosts_QNAME, bodyReader, deserializationContext); SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_searchJobHosts_searchJobHosts_QNAME); bodyBlock.setValue(myResourceManagerWSSEI_searchJobHosts_RequestStructObj); state.getRequest().setBody(bodyBlock); } /* * This method deserializes the body of the registerJobHost operation. */ private void deserialize_registerJobHost(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception { Object myResourceManagerWSSEI_registerJobHost_RequestStructObj = ns1_myResourceManagerWSSEI_registerJobHost_RequestStruct_LiteralSerializer.deserialize(ns1_registerJobHost_registerJobHost_QNAME, bodyReader, deserializationContext); SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_registerJobHost_registerJobHost_QNAME); bodyBlock.setValue(myResourceManagerWSSEI_registerJobHost_RequestStructObj); state.getRequest().setBody(bodyBlock); } /* * This method deserializes the body of the ping operation. */ private void deserialize_ping(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception { Object myResourceManagerWSSEI_ping_RequestStructObj = ns1_myResourceManagerWSSEI_ping_RequestStruct_LiteralSerializer.deserialize(ns1_ping_ping_QNAME, bodyReader, deserializationContext); SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_ping_ping_QNAME); bodyBlock.setValue(myResourceManagerWSSEI_ping_RequestStructObj); state.getRequest().setBody(bodyBlock); } /* * This method deserializes the body of the unregisterJobHost operation. */ private void deserialize_unregisterJobHost(XMLReader bodyReader, SOAPDeserializationContext deserializationContext, StreamingHandlerState state) throws Exception { Object myResourceManagerWSSEI_unregisterJobHost_RequestStructObj = ns1_myResourceManagerWSSEI_unregisterJobHost_RequestStruct_LiteralSerializer.deserialize(ns1_unregisterJobHost_unregisterJobHost_QNAME, bodyReader, deserializationContext); SOAPBlockInfo bodyBlock = new SOAPBlockInfo(ns1_unregisterJobHost_unregisterJobHost_QNAME); bodyBlock.setValue(myResourceManagerWSSEI_unregisterJobHost_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 searchJobHosts_OPCODE: invoke_searchJobHosts(state); break; case registerJobHost_OPCODE: invoke_registerJobHost(state); break; case ping_OPCODE: invoke_ping(state); break; case unregisterJobHost_OPCODE: invoke_unregisterJobHost(state); break; default: throw new SOAPProtocolViolationException("soap.operation.unrecognized", Integer.toString(state.getRequest().getOperationCode())); } } protected String getDefaultEnvelopeEncodingStyle() { return null; } public 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_searchJobHosts_searchJobHosts_QNAME)) { return searchJobHosts_OPCODE; } if (name.equals(ns1_registerJobHost_registerJobHost_QNAME)) { return registerJobHost_OPCODE; } if (name.equals(ns1_ping_ping_QNAME)) { return ping_OPCODE; } if (name.equals(ns1_unregisterJobHost_unregisterJobHost_QNAME)) { return unregisterJobHost_OPCODE; } return super.getOpcodeForFirstBodyElementName(name); } private Method internalGetMethodForOpcode(int opcode) throws ClassNotFoundException, NoSuchMethodException { Method theMethod = null; switch(opcode) { case searchJobHosts_OPCODE: { Class[] carray = { java.lang.String.class }; theMethod = (jwsgrid.resourcemanager.ws.ResourceManagerWSSEI.class).getMethod("searchJobHosts", carray); } break; case registerJobHost_OPCODE: { Class[] carray = { java.lang.String.class,java.lang.String.class,java.lang.String.class,java.lang.String.class }; theMethod = (jwsgrid.resourcemanager.ws.ResourceManagerWSSEI.class).getMethod("registerJobHost", carray); } break; case ping_OPCODE: { Class[] carray = { }; theMethod = (jwsgrid.resourcemanager.ws.ResourceManagerWSSEI.class).getMethod("ping", carray); } break; case unregisterJobHost_OPCODE: { Class[] carray = { java.lang.String.class,java.lang.String.class }; theMethod = (jwsgrid.resourcemanager.ws.ResourceManagerWSSEI.class).getMethod("unregisterJobHost", carray); } break; default: } return theMethod; } private Method[] methodMap = new Method[4]; /* * This method returns the Method Obj for a specified opcode. */ public Method getMethodForOpcode(int opcode) throws ClassNotFoundException, NoSuchMethodException { if (opcode <= InternalSOAPMessage.NO_OPERATION ) { return null; } if (opcode >= 4 ) { return null; } if (methodMap[opcode] == null) { methodMap[opcode] = internalGetMethodForOpcode(opcode); } return methodMap[opcode]; } /* * This method returns an array containing (prefix, nsURI) pairs. */ protected String[] getNamespaceDeclarations() { return myNamespace_declarations; } /* * This method returns an array containing the names of the headers we understand. */ public QName[] getUnderstoodHeaders() { return understoodHeaderNames; } private void initialize(InternalTypeMappingRegistry registry) throws Exception { ns1_myResourceManagerWSSEI_searchJobHosts_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", jwsgrid.resourcemanager.ws.ResourceManagerWSSEI_searchJobHosts_ResponseStruct.class, ns1_searchJobHostsResponse_TYPE_QNAME); ns1_myResourceManagerWSSEI_unregisterJobHost_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", jwsgrid.resourcemanager.ws.ResourceManagerWSSEI_unregisterJobHost_ResponseStruct.class, ns1_unregisterJobHostResponse_TYPE_QNAME); ns1_myResourceManagerWSSEI_ping_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", jwsgrid.resourcemanager.ws.ResourceManagerWSSEI_ping_RequestStruct.class, ns1_ping_TYPE_QNAME); ns1_myResourceManagerWSSEI_searchJobHosts_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", jwsgrid.resourcemanager.ws.ResourceManagerWSSEI_searchJobHosts_RequestStruct.class, ns1_searchJobHosts_TYPE_QNAME); ns1_myResourceManagerWSSEI_unregisterJobHost_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", jwsgrid.resourcemanager.ws.ResourceManagerWSSEI_unregisterJobHost_RequestStruct.class, ns1_unregisterJobHost_TYPE_QNAME); ns1_myResourceManagerWSSEI_registerJobHost_RequestStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", jwsgrid.resourcemanager.ws.ResourceManagerWSSEI_registerJobHost_RequestStruct.class, ns1_registerJobHost_TYPE_QNAME); ns1_myResourceManagerWSSEI_registerJobHost_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", jwsgrid.resourcemanager.ws.ResourceManagerWSSEI_registerJobHost_ResponseStruct.class, ns1_registerJobHostResponse_TYPE_QNAME); ns1_myResourceManagerWSSEI_ping_ResponseStruct_LiteralSerializer = (CombinedSerializer)registry.getSerializer("", jwsgrid.resourcemanager.ws.ResourceManagerWSSEI_ping_ResponseStruct.class, ns1_pingResponse_TYPE_QNAME); ((Initializable)myResourceManagerWSSEI_searchJobHosts_Fault_SOAPSerializer).initialize(registry); } private static final QName portName = new QName("urn:ResourceManagerWS/wsdl", "ResourceManagerWSSEI"); private static final int searchJobHosts_OPCODE = 0; private static final int registerJobHost_OPCODE = 1; private static final int ping_OPCODE = 2; private static final int unregisterJobHost_OPCODE = 3; private final CombinedSerializer myResourceManagerWSSEI_searchJobHosts_Fault_SOAPSerializer = new ReferenceableSerializerImpl(DONT_SERIALIZE_AS_REF, new jwsgrid.resourcemanager.ws.ResourceManagerWSSEI_searchJobHosts_Fault_SOAPSerializer(ENCODE_TYPE, NOT_NULLABLE)); private static final QName ns1_searchJobHosts_searchJobHosts_QNAME = new QName("urn:ResourceManagerWS/types", "searchJobHosts"); private static final QName ns1_searchJobHosts_TYPE_QNAME = new QName("urn:ResourceManagerWS/types", "searchJobHosts"); private CombinedSerializer ns1_myResourceManagerWSSEI_searchJobHosts_RequestStruct_LiteralSerializer; private static final QName ns1_searchJobHosts_searchJobHostsResponse_QNAME = new QName("urn:ResourceManagerWS/types", "searchJobHostsResponse"); private static final QName ns1_searchJobHostsResponse_TYPE_QNAME = new QName("urn:ResourceManagerWS/types", "searchJobHostsResponse"); private CombinedSerializer ns1_myResourceManagerWSSEI_searchJobHosts_ResponseStruct_LiteralSerializer; private static final QName ns1_registerJobHost_registerJobHost_QNAME = new QName("urn:ResourceManagerWS/types", "registerJobHost"); private static final QName ns1_registerJobHost_TYPE_QNAME = new QName("urn:ResourceManagerWS/types", "registerJobHost"); private CombinedSerializer ns1_myResourceManagerWSSEI_registerJobHost_RequestStruct_LiteralSerializer; private static final QName ns1_registerJobHost_registerJobHostResponse_QNAME = new QName("urn:ResourceManagerWS/types", "registerJobHostResponse"); private static final QName ns1_registerJobHostResponse_TYPE_QNAME = new QName("urn:ResourceManagerWS/types", "registerJobHostResponse"); private CombinedSerializer ns1_myResourceManagerWSSEI_registerJobHost_ResponseStruct_LiteralSerializer; private static final QName ns1_ping_ping_QNAME = new QName("urn:ResourceManagerWS/types", "ping"); private static final QName ns1_ping_TYPE_QNAME = new QName("urn:ResourceManagerWS/types", "ping"); private CombinedSerializer ns1_myResourceManagerWSSEI_ping_RequestStruct_LiteralSerializer; private static final QName ns1_ping_pingResponse_QNAME = new QName("urn:ResourceManagerWS/types", "pingResponse"); private static final QName ns1_pingResponse_TYPE_QNAME = new QName("urn:ResourceManagerWS/types", "pingResponse"); private CombinedSerializer ns1_myResourceManagerWSSEI_ping_ResponseStruct_LiteralSerializer; private static final QName ns1_unregisterJobHost_unregisterJobHost_QNAME = new QName("urn:ResourceManagerWS/types", "unregisterJobHost"); private static final QName ns1_unregisterJobHost_TYPE_QNAME = new QName("urn:ResourceManagerWS/types", "unregisterJobHost"); private CombinedSerializer ns1_myResourceManagerWSSEI_unregisterJobHost_RequestStruct_LiteralSerializer; private static final QName ns1_unregisterJobHost_unregisterJobHostResponse_QNAME = new QName("urn:ResourceManagerWS/types", "unregisterJobHostResponse"); private static final QName ns1_unregisterJobHostResponse_TYPE_QNAME = new QName("urn:ResourceManagerWS/types", "unregisterJobHostResponse"); private CombinedSerializer ns1_myResourceManagerWSSEI_unregisterJobHost_ResponseStruct_LiteralSerializer; private static final String[] myNamespace_declarations = new String[] { "ns0", "urn:ResourceManagerWS/types" }; private static final QName[] understoodHeaderNames = new QName[] { };}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -