IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 30, 2007, 5:06:36 PM (19 years ago)
Author:
jhoblitt
Message:

remove $class_id & $comment params from Nebulous::Server->create() and Nebulous::Client->create*() and all supporting functions and tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous/nebclient/src/soapC.c

    r13078 r13096  
    1212SOAP_BEGIN_NAMESPACE(soap)
    1313
    14 SOAP_SOURCE_STAMP("@(#) soapC.c ver 2.7.2 2007-04-28 01:32:49 GMT")
     14SOAP_SOURCE_STAMP("@(#) soapC.c ver 2.7.2 2007-05-01 02:53:36 GMT")
    1515
    1616
     
    24842484        soap_embedded(soap, &a->key, SOAP_TYPE_string);
    24852485        soap_serialize_string(soap, &a->key);
    2486         soap_embedded(soap, &a->class_, SOAP_TYPE_int);
    24872486        soap_embedded(soap, &a->volume, SOAP_TYPE_string);
    24882487        soap_serialize_string(soap, &a->volume);
    2489         soap_embedded(soap, &a->comment, SOAP_TYPE_string);
    2490         soap_serialize_string(soap, &a->comment);
    24912488}
    24922489
     
    24952492        (void)soap; (void)a; /* appease -Wall -Werror */
    24962493        soap_default_string(soap, &a->key);
    2497         soap_default_int(soap, &a->class_);
    24982494        soap_default_string(soap, &a->volume);
    2499         soap_default_string(soap, &a->comment);
    25002495}
    25012496
     
    25122507        soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__create_USCOREobject), type);
    25132508        soap_out_string(soap, "key", -1, &a->key, "");
    2514         soap_out_int(soap, "class", -1, &a->class_, "");
    25152509        soap_out_string(soap, "volume", -1, &a->volume, "");
    2516         soap_out_string(soap, "comment", -1, &a->comment, "");
    25172510        soap_element_end_out(soap, tag);
    25182511        return SOAP_OK;
     
    25282521SOAP_FMAC3 struct ns1__create_USCOREobject * SOAP_FMAC4 soap_in_ns1__create_USCOREobject(struct soap *soap, const char *tag, struct ns1__create_USCOREobject *a, const char *type)
    25292522{
    2530         short soap_flag_key = 1, soap_flag_class_ = 1, soap_flag_volume = 1, soap_flag_comment = 1;
     2523        short soap_flag_key = 1, soap_flag_volume = 1;
    25312524        if (soap_element_begin_in(soap, tag, 0))
    25322525                return NULL;
     
    25482541                                        continue;
    25492542                                }
    2550                         if (soap_flag_class_ && soap->error == SOAP_TAG_MISMATCH)
    2551                                 if (soap_in_int(soap, "class", &a->class_, ""))
    2552                                 {       soap_flag_class_ = 0;
    2553                                         continue;
    2554                                 }
    25552543                        if (soap_flag_volume && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
    25562544                                if (soap_in_string(soap, "volume", &a->volume, ""))
    25572545                                {       soap_flag_volume = 0;
    2558                                         continue;
    2559                                 }
    2560                         if (soap_flag_comment && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
    2561                                 if (soap_in_string(soap, "comment", &a->comment, ""))
    2562                                 {       soap_flag_comment = 0;
    25632546                                        continue;
    25642547                                }
     
    25692552                        if (soap->error)
    25702553                                return NULL;
    2571                 }
    2572                 if ((soap->mode & SOAP_XML_STRICT) && (soap_flag_class_))
    2573                 {       soap->error = SOAP_OCCURS;
    2574                         return NULL;
    25752554                }
    25762555                if (soap_element_end_in(soap, tag))
Note: See TracChangeset for help on using the changeset viewer.