IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 16, 2008, 1:30:47 PM (18 years ago)
Author:
jhoblitt
Message:

add soap bindings for setxattr,getxattr,listxattr,removexattr

File:
1 edited

Legend:

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

    r20110 r20208  
    1212#endif
    1313
    14 SOAP_SOURCE_STAMP("@(#) soapC.c ver 2.7.11 2008-10-13 22:06:55 GMT")
     14SOAP_SOURCE_STAMP("@(#) soapC.c ver 2.7.11 2008-10-16 23:26:39 GMT")
    1515
    1616
     
    177177        case SOAP_TYPE_ns1__find_USCOREobjectsResponse:
    178178                return soap_in_ns1__find_USCOREobjectsResponse(soap, NULL, NULL, "ns1:find_objectsResponse");
     179        case SOAP_TYPE_ns1__removexattr_USCOREobject:
     180                return soap_in_ns1__removexattr_USCOREobject(soap, NULL, NULL, "ns1:removexattr_object");
     181        case SOAP_TYPE_ns1__removexattr_USCOREobjectResponse:
     182                return soap_in_ns1__removexattr_USCOREobjectResponse(soap, NULL, NULL, "ns1:removexattr_objectResponse");
     183        case SOAP_TYPE_ns1__listxattr_USCOREobject:
     184                return soap_in_ns1__listxattr_USCOREobject(soap, NULL, NULL, "ns1:listxattr_object");
     185        case SOAP_TYPE_ns1__listxattr_USCOREobjectResponse:
     186                return soap_in_ns1__listxattr_USCOREobjectResponse(soap, NULL, NULL, "ns1:listxattr_objectResponse");
     187        case SOAP_TYPE_ns1__getxattr_USCOREobject:
     188                return soap_in_ns1__getxattr_USCOREobject(soap, NULL, NULL, "ns1:getxattr_object");
     189        case SOAP_TYPE_ns1__getxattr_USCOREobjectResponse:
     190                return soap_in_ns1__getxattr_USCOREobjectResponse(soap, NULL, NULL, "ns1:getxattr_objectResponse");
     191        case SOAP_TYPE_ns1__setxattr_USCOREobject:
     192                return soap_in_ns1__setxattr_USCOREobject(soap, NULL, NULL, "ns1:setxattr_object");
     193        case SOAP_TYPE_ns1__setxattr_USCOREobjectResponse:
     194                return soap_in_ns1__setxattr_USCOREobjectResponse(soap, NULL, NULL, "ns1:setxattr_objectResponse");
    179195        case SOAP_TYPE_ns1__unlock_USCOREobject:
    180196                return soap_in_ns1__unlock_USCOREobject(soap, NULL, NULL, "ns1:unlock_object");
     
    209225        case SOAP_TYPE_PointerTons1__find_USCOREobjectsResponse:
    210226                return soap_in_PointerTons1__find_USCOREobjectsResponse(soap, NULL, NULL, "ns1:find_objectsResponse");
     227        case SOAP_TYPE_PointerTons1__listxattr_USCOREobjectResponse:
     228                return soap_in_PointerTons1__listxattr_USCOREobjectResponse(soap, NULL, NULL, "ns1:listxattr_objectResponse");
    211229        case SOAP_TYPE_PointerToArrayOfString:
    212230                return soap_in_PointerToArrayOfString(soap, NULL, NULL, "xsd:string");
     
    263281                {       *type = SOAP_TYPE_ns1__find_USCOREobjectsResponse;
    264282                        return soap_in_ns1__find_USCOREobjectsResponse(soap, NULL, NULL, NULL);
     283                }
     284                if (!soap_match_tag(soap, t, "ns1:removexattr_object"))
     285                {       *type = SOAP_TYPE_ns1__removexattr_USCOREobject;
     286                        return soap_in_ns1__removexattr_USCOREobject(soap, NULL, NULL, NULL);
     287                }
     288                if (!soap_match_tag(soap, t, "ns1:removexattr_objectResponse"))
     289                {       *type = SOAP_TYPE_ns1__removexattr_USCOREobjectResponse;
     290                        return soap_in_ns1__removexattr_USCOREobjectResponse(soap, NULL, NULL, NULL);
     291                }
     292                if (!soap_match_tag(soap, t, "ns1:listxattr_object"))
     293                {       *type = SOAP_TYPE_ns1__listxattr_USCOREobject;
     294                        return soap_in_ns1__listxattr_USCOREobject(soap, NULL, NULL, NULL);
     295                }
     296                if (!soap_match_tag(soap, t, "ns1:listxattr_objectResponse"))
     297                {       *type = SOAP_TYPE_ns1__listxattr_USCOREobjectResponse;
     298                        return soap_in_ns1__listxattr_USCOREobjectResponse(soap, NULL, NULL, NULL);
     299                }
     300                if (!soap_match_tag(soap, t, "ns1:getxattr_object"))
     301                {       *type = SOAP_TYPE_ns1__getxattr_USCOREobject;
     302                        return soap_in_ns1__getxattr_USCOREobject(soap, NULL, NULL, NULL);
     303                }
     304                if (!soap_match_tag(soap, t, "ns1:getxattr_objectResponse"))
     305                {       *type = SOAP_TYPE_ns1__getxattr_USCOREobjectResponse;
     306                        return soap_in_ns1__getxattr_USCOREobjectResponse(soap, NULL, NULL, NULL);
     307                }
     308                if (!soap_match_tag(soap, t, "ns1:setxattr_object"))
     309                {       *type = SOAP_TYPE_ns1__setxattr_USCOREobject;
     310                        return soap_in_ns1__setxattr_USCOREobject(soap, NULL, NULL, NULL);
     311                }
     312                if (!soap_match_tag(soap, t, "ns1:setxattr_objectResponse"))
     313                {       *type = SOAP_TYPE_ns1__setxattr_USCOREobjectResponse;
     314                        return soap_in_ns1__setxattr_USCOREobjectResponse(soap, NULL, NULL, NULL);
    265315                }
    266316                if (!soap_match_tag(soap, t, "ns1:unlock_object"))
     
    406456        case SOAP_TYPE_ns1__find_USCOREobjectsResponse:
    407457                return soap_out_ns1__find_USCOREobjectsResponse(soap, tag, id, (const struct ns1__find_USCOREobjectsResponse *)ptr, "ns1:find_objectsResponse");
     458        case SOAP_TYPE_ns1__removexattr_USCOREobject:
     459                return soap_out_ns1__removexattr_USCOREobject(soap, tag, id, (const struct ns1__removexattr_USCOREobject *)ptr, "ns1:removexattr_object");
     460        case SOAP_TYPE_ns1__removexattr_USCOREobjectResponse:
     461                return soap_out_ns1__removexattr_USCOREobjectResponse(soap, tag, id, (const struct ns1__removexattr_USCOREobjectResponse *)ptr, "ns1:removexattr_objectResponse");
     462        case SOAP_TYPE_ns1__listxattr_USCOREobject:
     463                return soap_out_ns1__listxattr_USCOREobject(soap, tag, id, (const struct ns1__listxattr_USCOREobject *)ptr, "ns1:listxattr_object");
     464        case SOAP_TYPE_ns1__listxattr_USCOREobjectResponse:
     465                return soap_out_ns1__listxattr_USCOREobjectResponse(soap, tag, id, (const struct ns1__listxattr_USCOREobjectResponse *)ptr, "ns1:listxattr_objectResponse");
     466        case SOAP_TYPE_ns1__getxattr_USCOREobject:
     467                return soap_out_ns1__getxattr_USCOREobject(soap, tag, id, (const struct ns1__getxattr_USCOREobject *)ptr, "ns1:getxattr_object");
     468        case SOAP_TYPE_ns1__getxattr_USCOREobjectResponse:
     469                return soap_out_ns1__getxattr_USCOREobjectResponse(soap, tag, id, (const struct ns1__getxattr_USCOREobjectResponse *)ptr, "ns1:getxattr_objectResponse");
     470        case SOAP_TYPE_ns1__setxattr_USCOREobject:
     471                return soap_out_ns1__setxattr_USCOREobject(soap, tag, id, (const struct ns1__setxattr_USCOREobject *)ptr, "ns1:setxattr_object");
     472        case SOAP_TYPE_ns1__setxattr_USCOREobjectResponse:
     473                return soap_out_ns1__setxattr_USCOREobjectResponse(soap, tag, id, (const struct ns1__setxattr_USCOREobjectResponse *)ptr, "ns1:setxattr_objectResponse");
    408474        case SOAP_TYPE_ns1__unlock_USCOREobject:
    409475                return soap_out_ns1__unlock_USCOREobject(soap, tag, id, (const struct ns1__unlock_USCOREobject *)ptr, "ns1:unlock_object");
     
    438504        case SOAP_TYPE_PointerTons1__find_USCOREobjectsResponse:
    439505                return soap_out_PointerTons1__find_USCOREobjectsResponse(soap, tag, id, (struct ns1__find_USCOREobjectsResponse *const*)ptr, "ns1:find_objectsResponse");
     506        case SOAP_TYPE_PointerTons1__listxattr_USCOREobjectResponse:
     507                return soap_out_PointerTons1__listxattr_USCOREobjectResponse(soap, tag, id, (struct ns1__listxattr_USCOREobjectResponse *const*)ptr, "ns1:listxattr_objectResponse");
    440508        case SOAP_TYPE_PointerToArrayOfString:
    441509                return soap_out_PointerToArrayOfString(soap, tag, id, (struct ArrayOfString *const*)ptr, "xsd:string");
     
    482550        case SOAP_TYPE_ns1__find_USCOREobjectsResponse:
    483551                soap_serialize_ns1__find_USCOREobjectsResponse(soap, (const struct ns1__find_USCOREobjectsResponse *)ptr);
     552                break;
     553        case SOAP_TYPE_ns1__removexattr_USCOREobject:
     554                soap_serialize_ns1__removexattr_USCOREobject(soap, (const struct ns1__removexattr_USCOREobject *)ptr);
     555                break;
     556        case SOAP_TYPE_ns1__removexattr_USCOREobjectResponse:
     557                soap_serialize_ns1__removexattr_USCOREobjectResponse(soap, (const struct ns1__removexattr_USCOREobjectResponse *)ptr);
     558                break;
     559        case SOAP_TYPE_ns1__listxattr_USCOREobject:
     560                soap_serialize_ns1__listxattr_USCOREobject(soap, (const struct ns1__listxattr_USCOREobject *)ptr);
     561                break;
     562        case SOAP_TYPE_ns1__listxattr_USCOREobjectResponse:
     563                soap_serialize_ns1__listxattr_USCOREobjectResponse(soap, (const struct ns1__listxattr_USCOREobjectResponse *)ptr);
     564                break;
     565        case SOAP_TYPE_ns1__getxattr_USCOREobject:
     566                soap_serialize_ns1__getxattr_USCOREobject(soap, (const struct ns1__getxattr_USCOREobject *)ptr);
     567                break;
     568        case SOAP_TYPE_ns1__getxattr_USCOREobjectResponse:
     569                soap_serialize_ns1__getxattr_USCOREobjectResponse(soap, (const struct ns1__getxattr_USCOREobjectResponse *)ptr);
     570                break;
     571        case SOAP_TYPE_ns1__setxattr_USCOREobject:
     572                soap_serialize_ns1__setxattr_USCOREobject(soap, (const struct ns1__setxattr_USCOREobject *)ptr);
     573                break;
     574        case SOAP_TYPE_ns1__setxattr_USCOREobjectResponse:
     575                soap_serialize_ns1__setxattr_USCOREobjectResponse(soap, (const struct ns1__setxattr_USCOREobjectResponse *)ptr);
    484576                break;
    485577        case SOAP_TYPE_ns1__unlock_USCOREobject:
     
    531623                soap_serialize_PointerTons1__find_USCOREobjectsResponse(soap, (struct ns1__find_USCOREobjectsResponse *const*)ptr);
    532624                break;
     625        case SOAP_TYPE_PointerTons1__listxattr_USCOREobjectResponse:
     626                soap_serialize_PointerTons1__listxattr_USCOREobjectResponse(soap, (struct ns1__listxattr_USCOREobjectResponse *const*)ptr);
     627                break;
    533628        case SOAP_TYPE_PointerToArrayOfString:
    534629                soap_serialize_PointerToArrayOfString(soap, (struct ArrayOfString *const*)ptr);
     
    16861781        else
    16871782        {       a = (struct ns1__find_USCOREobjectsResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__find_USCOREobjectsResponse, 0, sizeof(struct ns1__find_USCOREobjectsResponse), 0, NULL);
     1783                if (soap->body && soap_element_end_in(soap, tag))
     1784                        return NULL;
     1785        }
     1786        return a;
     1787}
     1788
     1789SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__removexattr_USCOREobject(struct soap *soap, struct ns1__removexattr_USCOREobject *a)
     1790{
     1791        (void)soap; (void)a; /* appease -Wall -Werror */
     1792        soap_default_string(soap, &a->key);
     1793        soap_default_string(soap, &a->name);
     1794}
     1795
     1796SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__removexattr_USCOREobject(struct soap *soap, const struct ns1__removexattr_USCOREobject *a)
     1797{
     1798        (void)soap; (void)a; /* appease -Wall -Werror */
     1799        soap_serialize_string(soap, &a->key);
     1800        soap_serialize_string(soap, &a->name);
     1801}
     1802
     1803SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__removexattr_USCOREobject(struct soap *soap, const struct ns1__removexattr_USCOREobject *a, const char *tag, const char *type)
     1804{
     1805        register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__removexattr_USCOREobject);
     1806        if (soap_out_ns1__removexattr_USCOREobject(soap, tag, id, a, type))
     1807                return soap->error;
     1808        return soap_putindependent(soap);
     1809}
     1810
     1811SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__removexattr_USCOREobject(struct soap *soap, const char *tag, int id, const struct ns1__removexattr_USCOREobject *a, const char *type)
     1812{
     1813        if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__removexattr_USCOREobject), type))
     1814                return soap->error;
     1815        if (soap_out_string(soap, "key", -1, &a->key, ""))
     1816                return soap->error;
     1817        if (soap_out_string(soap, "name", -1, &a->name, ""))
     1818                return soap->error;
     1819        return soap_element_end_out(soap, tag);
     1820}
     1821
     1822SOAP_FMAC3 struct ns1__removexattr_USCOREobject * SOAP_FMAC4 soap_get_ns1__removexattr_USCOREobject(struct soap *soap, struct ns1__removexattr_USCOREobject *p, const char *tag, const char *type)
     1823{
     1824        if ((p = soap_in_ns1__removexattr_USCOREobject(soap, tag, p, type)))
     1825                if (soap_getindependent(soap))
     1826                        return NULL;
     1827        return p;
     1828}
     1829
     1830SOAP_FMAC3 struct ns1__removexattr_USCOREobject * SOAP_FMAC4 soap_in_ns1__removexattr_USCOREobject(struct soap *soap, const char *tag, struct ns1__removexattr_USCOREobject *a, const char *type)
     1831{
     1832        size_t soap_flag_key = 1;
     1833        size_t soap_flag_name = 1;
     1834        if (soap_element_begin_in(soap, tag, 0, type))
     1835                return NULL;
     1836        a = (struct ns1__removexattr_USCOREobject *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__removexattr_USCOREobject, sizeof(struct ns1__removexattr_USCOREobject), 0, NULL, NULL, NULL);
     1837        if (!a)
     1838                return NULL;
     1839        soap_default_ns1__removexattr_USCOREobject(soap, a);
     1840        if (soap->body && !*soap->href)
     1841        {
     1842                for (;;)
     1843                {       soap->error = SOAP_TAG_MISMATCH;
     1844                        if (soap_flag_key && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
     1845                                if (soap_in_string(soap, "key", &a->key, "xsd:string"))
     1846                                {       soap_flag_key--;
     1847                                        continue;
     1848                                }
     1849                        if (soap_flag_name && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
     1850                                if (soap_in_string(soap, "name", &a->name, "xsd:string"))
     1851                                {       soap_flag_name--;
     1852                                        continue;
     1853                                }
     1854                        if (soap->error == SOAP_TAG_MISMATCH)
     1855                                soap->error = soap_ignore_element(soap);
     1856                        if (soap->error == SOAP_NO_TAG)
     1857                                break;
     1858                        if (soap->error)
     1859                                return NULL;
     1860                }
     1861                if (soap_element_end_in(soap, tag))
     1862                        return NULL;
     1863        }
     1864        else
     1865        {       a = (struct ns1__removexattr_USCOREobject *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__removexattr_USCOREobject, 0, sizeof(struct ns1__removexattr_USCOREobject), 0, NULL);
     1866                if (soap->body && soap_element_end_in(soap, tag))
     1867                        return NULL;
     1868        }
     1869        return a;
     1870}
     1871
     1872SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__removexattr_USCOREobjectResponse(struct soap *soap, struct ns1__removexattr_USCOREobjectResponse *a)
     1873{
     1874        (void)soap; (void)a; /* appease -Wall -Werror */
     1875        a->result = NULL;
     1876}
     1877
     1878SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__removexattr_USCOREobjectResponse(struct soap *soap, const struct ns1__removexattr_USCOREobjectResponse *a)
     1879{
     1880        (void)soap; (void)a; /* appease -Wall -Werror */
     1881        soap_serialize_PointerToint(soap, &a->result);
     1882}
     1883
     1884SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__removexattr_USCOREobjectResponse(struct soap *soap, const struct ns1__removexattr_USCOREobjectResponse *a, const char *tag, const char *type)
     1885{
     1886        register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__removexattr_USCOREobjectResponse);
     1887        if (soap_out_ns1__removexattr_USCOREobjectResponse(soap, tag, id, a, type))
     1888                return soap->error;
     1889        return soap_putindependent(soap);
     1890}
     1891
     1892SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__removexattr_USCOREobjectResponse(struct soap *soap, const char *tag, int id, const struct ns1__removexattr_USCOREobjectResponse *a, const char *type)
     1893{
     1894        if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__removexattr_USCOREobjectResponse), type))
     1895                return soap->error;
     1896        if (soap_out_PointerToint(soap, "result", -1, &a->result, ""))
     1897                return soap->error;
     1898        return soap_element_end_out(soap, tag);
     1899}
     1900
     1901SOAP_FMAC3 struct ns1__removexattr_USCOREobjectResponse * SOAP_FMAC4 soap_get_ns1__removexattr_USCOREobjectResponse(struct soap *soap, struct ns1__removexattr_USCOREobjectResponse *p, const char *tag, const char *type)
     1902{
     1903        if ((p = soap_in_ns1__removexattr_USCOREobjectResponse(soap, tag, p, type)))
     1904                if (soap_getindependent(soap))
     1905                        return NULL;
     1906        return p;
     1907}
     1908
     1909SOAP_FMAC3 struct ns1__removexattr_USCOREobjectResponse * SOAP_FMAC4 soap_in_ns1__removexattr_USCOREobjectResponse(struct soap *soap, const char *tag, struct ns1__removexattr_USCOREobjectResponse *a, const char *type)
     1910{
     1911        size_t soap_flag_result = 1;
     1912        if (soap_element_begin_in(soap, tag, 0, type))
     1913                return NULL;
     1914        a = (struct ns1__removexattr_USCOREobjectResponse *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__removexattr_USCOREobjectResponse, sizeof(struct ns1__removexattr_USCOREobjectResponse), 0, NULL, NULL, NULL);
     1915        if (!a)
     1916                return NULL;
     1917        soap_default_ns1__removexattr_USCOREobjectResponse(soap, a);
     1918        if (soap->body && !*soap->href)
     1919        {
     1920                for (;;)
     1921                {       soap->error = SOAP_TAG_MISMATCH;
     1922                        if (soap_flag_result && soap->error == SOAP_TAG_MISMATCH)
     1923                                if (soap_in_PointerToint(soap, "result", &a->result, "xsd:int"))
     1924                                {       soap_flag_result--;
     1925                                        continue;
     1926                                }
     1927                        if (soap->error == SOAP_TAG_MISMATCH)
     1928                                soap->error = soap_ignore_element(soap);
     1929                        if (soap->error == SOAP_NO_TAG)
     1930                                break;
     1931                        if (soap->error)
     1932                                return NULL;
     1933                }
     1934                if (soap_element_end_in(soap, tag))
     1935                        return NULL;
     1936        }
     1937        else
     1938        {       a = (struct ns1__removexattr_USCOREobjectResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__removexattr_USCOREobjectResponse, 0, sizeof(struct ns1__removexattr_USCOREobjectResponse), 0, NULL);
     1939                if (soap->body && soap_element_end_in(soap, tag))
     1940                        return NULL;
     1941        }
     1942        return a;
     1943}
     1944
     1945SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__listxattr_USCOREobject(struct soap *soap, struct ns1__listxattr_USCOREobject *a)
     1946{
     1947        (void)soap; (void)a; /* appease -Wall -Werror */
     1948        soap_default_string(soap, &a->key);
     1949}
     1950
     1951SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__listxattr_USCOREobject(struct soap *soap, const struct ns1__listxattr_USCOREobject *a)
     1952{
     1953        (void)soap; (void)a; /* appease -Wall -Werror */
     1954        soap_serialize_string(soap, &a->key);
     1955}
     1956
     1957SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__listxattr_USCOREobject(struct soap *soap, const struct ns1__listxattr_USCOREobject *a, const char *tag, const char *type)
     1958{
     1959        register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__listxattr_USCOREobject);
     1960        if (soap_out_ns1__listxattr_USCOREobject(soap, tag, id, a, type))
     1961                return soap->error;
     1962        return soap_putindependent(soap);
     1963}
     1964
     1965SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__listxattr_USCOREobject(struct soap *soap, const char *tag, int id, const struct ns1__listxattr_USCOREobject *a, const char *type)
     1966{
     1967        if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__listxattr_USCOREobject), type))
     1968                return soap->error;
     1969        if (soap_out_string(soap, "key", -1, &a->key, ""))
     1970                return soap->error;
     1971        return soap_element_end_out(soap, tag);
     1972}
     1973
     1974SOAP_FMAC3 struct ns1__listxattr_USCOREobject * SOAP_FMAC4 soap_get_ns1__listxattr_USCOREobject(struct soap *soap, struct ns1__listxattr_USCOREobject *p, const char *tag, const char *type)
     1975{
     1976        if ((p = soap_in_ns1__listxattr_USCOREobject(soap, tag, p, type)))
     1977                if (soap_getindependent(soap))
     1978                        return NULL;
     1979        return p;
     1980}
     1981
     1982SOAP_FMAC3 struct ns1__listxattr_USCOREobject * SOAP_FMAC4 soap_in_ns1__listxattr_USCOREobject(struct soap *soap, const char *tag, struct ns1__listxattr_USCOREobject *a, const char *type)
     1983{
     1984        size_t soap_flag_key = 1;
     1985        if (soap_element_begin_in(soap, tag, 0, type))
     1986                return NULL;
     1987        a = (struct ns1__listxattr_USCOREobject *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__listxattr_USCOREobject, sizeof(struct ns1__listxattr_USCOREobject), 0, NULL, NULL, NULL);
     1988        if (!a)
     1989                return NULL;
     1990        soap_default_ns1__listxattr_USCOREobject(soap, a);
     1991        if (soap->body && !*soap->href)
     1992        {
     1993                for (;;)
     1994                {       soap->error = SOAP_TAG_MISMATCH;
     1995                        if (soap_flag_key && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
     1996                                if (soap_in_string(soap, "key", &a->key, "xsd:string"))
     1997                                {       soap_flag_key--;
     1998                                        continue;
     1999                                }
     2000                        if (soap->error == SOAP_TAG_MISMATCH)
     2001                                soap->error = soap_ignore_element(soap);
     2002                        if (soap->error == SOAP_NO_TAG)
     2003                                break;
     2004                        if (soap->error)
     2005                                return NULL;
     2006                }
     2007                if (soap_element_end_in(soap, tag))
     2008                        return NULL;
     2009        }
     2010        else
     2011        {       a = (struct ns1__listxattr_USCOREobject *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__listxattr_USCOREobject, 0, sizeof(struct ns1__listxattr_USCOREobject), 0, NULL);
     2012                if (soap->body && soap_element_end_in(soap, tag))
     2013                        return NULL;
     2014        }
     2015        return a;
     2016}
     2017
     2018SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__listxattr_USCOREobjectResponse(struct soap *soap, struct ns1__listxattr_USCOREobjectResponse *a)
     2019{
     2020        (void)soap; (void)a; /* appease -Wall -Werror */
     2021        a->result = NULL;
     2022}
     2023
     2024SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__listxattr_USCOREobjectResponse(struct soap *soap, const struct ns1__listxattr_USCOREobjectResponse *a)
     2025{
     2026        (void)soap; (void)a; /* appease -Wall -Werror */
     2027        soap_serialize_PointerToArrayOfString(soap, &a->result);
     2028}
     2029
     2030SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__listxattr_USCOREobjectResponse(struct soap *soap, const struct ns1__listxattr_USCOREobjectResponse *a, const char *tag, const char *type)
     2031{
     2032        register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__listxattr_USCOREobjectResponse);
     2033        if (soap_out_ns1__listxattr_USCOREobjectResponse(soap, tag, id, a, type))
     2034                return soap->error;
     2035        return soap_putindependent(soap);
     2036}
     2037
     2038SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__listxattr_USCOREobjectResponse(struct soap *soap, const char *tag, int id, const struct ns1__listxattr_USCOREobjectResponse *a, const char *type)
     2039{
     2040        if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__listxattr_USCOREobjectResponse), type))
     2041                return soap->error;
     2042        if (soap_out_PointerToArrayOfString(soap, "result", -1, &a->result, ""))
     2043                return soap->error;
     2044        return soap_element_end_out(soap, tag);
     2045}
     2046
     2047SOAP_FMAC3 struct ns1__listxattr_USCOREobjectResponse * SOAP_FMAC4 soap_get_ns1__listxattr_USCOREobjectResponse(struct soap *soap, struct ns1__listxattr_USCOREobjectResponse *p, const char *tag, const char *type)
     2048{
     2049        if ((p = soap_in_ns1__listxattr_USCOREobjectResponse(soap, tag, p, type)))
     2050                if (soap_getindependent(soap))
     2051                        return NULL;
     2052        return p;
     2053}
     2054
     2055SOAP_FMAC3 struct ns1__listxattr_USCOREobjectResponse * SOAP_FMAC4 soap_in_ns1__listxattr_USCOREobjectResponse(struct soap *soap, const char *tag, struct ns1__listxattr_USCOREobjectResponse *a, const char *type)
     2056{
     2057        size_t soap_flag_result = 1;
     2058        if (soap_element_begin_in(soap, tag, 0, type))
     2059                return NULL;
     2060        a = (struct ns1__listxattr_USCOREobjectResponse *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__listxattr_USCOREobjectResponse, sizeof(struct ns1__listxattr_USCOREobjectResponse), 0, NULL, NULL, NULL);
     2061        if (!a)
     2062                return NULL;
     2063        soap_default_ns1__listxattr_USCOREobjectResponse(soap, a);
     2064        if (soap->body && !*soap->href)
     2065        {
     2066                for (;;)
     2067                {       soap->error = SOAP_TAG_MISMATCH;
     2068                        if (soap_flag_result && soap->error == SOAP_TAG_MISMATCH)
     2069                                if (soap_in_PointerToArrayOfString(soap, "result", &a->result, "xsd:string"))
     2070                                {       soap_flag_result--;
     2071                                        continue;
     2072                                }
     2073                        if (soap->error == SOAP_TAG_MISMATCH)
     2074                                soap->error = soap_ignore_element(soap);
     2075                        if (soap->error == SOAP_NO_TAG)
     2076                                break;
     2077                        if (soap->error)
     2078                                return NULL;
     2079                }
     2080                if (soap_element_end_in(soap, tag))
     2081                        return NULL;
     2082        }
     2083        else
     2084        {       a = (struct ns1__listxattr_USCOREobjectResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__listxattr_USCOREobjectResponse, 0, sizeof(struct ns1__listxattr_USCOREobjectResponse), 0, NULL);
     2085                if (soap->body && soap_element_end_in(soap, tag))
     2086                        return NULL;
     2087        }
     2088        return a;
     2089}
     2090
     2091SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__getxattr_USCOREobject(struct soap *soap, struct ns1__getxattr_USCOREobject *a)
     2092{
     2093        (void)soap; (void)a; /* appease -Wall -Werror */
     2094        soap_default_string(soap, &a->key);
     2095        soap_default_string(soap, &a->name);
     2096}
     2097
     2098SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__getxattr_USCOREobject(struct soap *soap, const struct ns1__getxattr_USCOREobject *a)
     2099{
     2100        (void)soap; (void)a; /* appease -Wall -Werror */
     2101        soap_serialize_string(soap, &a->key);
     2102        soap_serialize_string(soap, &a->name);
     2103}
     2104
     2105SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__getxattr_USCOREobject(struct soap *soap, const struct ns1__getxattr_USCOREobject *a, const char *tag, const char *type)
     2106{
     2107        register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__getxattr_USCOREobject);
     2108        if (soap_out_ns1__getxattr_USCOREobject(soap, tag, id, a, type))
     2109                return soap->error;
     2110        return soap_putindependent(soap);
     2111}
     2112
     2113SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__getxattr_USCOREobject(struct soap *soap, const char *tag, int id, const struct ns1__getxattr_USCOREobject *a, const char *type)
     2114{
     2115        if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__getxattr_USCOREobject), type))
     2116                return soap->error;
     2117        if (soap_out_string(soap, "key", -1, &a->key, ""))
     2118                return soap->error;
     2119        if (soap_out_string(soap, "name", -1, &a->name, ""))
     2120                return soap->error;
     2121        return soap_element_end_out(soap, tag);
     2122}
     2123
     2124SOAP_FMAC3 struct ns1__getxattr_USCOREobject * SOAP_FMAC4 soap_get_ns1__getxattr_USCOREobject(struct soap *soap, struct ns1__getxattr_USCOREobject *p, const char *tag, const char *type)
     2125{
     2126        if ((p = soap_in_ns1__getxattr_USCOREobject(soap, tag, p, type)))
     2127                if (soap_getindependent(soap))
     2128                        return NULL;
     2129        return p;
     2130}
     2131
     2132SOAP_FMAC3 struct ns1__getxattr_USCOREobject * SOAP_FMAC4 soap_in_ns1__getxattr_USCOREobject(struct soap *soap, const char *tag, struct ns1__getxattr_USCOREobject *a, const char *type)
     2133{
     2134        size_t soap_flag_key = 1;
     2135        size_t soap_flag_name = 1;
     2136        if (soap_element_begin_in(soap, tag, 0, type))
     2137                return NULL;
     2138        a = (struct ns1__getxattr_USCOREobject *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__getxattr_USCOREobject, sizeof(struct ns1__getxattr_USCOREobject), 0, NULL, NULL, NULL);
     2139        if (!a)
     2140                return NULL;
     2141        soap_default_ns1__getxattr_USCOREobject(soap, a);
     2142        if (soap->body && !*soap->href)
     2143        {
     2144                for (;;)
     2145                {       soap->error = SOAP_TAG_MISMATCH;
     2146                        if (soap_flag_key && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
     2147                                if (soap_in_string(soap, "key", &a->key, "xsd:string"))
     2148                                {       soap_flag_key--;
     2149                                        continue;
     2150                                }
     2151                        if (soap_flag_name && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
     2152                                if (soap_in_string(soap, "name", &a->name, "xsd:string"))
     2153                                {       soap_flag_name--;
     2154                                        continue;
     2155                                }
     2156                        if (soap->error == SOAP_TAG_MISMATCH)
     2157                                soap->error = soap_ignore_element(soap);
     2158                        if (soap->error == SOAP_NO_TAG)
     2159                                break;
     2160                        if (soap->error)
     2161                                return NULL;
     2162                }
     2163                if (soap_element_end_in(soap, tag))
     2164                        return NULL;
     2165        }
     2166        else
     2167        {       a = (struct ns1__getxattr_USCOREobject *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__getxattr_USCOREobject, 0, sizeof(struct ns1__getxattr_USCOREobject), 0, NULL);
     2168                if (soap->body && soap_element_end_in(soap, tag))
     2169                        return NULL;
     2170        }
     2171        return a;
     2172}
     2173
     2174SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__getxattr_USCOREobjectResponse(struct soap *soap, struct ns1__getxattr_USCOREobjectResponse *a)
     2175{
     2176        (void)soap; (void)a; /* appease -Wall -Werror */
     2177        a->result = NULL;
     2178}
     2179
     2180SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__getxattr_USCOREobjectResponse(struct soap *soap, const struct ns1__getxattr_USCOREobjectResponse *a)
     2181{
     2182        (void)soap; (void)a; /* appease -Wall -Werror */
     2183        soap_serialize_PointerTostring(soap, &a->result);
     2184}
     2185
     2186SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__getxattr_USCOREobjectResponse(struct soap *soap, const struct ns1__getxattr_USCOREobjectResponse *a, const char *tag, const char *type)
     2187{
     2188        register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__getxattr_USCOREobjectResponse);
     2189        if (soap_out_ns1__getxattr_USCOREobjectResponse(soap, tag, id, a, type))
     2190                return soap->error;
     2191        return soap_putindependent(soap);
     2192}
     2193
     2194SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__getxattr_USCOREobjectResponse(struct soap *soap, const char *tag, int id, const struct ns1__getxattr_USCOREobjectResponse *a, const char *type)
     2195{
     2196        if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__getxattr_USCOREobjectResponse), type))
     2197                return soap->error;
     2198        if (soap_out_PointerTostring(soap, "result", -1, &a->result, ""))
     2199                return soap->error;
     2200        return soap_element_end_out(soap, tag);
     2201}
     2202
     2203SOAP_FMAC3 struct ns1__getxattr_USCOREobjectResponse * SOAP_FMAC4 soap_get_ns1__getxattr_USCOREobjectResponse(struct soap *soap, struct ns1__getxattr_USCOREobjectResponse *p, const char *tag, const char *type)
     2204{
     2205        if ((p = soap_in_ns1__getxattr_USCOREobjectResponse(soap, tag, p, type)))
     2206                if (soap_getindependent(soap))
     2207                        return NULL;
     2208        return p;
     2209}
     2210
     2211SOAP_FMAC3 struct ns1__getxattr_USCOREobjectResponse * SOAP_FMAC4 soap_in_ns1__getxattr_USCOREobjectResponse(struct soap *soap, const char *tag, struct ns1__getxattr_USCOREobjectResponse *a, const char *type)
     2212{
     2213        size_t soap_flag_result = 1;
     2214        if (soap_element_begin_in(soap, tag, 0, type))
     2215                return NULL;
     2216        a = (struct ns1__getxattr_USCOREobjectResponse *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__getxattr_USCOREobjectResponse, sizeof(struct ns1__getxattr_USCOREobjectResponse), 0, NULL, NULL, NULL);
     2217        if (!a)
     2218                return NULL;
     2219        soap_default_ns1__getxattr_USCOREobjectResponse(soap, a);
     2220        if (soap->body && !*soap->href)
     2221        {
     2222                for (;;)
     2223                {       soap->error = SOAP_TAG_MISMATCH;
     2224                        if (soap_flag_result && soap->error == SOAP_TAG_MISMATCH)
     2225                                if (soap_in_PointerTostring(soap, "result", &a->result, "xsd:string"))
     2226                                {       soap_flag_result--;
     2227                                        continue;
     2228                                }
     2229                        if (soap->error == SOAP_TAG_MISMATCH)
     2230                                soap->error = soap_ignore_element(soap);
     2231                        if (soap->error == SOAP_NO_TAG)
     2232                                break;
     2233                        if (soap->error)
     2234                                return NULL;
     2235                }
     2236                if (soap_element_end_in(soap, tag))
     2237                        return NULL;
     2238        }
     2239        else
     2240        {       a = (struct ns1__getxattr_USCOREobjectResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__getxattr_USCOREobjectResponse, 0, sizeof(struct ns1__getxattr_USCOREobjectResponse), 0, NULL);
     2241                if (soap->body && soap_element_end_in(soap, tag))
     2242                        return NULL;
     2243        }
     2244        return a;
     2245}
     2246
     2247SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__setxattr_USCOREobject(struct soap *soap, struct ns1__setxattr_USCOREobject *a)
     2248{
     2249        (void)soap; (void)a; /* appease -Wall -Werror */
     2250        soap_default_string(soap, &a->key);
     2251        soap_default_string(soap, &a->name);
     2252        soap_default_string(soap, &a->value);
     2253        soap_default_string(soap, &a->flags);
     2254}
     2255
     2256SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__setxattr_USCOREobject(struct soap *soap, const struct ns1__setxattr_USCOREobject *a)
     2257{
     2258        (void)soap; (void)a; /* appease -Wall -Werror */
     2259        soap_serialize_string(soap, &a->key);
     2260        soap_serialize_string(soap, &a->name);
     2261        soap_serialize_string(soap, &a->value);
     2262        soap_serialize_string(soap, &a->flags);
     2263}
     2264
     2265SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__setxattr_USCOREobject(struct soap *soap, const struct ns1__setxattr_USCOREobject *a, const char *tag, const char *type)
     2266{
     2267        register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__setxattr_USCOREobject);
     2268        if (soap_out_ns1__setxattr_USCOREobject(soap, tag, id, a, type))
     2269                return soap->error;
     2270        return soap_putindependent(soap);
     2271}
     2272
     2273SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__setxattr_USCOREobject(struct soap *soap, const char *tag, int id, const struct ns1__setxattr_USCOREobject *a, const char *type)
     2274{
     2275        if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__setxattr_USCOREobject), type))
     2276                return soap->error;
     2277        if (soap_out_string(soap, "key", -1, &a->key, ""))
     2278                return soap->error;
     2279        if (soap_out_string(soap, "name", -1, &a->name, ""))
     2280                return soap->error;
     2281        if (soap_out_string(soap, "value", -1, &a->value, ""))
     2282                return soap->error;
     2283        if (soap_out_string(soap, "flags", -1, &a->flags, ""))
     2284                return soap->error;
     2285        return soap_element_end_out(soap, tag);
     2286}
     2287
     2288SOAP_FMAC3 struct ns1__setxattr_USCOREobject * SOAP_FMAC4 soap_get_ns1__setxattr_USCOREobject(struct soap *soap, struct ns1__setxattr_USCOREobject *p, const char *tag, const char *type)
     2289{
     2290        if ((p = soap_in_ns1__setxattr_USCOREobject(soap, tag, p, type)))
     2291                if (soap_getindependent(soap))
     2292                        return NULL;
     2293        return p;
     2294}
     2295
     2296SOAP_FMAC3 struct ns1__setxattr_USCOREobject * SOAP_FMAC4 soap_in_ns1__setxattr_USCOREobject(struct soap *soap, const char *tag, struct ns1__setxattr_USCOREobject *a, const char *type)
     2297{
     2298        size_t soap_flag_key = 1;
     2299        size_t soap_flag_name = 1;
     2300        size_t soap_flag_value = 1;
     2301        size_t soap_flag_flags = 1;
     2302        if (soap_element_begin_in(soap, tag, 0, type))
     2303                return NULL;
     2304        a = (struct ns1__setxattr_USCOREobject *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__setxattr_USCOREobject, sizeof(struct ns1__setxattr_USCOREobject), 0, NULL, NULL, NULL);
     2305        if (!a)
     2306                return NULL;
     2307        soap_default_ns1__setxattr_USCOREobject(soap, a);
     2308        if (soap->body && !*soap->href)
     2309        {
     2310                for (;;)
     2311                {       soap->error = SOAP_TAG_MISMATCH;
     2312                        if (soap_flag_key && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
     2313                                if (soap_in_string(soap, "key", &a->key, "xsd:string"))
     2314                                {       soap_flag_key--;
     2315                                        continue;
     2316                                }
     2317                        if (soap_flag_name && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
     2318                                if (soap_in_string(soap, "name", &a->name, "xsd:string"))
     2319                                {       soap_flag_name--;
     2320                                        continue;
     2321                                }
     2322                        if (soap_flag_value && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
     2323                                if (soap_in_string(soap, "value", &a->value, "xsd:string"))
     2324                                {       soap_flag_value--;
     2325                                        continue;
     2326                                }
     2327                        if (soap_flag_flags && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
     2328                                if (soap_in_string(soap, "flags", &a->flags, "xsd:string"))
     2329                                {       soap_flag_flags--;
     2330                                        continue;
     2331                                }
     2332                        if (soap->error == SOAP_TAG_MISMATCH)
     2333                                soap->error = soap_ignore_element(soap);
     2334                        if (soap->error == SOAP_NO_TAG)
     2335                                break;
     2336                        if (soap->error)
     2337                                return NULL;
     2338                }
     2339                if (soap_element_end_in(soap, tag))
     2340                        return NULL;
     2341        }
     2342        else
     2343        {       a = (struct ns1__setxattr_USCOREobject *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__setxattr_USCOREobject, 0, sizeof(struct ns1__setxattr_USCOREobject), 0, NULL);
     2344                if (soap->body && soap_element_end_in(soap, tag))
     2345                        return NULL;
     2346        }
     2347        return a;
     2348}
     2349
     2350SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__setxattr_USCOREobjectResponse(struct soap *soap, struct ns1__setxattr_USCOREobjectResponse *a)
     2351{
     2352        (void)soap; (void)a; /* appease -Wall -Werror */
     2353        a->result = NULL;
     2354}
     2355
     2356SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__setxattr_USCOREobjectResponse(struct soap *soap, const struct ns1__setxattr_USCOREobjectResponse *a)
     2357{
     2358        (void)soap; (void)a; /* appease -Wall -Werror */
     2359        soap_serialize_PointerToint(soap, &a->result);
     2360}
     2361
     2362SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__setxattr_USCOREobjectResponse(struct soap *soap, const struct ns1__setxattr_USCOREobjectResponse *a, const char *tag, const char *type)
     2363{
     2364        register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_ns1__setxattr_USCOREobjectResponse);
     2365        if (soap_out_ns1__setxattr_USCOREobjectResponse(soap, tag, id, a, type))
     2366                return soap->error;
     2367        return soap_putindependent(soap);
     2368}
     2369
     2370SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__setxattr_USCOREobjectResponse(struct soap *soap, const char *tag, int id, const struct ns1__setxattr_USCOREobjectResponse *a, const char *type)
     2371{
     2372        if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__setxattr_USCOREobjectResponse), type))
     2373                return soap->error;
     2374        if (soap_out_PointerToint(soap, "result", -1, &a->result, ""))
     2375                return soap->error;
     2376        return soap_element_end_out(soap, tag);
     2377}
     2378
     2379SOAP_FMAC3 struct ns1__setxattr_USCOREobjectResponse * SOAP_FMAC4 soap_get_ns1__setxattr_USCOREobjectResponse(struct soap *soap, struct ns1__setxattr_USCOREobjectResponse *p, const char *tag, const char *type)
     2380{
     2381        if ((p = soap_in_ns1__setxattr_USCOREobjectResponse(soap, tag, p, type)))
     2382                if (soap_getindependent(soap))
     2383                        return NULL;
     2384        return p;
     2385}
     2386
     2387SOAP_FMAC3 struct ns1__setxattr_USCOREobjectResponse * SOAP_FMAC4 soap_in_ns1__setxattr_USCOREobjectResponse(struct soap *soap, const char *tag, struct ns1__setxattr_USCOREobjectResponse *a, const char *type)
     2388{
     2389        size_t soap_flag_result = 1;
     2390        if (soap_element_begin_in(soap, tag, 0, type))
     2391                return NULL;
     2392        a = (struct ns1__setxattr_USCOREobjectResponse *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_ns1__setxattr_USCOREobjectResponse, sizeof(struct ns1__setxattr_USCOREobjectResponse), 0, NULL, NULL, NULL);
     2393        if (!a)
     2394                return NULL;
     2395        soap_default_ns1__setxattr_USCOREobjectResponse(soap, a);
     2396        if (soap->body && !*soap->href)
     2397        {
     2398                for (;;)
     2399                {       soap->error = SOAP_TAG_MISMATCH;
     2400                        if (soap_flag_result && soap->error == SOAP_TAG_MISMATCH)
     2401                                if (soap_in_PointerToint(soap, "result", &a->result, "xsd:int"))
     2402                                {       soap_flag_result--;
     2403                                        continue;
     2404                                }
     2405                        if (soap->error == SOAP_TAG_MISMATCH)
     2406                                soap->error = soap_ignore_element(soap);
     2407                        if (soap->error == SOAP_NO_TAG)
     2408                                break;
     2409                        if (soap->error)
     2410                                return NULL;
     2411                }
     2412                if (soap_element_end_in(soap, tag))
     2413                        return NULL;
     2414        }
     2415        else
     2416        {       a = (struct ns1__setxattr_USCOREobjectResponse *)soap_id_forward(soap, soap->href, (void*)a, 0, SOAP_TYPE_ns1__setxattr_USCOREobjectResponse, 0, sizeof(struct ns1__setxattr_USCOREobjectResponse), 0, NULL);
    16882417                if (soap->body && soap_element_end_in(soap, tag))
    16892418                        return NULL;
     
    30643793}
    30653794
     3795SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTons1__listxattr_USCOREobjectResponse(struct soap *soap, struct ns1__listxattr_USCOREobjectResponse *const*a)
     3796{
     3797        if (!soap_reference(soap, *a, SOAP_TYPE_ns1__listxattr_USCOREobjectResponse))
     3798                soap_serialize_ns1__listxattr_USCOREobjectResponse(soap, *a);
     3799}
     3800
     3801SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTons1__listxattr_USCOREobjectResponse(struct soap *soap, struct ns1__listxattr_USCOREobjectResponse *const*a, const char *tag, const char *type)
     3802{
     3803        register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_PointerTons1__listxattr_USCOREobjectResponse);
     3804        if (soap_out_PointerTons1__listxattr_USCOREobjectResponse(soap, tag, id, a, type))
     3805                return soap->error;
     3806        return soap_putindependent(soap);
     3807}
     3808
     3809SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTons1__listxattr_USCOREobjectResponse(struct soap *soap, const char *tag, int id, struct ns1__listxattr_USCOREobjectResponse *const*a, const char *type)
     3810{
     3811        id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_ns1__listxattr_USCOREobjectResponse);
     3812        if (id < 0)
     3813                return soap->error;
     3814        return soap_out_ns1__listxattr_USCOREobjectResponse(soap, tag, id, *a, type);
     3815}
     3816
     3817SOAP_FMAC3 struct ns1__listxattr_USCOREobjectResponse ** SOAP_FMAC4 soap_get_PointerTons1__listxattr_USCOREobjectResponse(struct soap *soap, struct ns1__listxattr_USCOREobjectResponse **p, const char *tag, const char *type)
     3818{
     3819        if ((p = soap_in_PointerTons1__listxattr_USCOREobjectResponse(soap, tag, p, type)))
     3820                if (soap_getindependent(soap))
     3821                        return NULL;
     3822        return p;
     3823}
     3824
     3825SOAP_FMAC3 struct ns1__listxattr_USCOREobjectResponse ** SOAP_FMAC4 soap_in_PointerTons1__listxattr_USCOREobjectResponse(struct soap *soap, const char *tag, struct ns1__listxattr_USCOREobjectResponse **a, const char *type)
     3826{
     3827        if (soap_element_begin_in(soap, tag, 1, NULL))
     3828                return NULL;
     3829        if (!a)
     3830                if (!(a = (struct ns1__listxattr_USCOREobjectResponse **)soap_malloc(soap, sizeof(struct ns1__listxattr_USCOREobjectResponse *))))
     3831                        return NULL;
     3832        *a = NULL;
     3833        if (!soap->null && *soap->href != '#')
     3834        {       soap_revert(soap);
     3835                if (!(*a = soap_in_ns1__listxattr_USCOREobjectResponse(soap, tag, *a, type)))
     3836                        return NULL;
     3837        }
     3838        else
     3839        {       a = (struct ns1__listxattr_USCOREobjectResponse **)soap_id_lookup(soap, soap->href, (void**)a, SOAP_TYPE_ns1__listxattr_USCOREobjectResponse, sizeof(struct ns1__listxattr_USCOREobjectResponse), 0);
     3840                if (soap->body && soap_element_end_in(soap, tag))
     3841                        return NULL;
     3842        }
     3843        return a;
     3844}
     3845
    30663846SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToArrayOfString(struct soap *soap, struct ArrayOfString *const*a)
    30673847{
Note: See TracChangeset for help on using the changeset viewer.