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 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);
  }