aboutsummaryrefslogtreecommitdiff
path: root/dep/gsoap/soapC.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dep/gsoap/soapC.cpp')
-rw-r--r--dep/gsoap/soapC.cpp48
1 files changed, 29 insertions, 19 deletions
diff --git a/dep/gsoap/soapC.cpp b/dep/gsoap/soapC.cpp
index 1b6e24dcb4b..7fefc27f5d1 100644
--- a/dep/gsoap/soapC.cpp
+++ b/dep/gsoap/soapC.cpp
@@ -1,6 +1,6 @@
/* soapC.cpp
- Generated by gSOAP 2.8.0 from stub.h
- Copyright(C) 2000-2010, Robert van Engelen, Genivia Inc. All Rights Reserved.
+ Generated by gSOAP 2.8.2 from stub.h
+ Copyright(C) 2000-2011, Robert van Engelen, Genivia Inc. All Rights Reserved.
The generated code is released under one of the following licenses:
GPL OR Genivia's license for commercial use.
*/
@@ -12,7 +12,7 @@
#include "soapH.h"
-SOAP_SOURCE_STAMP("@(#) soapC.cpp ver 2.8.0 2010-12-16 23:55:15 GMT")
+SOAP_SOURCE_STAMP("@(#) soapC.cpp ver 2.8.2 2011-04-26 21:49:07 GMT")
#ifndef WITH_NOGLOBAL
@@ -386,36 +386,46 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_fdelete(struct soap_clist *p)
else
SOAP_DELETE_ARRAY((struct ns1__executeCommand*)p->ptr);
break;
+#ifndef WITH_NOGLOBAL
case SOAP_TYPE_SOAP_ENV__Header:
if (p->size < 0)
SOAP_DELETE((struct SOAP_ENV__Header*)p->ptr);
else
SOAP_DELETE_ARRAY((struct SOAP_ENV__Header*)p->ptr);
break;
+#endif
+#ifndef WITH_NOGLOBAL
case SOAP_TYPE_SOAP_ENV__Code:
if (p->size < 0)
SOAP_DELETE((struct SOAP_ENV__Code*)p->ptr);
else
SOAP_DELETE_ARRAY((struct SOAP_ENV__Code*)p->ptr);
break;
+#endif
+#ifndef WITH_NOGLOBAL
case SOAP_TYPE_SOAP_ENV__Detail:
if (p->size < 0)
SOAP_DELETE((struct SOAP_ENV__Detail*)p->ptr);
else
SOAP_DELETE_ARRAY((struct SOAP_ENV__Detail*)p->ptr);
break;
+#endif
+#ifndef WITH_NOGLOBAL
case SOAP_TYPE_SOAP_ENV__Reason:
if (p->size < 0)
SOAP_DELETE((struct SOAP_ENV__Reason*)p->ptr);
else
SOAP_DELETE_ARRAY((struct SOAP_ENV__Reason*)p->ptr);
break;
+#endif
+#ifndef WITH_NOGLOBAL
case SOAP_TYPE_SOAP_ENV__Fault:
if (p->size < 0)
SOAP_DELETE((struct SOAP_ENV__Fault*)p->ptr);
else
SOAP_DELETE_ARRAY((struct SOAP_ENV__Fault*)p->ptr);
break;
+#endif
default: return SOAP_ERR;
}
return SOAP_OK;
@@ -536,9 +546,9 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Fault(struct soap *soap, const char
return soap->error;
if (soap_out__QName(soap, "faultcode", -1, (char*const*)&soap_tmp_faultcode, ""))
return soap->error;
- if (soap_out_string(soap, "faultstring", -1, &a->faultstring, ""))
+ if (soap_out_string(soap, "faultstring", -1, &a->faultstring, "xsd:string"))
return soap->error;
- if (soap_out_string(soap, "faultactor", -1, &a->faultactor, ""))
+ if (soap_out_string(soap, "faultactor", -1, &a->faultactor, "xsd:string"))
return soap->error;
if (soap_out_PointerToSOAP_ENV__Detail(soap, "detail", -1, &a->detail, ""))
return soap->error;
@@ -676,7 +686,7 @@ SOAP_FMAC1 struct SOAP_ENV__Fault * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Fault(
if (size)
*size = n * sizeof(struct SOAP_ENV__Fault);
}
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
+ DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
return (struct SOAP_ENV__Fault*)cp->ptr;
}
@@ -787,7 +797,7 @@ SOAP_FMAC1 struct SOAP_ENV__Reason * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Reaso
if (size)
*size = n * sizeof(struct SOAP_ENV__Reason);
}
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
+ DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
return (struct SOAP_ENV__Reason*)cp->ptr;
}
@@ -805,9 +815,9 @@ SOAP_FMAC3 void SOAP_FMAC4 soap_copy_SOAP_ENV__Reason(struct soap *soap, int st,
SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Detail(struct soap *soap, struct SOAP_ENV__Detail *a)
{
(void)soap; (void)a; /* appease -Wall -Werror */
+ a->__any = NULL;
a->__type = 0;
a->fault = NULL;
- a->__any = NULL;
}
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Detail(struct soap *soap, const struct SOAP_ENV__Detail *a)
@@ -820,16 +830,16 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Detail(struct soap *soap, const cha
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_SOAP_ENV__Detail), type))
return soap->error;
+ soap_outliteral(soap, "-any", &a->__any, NULL);
if (soap_putelement(soap, a->fault, "fault", -1, a->__type))
return soap->error;
- soap_outliteral(soap, "-any", &a->__any, NULL);
return soap_element_end_out(soap, tag);
}
SOAP_FMAC3 struct SOAP_ENV__Detail * SOAP_FMAC4 soap_in_SOAP_ENV__Detail(struct soap *soap, const char *tag, struct SOAP_ENV__Detail *a, const char *type)
{
- size_t soap_flag_fault = 1;
size_t soap_flag___any = 1;
+ size_t soap_flag_fault = 1;
if (soap_element_begin_in(soap, tag, 0, type))
return NULL;
a = (struct SOAP_ENV__Detail *)soap_id_enter(soap, soap->id, a, SOAP_TYPE_SOAP_ENV__Detail, sizeof(struct SOAP_ENV__Detail), 0, NULL, NULL, NULL);
@@ -905,7 +915,7 @@ SOAP_FMAC1 struct SOAP_ENV__Detail * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Detai
if (size)
*size = n * sizeof(struct SOAP_ENV__Detail);
}
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
+ DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
return (struct SOAP_ENV__Detail*)cp->ptr;
}
@@ -1025,7 +1035,7 @@ SOAP_FMAC1 struct SOAP_ENV__Code * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Code(st
if (size)
*size = n * sizeof(struct SOAP_ENV__Code);
}
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
+ DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
return (struct SOAP_ENV__Code*)cp->ptr;
}
@@ -1124,7 +1134,7 @@ SOAP_FMAC1 struct SOAP_ENV__Header * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Heade
if (size)
*size = n * sizeof(struct SOAP_ENV__Header);
}
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
+ DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
return (struct SOAP_ENV__Header*)cp->ptr;
}
@@ -1153,7 +1163,7 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__executeCommand(struct soap *soap, const
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__executeCommand), type))
return soap->error;
- if (soap_out_string(soap, "command", -1, &a->command, ""))
+ if (soap_out_string(soap, "command", -1, &a->command, "xsd:string"))
return soap->error;
return soap_element_end_out(soap, tag);
}
@@ -1231,7 +1241,7 @@ SOAP_FMAC1 struct ns1__executeCommand * SOAP_FMAC2 soap_instantiate_ns1__execute
if (size)
*size = n * sizeof(struct ns1__executeCommand);
}
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
+ DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
return (struct ns1__executeCommand*)cp->ptr;
}
@@ -1258,7 +1268,7 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__executeCommandResponse(struct soap *soap
{
if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__executeCommandResponse), type))
return soap->error;
- if (soap_out_PointerTostring(soap, "result", -1, &a->result, ""))
+ if (soap_out_PointerTostring(soap, "result", -1, &a->result, "xsd:string"))
return soap->error;
return soap_element_end_out(soap, tag);
}
@@ -1336,7 +1346,7 @@ SOAP_FMAC1 struct ns1__executeCommandResponse * SOAP_FMAC2 soap_instantiate_ns1_
if (size)
*size = n * sizeof(struct ns1__executeCommandResponse);
}
- DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
+ DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
return (struct ns1__executeCommandResponse*)cp->ptr;
}
@@ -1570,7 +1580,7 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_out__QName(struct soap *soap, const char *tag, in
SOAP_FMAC3 char * * SOAP_FMAC4 soap_in__QName(struct soap *soap, const char *tag, char **a, const char *type)
{ char **p;
- p = soap_instring(soap, tag, a, type, SOAP_TYPE__QName, 2, -1, -1);
+ p = soap_instring(soap, tag, a, type, SOAP_TYPE__QName, 2, 0, -1);
return p;
}
@@ -1612,7 +1622,7 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_out_string(struct soap *soap, const char *tag, in
SOAP_FMAC3 char * * SOAP_FMAC4 soap_in_string(struct soap *soap, const char *tag, char **a, const char *type)
{ char **p;
- p = soap_instring(soap, tag, a, type, SOAP_TYPE_string, 1, -1, -1);
+ p = soap_instring(soap, tag, a, type, SOAP_TYPE_string, 1, 0, -1);
return p;
}