/* soapServer.c
Generated by gSOAP 2.8.8 from onvif.h
Copyright(C) 2000-2012, Robert van Engelen, Genivia Inc. All Rights Rerved.
The generated code is relead under one of the following licens:
1) GPL or 2) Genivia's licen for commercial u.
This program is relead under the GPL with the additional exemption that
compiling, linking, and/or using OpenSSL is allowed.
*/
#if defined(__BORLANDC__)
#pragma option push -w-8060
#pragma option push -w-8004
#endif
#include "soapH.h"
#ifdef __cplusplus
extern "C" {
#endif
SOAP_SOURCE_STAMP("@(#) soapServer.c ver 2.8.8 2012-11-11 03:45:17 GMT")
SOAP_FMAC5 int SOAP_FMAC6 soap_rve(struct soap *soap)
{
#ifndef WITH_FASTCGI
unsigned int k = soap->max_keep_alive;
#endif
do
{
#ifndef WITH_FASTCGI
if (soap->max_keep_alive > 0 && !--k)
soap->keep_alive = 0;
#endif
if (soap_begin_rve(soap))
{ if (soap->error >= SOAP_STOP)
continue;
return soap->error;
}
if (soap_rve_request(soap) || (soap->frveloop && soap->frveloop(soap)))
{
#ifdef WITH_FASTCGI
soap_nd_fault(soap);
上海特色
#el
return soap_nd_fault(soap);
#endif
}
#ifdef WITH_FASTCGI
soap_destroy(soap);
soap_end(soap);
} while (1);
#el
} while (soap->keep_alive);
#endif
return SOAP_OK;
}
#ifndef WITH_NOSERVEREQUEST
SOAP_FMAC5 int SOAP_FMAC6 soap_rve_request(struct soap *soap)
{
soap_peek_element(soap);
if (!soap_match_tag(soap, soap->tag, "wsdd:Hello"))
return soap_rve___wsdd__Hello(soap);
if (!soap_match_tag(soap, soap->tag, "wsdd:Bye"))
return soap_rve___wsdd__Bye(soap);
if (!soap_match_tag(soap, soap->tag, "wsdd:Probe"))
return soap_rve___wsdd__Probe(soap);
if (!soap_match_tag(soap, soap->tag, "wsdd:ProbeMatches"))
return soap_rve___wsdd__ProbeMatches(soap);
if (!soap_match_tag(soap, soap->tag, "wsdd:Resolve"))
return soap_rve___wsdd__Resolve(soap);
if (!soap_match_tag(soap, soap->tag, "wsdd:ResolveMatches"))
return soap_rve___wsdd__ResolveMatches(soap);
if (!soap_match_tag(soap, soap->tag, "tdn:Hello"))
return soap_rve___ns1__Hello(soap);
if (!soap_match_tag(soap, soap->tag, "tdn:Bye"))3d大赛官网
return soap_rve___ns1__Bye(soap);
if (!soap_match_tag(soap, soap->tag, "tdn:Probe"))
return soap_rve___ns2__Probe(soap);
return soap->error = SOAP_NO_METHOD;
}
#endif
SOAP_FMAC5 int SOAP_FMAC6 soap_rve___wsdd__Hello(struct soap *soap)
{ struct __wsdd__Hello soap_tmp___wsdd__Hello;
soap_default___wsdd__Hello(soap, &soap_tmp___wsdd__Hello);
soap->encodingStyle = NULL;
if (!soap_get___wsdd__Hello(soap, &soap_tmp___wsdd__Hello, "-wsdd:Hello", NULL))
return soap->error;
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap->error;
soap->error = __wsdd__Hello(soap, soap_tmp___wsdd__Hello.wsdd__Hello);
if (soap->error)
return soap->error;
return soap_closock(soap);
}
SOAP_FMAC5 int SOAP_FMAC6 soap_rve___wsdd__Bye(struct soap *soap)
{ struct __wsdd__Bye soap_tmp___wsdd__Bye;
soap_default___wsdd__Bye(soap, &
soap_tmp___wsdd__Bye);
soap->encodingStyle = NULL;
if (!soap_get___wsdd__Bye(soap, &soap_tmp___wsdd__Bye, "-wsdd:Bye", NULL))
return soap->error;
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap->error;
soap->error = __wsdd__Bye(soap, soap_tmp___wsdd__Bye.wsdd__Bye);
if (soap->error)
return soap->error;
return soap_closock(soap);
}
SOAP_FMAC5 int SOAP_FMAC6 soap_rve___wsdd__Probe(struct soap *soap)
{ struct __wsdd__Probe soap_tmp___wsdd__Probe;
soap_default___wsdd__Probe(soap, &soap_tmp___wsdd__Probe);
soap->encodingStyle = NULL;
if (!soap_get___wsdd__Probe(soap, &soap_tmp___wsdd__Probe, "-wsdd:Probe", NULL))
return soap->error;
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap->error;
soap->error = __wsdd__Probe(soap, soap_tmp___wsdd__Probe.wsdd__Probe);
if (soap->error)
return soap->error;
return soap_closock(soap);
}
SOAP_FMAC5 int SOAP_FMAC6 soap_rve___wsdd__ProbeMatches(struct soap *soap)
{ struct __wsdd__ProbeMatches soap_tmp___wsdd__ProbeMatches;
printf("soap_rve___wsdd__ProbeMatches\n");
soap_default___wsdd__ProbeMatches(soap, &soap_tmp___wsdd__ProbeMatches);
soap->encodingStyle = NULL;
if (!soap_get___wsdd__ProbeMatches(soap, &soap_tmp___wsdd__ProbeMatches, "-wsdd:ProbeMatches", NULL))
return soap->error;
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap->error;
soap->error = __wsdd__ProbeMatches(soap, soap_tmp___wsdd__ProbeMatches.wsdd__ProbeMatches);
if (soap->error)
return soap->error;
return soap_closock(soap);
}
SOAP_FMAC5 int SOAP_FMAC6 soap_rve___wsdd__Resolve(struct soap *soap)
{ struct __wsdd__Resolve soap_tmp___wsdd__Resolve;
soap_default___wsdd__Resolve(soap, &soap_tmp___wsdd__Resolve);
soap->encodingStyle = NULL;
if (!soap_get___wsdd__Resolve(soap, &soap_tmp___wsdd__Resolve, "-wsdd:Resolve", NULL))
return soap->error;
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
八年级家长会
return soap->error;
soap->error = __wsdd__Resolve(soap, soap_tmp___wsdd__Resolve.wsdd__Resolve);
if (soap->error)
return soap->error;炒菠菜
return soap_closock(soap);
}
SOAP_FMAC5 int SOAP_FMAC6 soap_rve___wsdd__ResolveMatches(struct soap *soap)
{ struct __wsdd__ResolveMatches soap_tmp___wsdd__ResolveMatches;
soap_default___wsdd__ResolveMatches(soap, &soap_tmp___wsdd__ResolveMatches);
前鼻音和后鼻音的区分技巧 soap->encodingStyle = NULL;
if (!soap_get___wsdd__ResolveMatches(soap, &soap_tmp___wsdd__ResolveMatches, "-wsdd:ResolveMatches", NULL))
return soap->error;
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap->error;
soap->error = __wsdd__ResolveMatches(soap, soap_tmp___wsdd__ResolveMatches.wsdd__ResolveMatches);
if (soap->error)
return soap->error;
return soap_closock(soap);
}
SOAP_FMAC5 int SOAP_FMAC6 soap_rve___ns1__Hello(struct soap *soap)
{ struct __ns1__Hello soap_tmp___ns1__
Hello;
struct wsdd__ResolveType tdn__HelloRespon;
soap_default_wsdd__ResolveType(soap, &tdn__HelloRespon);
soap_default___ns1__Hello(soap, &soap_tmp___ns1__Hello);
soap->encodingStyle = NULL;
if (!soap_get___ns1__Hello(soap, &soap_tmp___ns1__Hello, "-ns1:Hello", NULL))
return soap->error;
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap->error;
soap->error = __ns1__Hello(soap, soap_tmp___ns1__Hello.tdn__Hello, &tdn__HelloRespon);
if (soap->error)
return soap->error;
soap_rializeheader(soap);
微信怎么查找群 soap_rialize_wsdd__ResolveType(soap, &tdn__HelloRespon);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put_wsdd__ResolveType(soap, &tdn__HelloRespon, "tdn:HelloRespon", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
};
if (soap_end_count(soap)
|| soap_respon(soap, SOAP_OK)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put_wsdd__ResolveType(soap, &tdn__HelloRespon, "tdn:HelloRespon", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_nd(soap))
return soap->error;
return soap_closock(soap);
}
SOAP_FMAC5 int SOAP_FMAC6 soap_rve___ns1__Bye(struct soap *soap)
{ struct __ns1__Bye soap_tmp___ns1__Bye;
struct wsdd__ResolveType tdn__ByeRespon;
soap_default_wsdd__ResolveType(soap, &tdn__ByeRespon);
soap_default___ns1__Bye(soap, &soap_tmp___ns1__Bye);
soap->encodingStyle = NULL;
if (!soap_get___ns1__Bye(soap, &soap_tmp___ns1__Bye, "-ns1:Bye", NULL))
return soap->error;
if (soap_body_end_in(soap)
|| soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap->error;
soap->error = __ns1__Bye(soap, soap_tmp___ns1__Bye.tdn__Bye, &tdn__ByeRespon);
if (soap->error)
return soap->error;
soap_rializeheader(soap);
soap_rialize_wsdd__ResolveType(soap, &tdn__ByeRespon);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put_wsdd__ResolveType(soap, &tdn__ByeRespon, "tdn:ByeRespon", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
};
if (soap_end_count(soap)
|| soap_respon(soap, SOAP_OK)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put_wsdd__ResolveType(soap, &tdn__ByeRespon, "tdn:ByeRespon", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_nd(soap))
return soap->error;
return soap_closock(soap);
}
适合失恋的头像SOAP_FMAC5 int SOAP_FMAC6 soap_rve___ns2__Probe(struct soap *soap)
{ struct __ns2__Probe soap_tmp___ns2__Probe;
struct wsdd__ProbeMatchesType tdn__ProbeRespon;
soap_default_wsdd__Pr
obeMatchesType(soap, &tdn__ProbeRespon);
soap_default___ns2__Probe(soap, &soap_tmp___ns2__Probe);
soap->encodingStyle = NULL;
if (!soap_get___ns2__Probe(soap, &soap_tmp___ns2__Probe, "-ns2:Probe", NULL))
return soap->error;
if (soap_body_end_in(soap)
机械助理工程师 || soap_envelope_end_in(soap)
|| soap_end_recv(soap))
return soap->error;
soap->error = __ns2__Probe(soap, soap_tmp___ns2__Probe.tdn__Probe, &tdn__ProbeRespon);
if (soap->error)
return soap->error;
soap_rializeheader(soap);
soap_rialize_wsdd__ProbeMatchesType(soap, &tdn__ProbeRespon);
if (soap_begin_count(soap))
return soap->error;
if (soap->mode & SOAP_IO_LENGTH)
{ if (soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put_wsdd__ProbeMatchesType(soap, &tdn__ProbeRespon, "tdn:ProbeRespon", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap))
return soap->error;
};
if (soap_end_count(soap)
|| soap_respon(soap, SOAP_OK)
|| soap_envelope_begin_out(soap)
|| soap_putheader(soap)
|| soap_body_begin_out(soap)
|| soap_put_wsdd__ProbeMatchesType(soap, &tdn__ProbeRespon, "tdn:ProbeRespon", NULL)
|| soap_body_end_out(soap)
|| soap_envelope_end_out(soap)
|| soap_end_nd(soap))
return soap->error;
return soap_closock(soap);
}
#ifdef __cplusplus
}
#endif
#if defined(__BORLANDC__)
#pragma option pop
#pragma option pop
#endif
/
* End of soapServer.c */