public void doSerializeInstance(
      java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context)
      throws java.lang.Exception {
    com.seapine.ttsoapcgi.CField instance = (com.seapine.ttsoapcgi.CField) obj;

    ns3_myns3__long__long_Long_Serializer.serialize(
        new Long(instance.getRecordid()), ns1_recordid_QNAME, null, writer, context);
    ns3_myns3_string__java_lang_String_String_Serializer.serialize(
        instance.getName(), ns1_name_QNAME, null, writer, context);
  }
  public void doSerializeInstance(
      java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context)
      throws java.lang.Exception {
    com.seapine.ttsoapcgi.TtsoapcgiPortType_deleteTestRunByRecordID_RequestStruct instance =
        (com.seapine.ttsoapcgi.TtsoapcgiPortType_deleteTestRunByRecordID_RequestStruct) obj;

    ns3_myns3__long__long_Long_Serializer.serialize(
        new Long(instance.getCookie()), ns1_cookie_QNAME, null, writer, context);
    ns3_myns3__long__long_Long_Serializer.serialize(
        new Long(instance.getRecordID()), ns1_recordID_QNAME, null, writer, context);
  }
 public java.lang.Object doDeserialize(
     javax.xml.namespace.QName name, XMLReader reader, SOAPDeserializationContext context)
     throws Exception {
   javax.xml.namespace.QName elementType = getType(reader);
   if (elementType != null
       && elementType.equals(
           ns1_myLanguagePairNotUniquelyDecidedException_Exception_SOAPSerializer.getXmlType())) {
     return ns1_myLanguagePairNotUniquelyDecidedException_Exception_SOAPSerializer.deserialize(
         name, reader, context);
   } else if (elementType != null
       && elementType.equals(
           ns1_myUnsupportedLanguagePairException_Exception_SOAPSerializer.getXmlType())) {
     return ns1_myUnsupportedLanguagePairException_Exception_SOAPSerializer.deserialize(
         name, reader, context);
   } else if (elementType != null
       && elementType.equals(
           ns1_myUnsupportedMatchingMethodException_Exception_SOAPSerializer.getXmlType())) {
     return ns1_myUnsupportedMatchingMethodException_Exception_SOAPSerializer.deserialize(
         name, reader, context);
   } else if (elementType == null
       || elementType.equals(
           ns1_myInvalidParameterException_Exception_SOAPSerializer.getXmlType())) {
     Object obj =
         ns1_myInvalidParameterException_Exception_SOAPSerializer.deserialize(
             name, reader, context);
     while (reader.getState() == XMLReader.START) {
       reader.skipElement();
       reader.nextElementContent();
     }
     return obj;
   }
   throw new DeserializationException(
       "soap.unexpectedElementType", new Object[] {"", elementType.toString()});
 }
  public void doSerializeInstance(
      java.lang.Object obj,
      javax.xml.namespace.QName name,
      SerializerCallback callback,
      XMLWriter writer,
      SOAPSerializationContext context)
      throws Exception {
    com.seapine.ttsoapcgi.CEventDefinition instance = (com.seapine.ttsoapcgi.CEventDefinition) obj;

    if (obj instanceof com.seapine.ttsoapcgi.CDefectEventDefinition) {
      ns1_myCDefectEventDefinition_SOAPSerializer.serialize(obj, name, callback, writer, context);
    } else {
      ns1_myCEventDefinition_SOAPSerializer.serialize(obj, name, callback, writer, context);
    }
  }
 public java.lang.Object doDeserialize(
     javax.xml.namespace.QName name, XMLReader reader, SOAPDeserializationContext context)
     throws Exception {
   javax.xml.namespace.QName elementType = getType(reader);
   if (elementType != null
       && elementType.equals(ns1_myCDefectEventDefinition_SOAPSerializer.getXmlType())) {
     return ns1_myCDefectEventDefinition_SOAPSerializer.deserialize(name, reader, context);
   } else if (elementType == null
       || elementType.equals(ns1_myCEventDefinition_SOAPSerializer.getXmlType())) {
     Object obj = ns1_myCEventDefinition_SOAPSerializer.deserialize(name, reader, context);
     return obj;
   }
   throw new DeserializationException(
       "soap.unexpectedElementType", new Object[] {"", elementType.toString()});
 }
  public java.lang.Object doDeserialize(
      SOAPDeserializationState state, XMLReader reader, SOAPDeserializationContext context)
      throws java.lang.Exception {
    com.seapine.ttsoapcgi.TtsoapcgiPortType_addFolder_ResponseStruct instance =
        new com.seapine.ttsoapcgi.TtsoapcgiPortType_addFolder_ResponseStruct();
    java.lang.Object member;
    boolean isComplete = true;
    javax.xml.namespace.QName elementName;

    reader.nextElementContent();
    elementName = reader.getName();
    if (reader.getState() == XMLReader.START) {
      if (elementName.equals(ns1_recordID_QNAME)) {
        member =
            ns3_myns3__long__long_Long_Serializer.deserialize(ns1_recordID_QNAME, reader, context);
        instance.setRecordID(((Long) member).longValue());
        reader.nextElementContent();
      } else {
        throw new DeserializationException(
            "soap.unexpectedElementName", new Object[] {ns1_recordID_QNAME, elementName});
      }
    }

    XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
    return (isComplete ? (java.lang.Object) instance : (java.lang.Object) state);
  }
  public void doSerializeInstance(
      java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context)
      throws java.lang.Exception {
    com.m1.ems.ws.client.registration.RegistrationService_checkLoginStatus_RequestStruct2 instance =
        (com.m1.ems.ws.client.registration.RegistrationService_checkLoginStatus_RequestStruct2) obj;

    ns2_myns2_string__java_lang_String_String_Serializer.serialize(
        instance.getString_1(), ns1_String_1_QNAME, null, writer, context);
  }
  public void doSerializeInstance(
      java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context)
      throws java.lang.Exception {
    com.seapine.ttsoapcgi.TtsoapcgiPortType_addFolder_ResponseStruct instance =
        (com.seapine.ttsoapcgi.TtsoapcgiPortType_addFolder_ResponseStruct) obj;

    ns3_myns3__long__long_Long_Serializer.serialize(
        new Long(instance.getRecordID()), ns1_recordID_QNAME, null, writer, context);
  }
  public void doSerializeInstance(
      java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context)
      throws java.lang.Exception {
    com.m1.ems.ws.client.registration.RegistrationService_login2_ResponseStruct2 instance =
        (com.m1.ems.ws.client.registration.RegistrationService_login2_ResponseStruct2) obj;

    ns3_myLoginResp_SOAPSerializer.serialize(
        instance.getResult(), ns1_result_QNAME, null, writer, context);
  }
  public java.lang.Object doDeserialize(
      SOAPDeserializationState state, XMLReader reader, SOAPDeserializationContext context)
      throws java.lang.Exception {
    com.seapine.ttsoapcgi.CField instance = new com.seapine.ttsoapcgi.CField();
    com.seapine.ttsoapcgi.CField_SOAPBuilder builder = null;
    java.lang.Object member;
    boolean isComplete = true;
    javax.xml.namespace.QName elementName;

    reader.nextElementContent();
    elementName = reader.getName();
    if (reader.getState() == XMLReader.START) {
      if (elementName.equals(ns1_recordid_QNAME)) {
        member =
            ns3_myns3__long__long_Long_Serializer.deserialize(ns1_recordid_QNAME, reader, context);
        instance.setRecordid(((Long) member).longValue());
        reader.nextElementContent();
      }
    }
    elementName = reader.getName();
    if (reader.getState() == XMLReader.START) {
      if (elementName.equals(ns1_name_QNAME)) {
        member =
            ns3_myns3_string__java_lang_String_String_Serializer.deserialize(
                ns1_name_QNAME, reader, context);
        if (member instanceof SOAPDeserializationState) {
          if (builder == null) {
            builder = new com.seapine.ttsoapcgi.CField_SOAPBuilder();
          }
          state = registerWithMemberState(instance, state, member, myNAME_INDEX, builder);
          isComplete = false;
        } else {
          instance.setName((java.lang.String) member);
        }
        reader.nextElementContent();
      }
    }

    XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
    return (isComplete ? (java.lang.Object) instance : (java.lang.Object) state);
  }
  public void doSerializeInstance(
      java.lang.Object obj, XMLWriter writer, SOAPSerializationContext context)
      throws java.lang.Exception {
    com.m1.ems.ws.client.registration.RegistrationService_loginUsingRegistration_RequestStruct2
        instance =
            (com.m1.ems.ws.client.registration
                    .RegistrationService_loginUsingRegistration_RequestStruct2)
                obj;

    ns3_myRegistrationData_SOAPSerializer.serialize(
        instance.getRegistrationData_1(), ns1_RegistrationData_1_QNAME, null, writer, context);
  }
 public void initialize(InternalTypeMappingRegistry registry) throws Exception {
   ns1_myCDefectEventDefinition_SOAPSerializer =
       (CombinedSerializer)
           registry.getSerializer(
               SOAPConstants.NS_SOAP_ENCODING,
               com.seapine.ttsoapcgi.CDefectEventDefinition.class,
               ns1_CDefectEventDefinition_TYPE_QNAME);
   ns1_myCDefectEventDefinition_SOAPSerializer =
       ns1_myCDefectEventDefinition_SOAPSerializer.getInnermostSerializer();
   QName type = new QName("urn:testtrack-interface", "CEventDefinition");
   CombinedSerializer interfaceSerializer =
       new com.seapine.ttsoapcgi.CEventDefinition_SOAPSerializer(
           type, ENCODE_TYPE, NULLABLE, SOAPConstants.NS_SOAP_ENCODING);
   interfaceSerializer =
       new ReferenceableSerializerImpl(
           DONT_SERIALIZE_AS_REF, interfaceSerializer, SOAPVersion.SOAP_11);
   ns1_myCEventDefinition_SOAPSerializer = interfaceSerializer.getInnermostSerializer();
   if (ns1_myCEventDefinition_SOAPSerializer instanceof Initializable) {
     ((Initializable) ns1_myCEventDefinition_SOAPSerializer).initialize(registry);
   }
 }
 public void initialize(InternalTypeMappingRegistry registry) throws Exception {
   ns1_myLanguagePairNotUniquelyDecidedException_Exception_SOAPSerializer =
       (CombinedSerializer)
           registry.getSerializer(
               SOAPConstants.NS_SOAP_ENCODING,
               dictionary.LanguagePairNotUniquelyDecidedException_Exception.class,
               ns1_LanguagePairNotUniquelyDecidedException_TYPE_QNAME);
   ns1_myLanguagePairNotUniquelyDecidedException_Exception_SOAPSerializer =
       ns1_myLanguagePairNotUniquelyDecidedException_Exception_SOAPSerializer
           .getInnermostSerializer();
   ns1_myUnsupportedLanguagePairException_Exception_SOAPSerializer =
       (CombinedSerializer)
           registry.getSerializer(
               SOAPConstants.NS_SOAP_ENCODING,
               dictionary.UnsupportedLanguagePairException_Exception.class,
               ns1_UnsupportedLanguagePairException_TYPE_QNAME);
   ns1_myUnsupportedLanguagePairException_Exception_SOAPSerializer =
       ns1_myUnsupportedLanguagePairException_Exception_SOAPSerializer.getInnermostSerializer();
   ns1_myUnsupportedMatchingMethodException_Exception_SOAPSerializer =
       (CombinedSerializer)
           registry.getSerializer(
               SOAPConstants.NS_SOAP_ENCODING,
               dictionary.UnsupportedMatchingMethodException_Exception.class,
               ns1_UnsupportedMatchingMethodException_TYPE_QNAME);
   ns1_myUnsupportedMatchingMethodException_Exception_SOAPSerializer =
       ns1_myUnsupportedMatchingMethodException_Exception_SOAPSerializer.getInnermostSerializer();
   QName type = new QName("http://langrid.nict.go.jp/ws_1_2/", "InvalidParameterException");
   CombinedSerializer interfaceSerializer =
       new dictionary.InvalidParameterException_Exception_SOAPSerializer(
           type, ENCODE_TYPE, NULLABLE, SOAPConstants.NS_SOAP_ENCODING);
   interfaceSerializer =
       new ReferenceableSerializerImpl(
           DONT_SERIALIZE_AS_REF, interfaceSerializer, SOAPVersion.SOAP_11);
   ns1_myInvalidParameterException_Exception_SOAPSerializer =
       interfaceSerializer.getInnermostSerializer();
   if (ns1_myInvalidParameterException_Exception_SOAPSerializer instanceof Initializable) {
     ((Initializable) ns1_myInvalidParameterException_Exception_SOAPSerializer)
         .initialize(registry);
   }
 }
  public void doSerializeInstance(
      java.lang.Object obj,
      javax.xml.namespace.QName name,
      SerializerCallback callback,
      XMLWriter writer,
      SOAPSerializationContext context)
      throws Exception {
    dictionary.InvalidParameterException_Exception instance =
        (dictionary.InvalidParameterException_Exception) obj;

    if (obj instanceof dictionary.LanguagePairNotUniquelyDecidedException_Exception) {
      ns1_myLanguagePairNotUniquelyDecidedException_Exception_SOAPSerializer.serialize(
          obj, name, callback, writer, context);
    } else if (obj instanceof dictionary.UnsupportedLanguagePairException_Exception) {
      ns1_myUnsupportedLanguagePairException_Exception_SOAPSerializer.serialize(
          obj, name, callback, writer, context);
    } else if (obj instanceof dictionary.UnsupportedMatchingMethodException_Exception) {
      ns1_myUnsupportedMatchingMethodException_Exception_SOAPSerializer.serialize(
          obj, name, callback, writer, context);
    } else {
      ns1_myInvalidParameterException_Exception_SOAPSerializer.serialize(
          obj, name, callback, writer, context);
    }
  }
  public java.lang.Object doDeserialize(
      SOAPDeserializationState state, XMLReader reader, SOAPDeserializationContext context)
      throws java.lang.Exception {
    com.m1.ems.ws.client.registration.RegistrationService_loginUsingRegistration_RequestStruct2
        instance =
            new com.m1.ems.ws.client.registration
                .RegistrationService_loginUsingRegistration_RequestStruct2();
    com.m1.ems.ws.client.registration
            .RegistrationService_loginUsingRegistration_RequestStruct2_SOAPBuilder
        builder = null;
    java.lang.Object member;
    boolean isComplete = true;
    javax.xml.namespace.QName elementName;

    reader.nextElementContent();
    elementName = reader.getName();
    if (reader.getState() == XMLReader.START) {
      if (elementName.equals(ns1_RegistrationData_1_QNAME)) {
        member =
            ns3_myRegistrationData_SOAPSerializer.deserialize(
                ns1_RegistrationData_1_QNAME, reader, context);
        if (member instanceof SOAPDeserializationState) {
          if (builder == null) {
            builder =
                new com.m1.ems.ws.client.registration
                    .RegistrationService_loginUsingRegistration_RequestStruct2_SOAPBuilder();
          }
          state =
              registerWithMemberState(instance, state, member, myREGISTRATIONDATA_1_INDEX, builder);
          isComplete = false;
        } else {
          instance.setRegistrationData_1(
              (com.m1.ems.ws.client.registration.RegistrationData) member);
        }
        reader.nextElementContent();
      } else {
        throw new DeserializationException(
            "soap.unexpectedElementName", new Object[] {ns1_RegistrationData_1_QNAME, elementName});
      }
    }

    XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
    return (isComplete ? (java.lang.Object) instance : (java.lang.Object) state);
  }