📄 soapc.cpp
字号:
} if (!soap_match_tag(soap, t, "xsd:float")) { *type = SOAP_TYPE_xsd__float; return soap_in_xsd__float(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "xsd:float")) { *type = SOAP_TYPE_float; return soap_in_float(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "xsd:unsignedByte")) { *type = SOAP_TYPE_unsignedByte; return soap_in_unsignedByte(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "xsd:unsignedInt")) { *type = SOAP_TYPE_unsignedInt; return soap_in_unsignedInt(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "xsd:boolean")) { *type = SOAP_TYPE_xsd__boolean; return soap_in_xsd__boolean(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "xsd:boolean")) { *type = SOAP_TYPE_bool; return soap_in_bool(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "m:echoVoid")) { *type = SOAP_TYPE_m__echoVoid; return soap_in_m__echoVoid(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "m:echoVoidResponse")) { *type = SOAP_TYPE_m__echoVoidResponse; return soap_in_m__echoVoidResponse(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoNestedArray")) { *type = SOAP_TYPE_ns__echoNestedArray; return soap_in_ns__echoNestedArray(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoNestedArrayResponse")) { *type = SOAP_TYPE_ns__echoNestedArrayResponse; return soap_in_ns__echoNestedArrayResponse(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "s:SOAPArrayStruct")) { *type = SOAP_TYPE_s__SOAPArrayStruct; return soap_in_s__SOAPArrayStruct(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoNestedStruct")) { *type = SOAP_TYPE_ns__echoNestedStruct; return soap_in_ns__echoNestedStruct(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoNestedStructResponse")) { *type = SOAP_TYPE_ns__echoNestedStructResponse; return soap_in_ns__echoNestedStructResponse(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "s:SOAPStructStruct")) { *type = SOAP_TYPE_s__SOAPStructStruct; return soap_in_s__SOAPStructStruct(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echo2DStringArray")) { *type = SOAP_TYPE_ns__echo2DStringArray; return soap_in_ns__echo2DStringArray(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echo2DStringArrayResponse")) { *type = SOAP_TYPE_ns__echo2DStringArrayResponse; return soap_in_ns__echo2DStringArrayResponse(soap, NULL, NULL, NULL); } if (*soap->arrayType && !soap_match_array(soap, "xsd:string")) { *type = SOAP_TYPE_ArrayOfstring2D; return soap_in_ArrayOfstring2D(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoSimpleTypesAsStruct")) { *type = SOAP_TYPE_ns__echoSimpleTypesAsStruct; return soap_in_ns__echoSimpleTypesAsStruct(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoSimpleTypesAsStructResponse")) { *type = SOAP_TYPE_ns__echoSimpleTypesAsStructResponse; return soap_in_ns__echoSimpleTypesAsStructResponse(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoStructAsSimpleTypes")) { *type = SOAP_TYPE_ns__echoStructAsSimpleTypes; return soap_in_ns__echoStructAsSimpleTypes(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoStructAsSimpleTypesResponse")) { *type = SOAP_TYPE_ns__echoStructAsSimpleTypesResponse; return soap_in_ns__echoStructAsSimpleTypesResponse(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoBoolean")) { *type = SOAP_TYPE_ns__echoBoolean; return soap_in_ns__echoBoolean(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoBooleanResponse")) { *type = SOAP_TYPE_ns__echoBooleanResponse; return soap_in_ns__echoBooleanResponse(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoDecimal")) { *type = SOAP_TYPE_ns__echoDecimal; return soap_in_ns__echoDecimal(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoDecimalResponse")) { *type = SOAP_TYPE_ns__echoDecimalResponse; return soap_in_ns__echoDecimalResponse(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoHexBinary")) { *type = SOAP_TYPE_ns__echoHexBinary; return soap_in_ns__echoHexBinary(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoHexBinaryResponse")) { *type = SOAP_TYPE_ns__echoHexBinaryResponse; return soap_in_ns__echoHexBinaryResponse(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "xsd:hexBinary")) { *type = SOAP_TYPE_xsd__hexBinary; return soap_in_xsd__hexBinary(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoDate")) { *type = SOAP_TYPE_ns__echoDate; return soap_in_ns__echoDate(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoDateResponse")) { *type = SOAP_TYPE_ns__echoDateResponse; return soap_in_ns__echoDateResponse(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoBase64")) { *type = SOAP_TYPE_ns__echoBase64; return soap_in_ns__echoBase64(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoBase64Response")) { *type = SOAP_TYPE_ns__echoBase64Response; return soap_in_ns__echoBase64Response(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "xsd:base64Binary")) { *type = SOAP_TYPE_xsd__base64Binary; return soap_in_xsd__base64Binary(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoVoid")) { *type = SOAP_TYPE_ns__echoVoid; return soap_in_ns__echoVoid(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoVoidResponse")) { *type = SOAP_TYPE_ns__echoVoidResponse; return soap_in_ns__echoVoidResponse(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoStructArray")) { *type = SOAP_TYPE_ns__echoStructArray; return soap_in_ns__echoStructArray(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoStructArrayResponse")) { *type = SOAP_TYPE_ns__echoStructArrayResponse; return soap_in_ns__echoStructArrayResponse(soap, NULL, NULL, NULL); } if (*soap->arrayType && !soap_match_array(soap, "s:SOAPStruct")) { *type = SOAP_TYPE_ArrayOfSOAPStruct; return soap_in_ArrayOfSOAPStruct(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoStruct")) { *type = SOAP_TYPE_ns__echoStruct; return soap_in_ns__echoStruct(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoStructResponse")) { *type = SOAP_TYPE_ns__echoStructResponse; return soap_in_ns__echoStructResponse(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "s:SOAPStruct")) { *type = SOAP_TYPE_s__SOAPStruct; return soap_in_s__SOAPStruct(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoFloatArray")) { *type = SOAP_TYPE_ns__echoFloatArray; return soap_in_ns__echoFloatArray(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoFloatArrayResponse")) { *type = SOAP_TYPE_ns__echoFloatArrayResponse; return soap_in_ns__echoFloatArrayResponse(soap, NULL, NULL, NULL); } if (*soap->arrayType && !soap_match_array(soap, "xsd:float")) { *type = SOAP_TYPE_ArrayOffloat; return soap_in_ArrayOffloat(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoFloat")) { *type = SOAP_TYPE_ns__echoFloat; return soap_in_ns__echoFloat(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoFloatResponse")) { *type = SOAP_TYPE_ns__echoFloatResponse; return soap_in_ns__echoFloatResponse(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoIntegerArray")) { *type = SOAP_TYPE_ns__echoIntegerArray; return soap_in_ns__echoIntegerArray(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoIntegerArrayResponse")) { *type = SOAP_TYPE_ns__echoIntegerArrayResponse; return soap_in_ns__echoIntegerArrayResponse(soap, NULL, NULL, NULL); } if (*soap->arrayType && !soap_match_array(soap, "xsd:int")) { *type = SOAP_TYPE_ArrayOfint; return soap_in_ArrayOfint(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoInteger")) { *type = SOAP_TYPE_ns__echoInteger; return soap_in_ns__echoInteger(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoIntegerResponse")) { *type = SOAP_TYPE_ns__echoIntegerResponse; return soap_in_ns__echoIntegerResponse(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoStringArray")) { *type = SOAP_TYPE_ns__echoStringArray; return soap_in_ns__echoStringArray(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoStringArrayResponse")) { *type = SOAP_TYPE_ns__echoStringArrayResponse; return soap_in_ns__echoStringArrayResponse(soap, NULL, NULL, NULL); } if (*soap->arrayType && !soap_match_array(soap, "xsd:string")) { *type = SOAP_TYPE_ArrayOfstring; return soap_in_ArrayOfstring(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoString")) { *type = SOAP_TYPE_ns__echoString; return soap_in_ns__echoString(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "ns:echoStringResponse")) { *type = SOAP_TYPE_ns__echoStringResponse; return soap_in_ns__echoStringResponse(soap, NULL, NULL, NULL); } if (!soap_match_tag(soap, t, "xsd:decimal")) { char **s; *type = SOAP_TYPE_xsd__decimal; s = soap_in_xsd__decimal(soap, NULL, NULL, NULL); return s ? *s : NULL; } if (!soap_match_tag(soap, t, "xsd:dateTime")) { char **s; *type = SOAP_TYPE_xsd__dateTime; s = soap_in_xsd__dateTime(soap, NULL, NULL, NULL); return s ? *s : NULL; } if (!soap_match_tag(soap, t, "xsd:string")) { char **s; *type = SOAP_TYPE_xsd__string; s = soap_in_xsd__string(soap, NULL, NULL, NULL); return s ? *s : NULL; } if (!soap_match_tag(soap, t, "xsd:string")) { char **s; *type = SOAP_TYPE_string; s = soap_in_string(soap, NULL, NULL, NULL); return s ? *s : NULL; } if (!soap_match_tag(soap, t, "xsd:int")) { *type = SOAP_TYPE_Array2Ofint; return soap_in_Array2Ofint(soap, NULL, NULL, NULL); } t = soap->tag; if (!soap_match_tag(soap, t, "xsd:QName")) { char **s; *type = SOAP_TYPE__QName; s = soap_in__QName(soap, NULL, NULL, NULL); return s ? *s : NULL; } } } soap->error = SOAP_TAG_MISMATCH; return NULL;}#endifSOAP_FMAC3 int SOAP_FMAC4 soap_ignore_element(struct soap *soap){ if (!soap_peek_element(soap)) { int t; if (soap->mustUnderstand && !soap->other) return soap->error = SOAP_MUSTUNDERSTAND; if (((soap->mode & SOAP_XML_STRICT) && soap->part != SOAP_IN_HEADER) || !soap_match_tag(soap, soap->tag, "SOAP-ENV:")) { DBGLOG(TEST, SOAP_MESSAGE(fdebug, "REJECTING element '%s'\n", soap->tag)); return soap->error = SOAP_TAG_MISMATCH; } if (!*soap->id || !soap_getelement(soap, &t)) { soap->peeked = 0; DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Unknown element '%s' (level=%u, %d)\n", soap->tag, soap->level, soap->body)); if (soap->fignore) soap->error = soap->fignore(soap, soap->tag); else soap->error = SOAP_OK; DBGLOG(TEST, if (!soap->error) SOAP_MESSAGE(fdebug, "IGNORING element '%s'\n", soap->tag)); if (!soap->error && soap->body) { soap->level++; while (!soap_ignore_element(soap)) ; if (soap->error == SOAP_NO_TAG) soap->error = soap_element_end_in(soap, NULL); } } } return soap->error;}#ifndef WITH_NOIDREFSOAP_FMAC3 int SOAP_FMAC4 soap_putindependent(struct soap *soap){ int i; struct soap_plist *pp; if (soap->version == 1 && soap->encodingStyle && !(soap->mode & (SOAP_XML_TREE | SOAP_XML_GRAPH))) for (i = 0; i < SOAP_PTRHASH; i++) for (pp = soap->pht[i]; pp; pp = pp->next) if (pp->mark1 == 2 || pp->mark2 == 2) if (soap_putelement(soap, pp->ptr, "id", pp->id, pp->type)) return soap->error; return SOAP_OK;}#endif#ifndef WITH_NOIDREFSOAP_FMAC3 int SOAP_FMAC4 soap_putelement(struct soap *soap, const void *ptr, const char *tag, int id, int type){ switch (type) { case SOAP_TYPE_byte: return soap_out_byte(soap, tag, id, (const char *)ptr, "xsd:byte"); case SOAP_TYPE_int:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -