You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1016 lines
39 KiB

7 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /* soapPullPointSubscriptionBindingService.cpp
  2. Generated by gSOAP 2.8.17r from onvif.h
  3. Copyright(C) 2000-2013, Robert van Engelen, Genivia Inc. All Rights Reserved.
  4. The generated code is released under one of the following licenses:
  5. GPL or Genivia's license for commercial use.
  6. This program is released under the GPL with the additional exemption that
  7. compiling, linking, and/or using OpenSSL is allowed.
  8. */
  9. #include "soapPullPointSubscriptionBindingService.h"
  10. PullPointSubscriptionBindingService::PullPointSubscriptionBindingService()
  11. { PullPointSubscriptionBindingService_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT);
  12. }
  13. PullPointSubscriptionBindingService::PullPointSubscriptionBindingService(const struct soap &_soap) : soap(_soap)
  14. { }
  15. PullPointSubscriptionBindingService::PullPointSubscriptionBindingService(soap_mode iomode)
  16. { PullPointSubscriptionBindingService_init(iomode, iomode);
  17. }
  18. PullPointSubscriptionBindingService::PullPointSubscriptionBindingService(soap_mode imode, soap_mode omode)
  19. { PullPointSubscriptionBindingService_init(imode, omode);
  20. }
  21. PullPointSubscriptionBindingService::~PullPointSubscriptionBindingService()
  22. { }
  23. void PullPointSubscriptionBindingService::PullPointSubscriptionBindingService_init(soap_mode imode, soap_mode omode)
  24. { soap_imode(this, imode);
  25. soap_omode(this, omode);
  26. static const struct Namespace namespaces[] =
  27. {
  28. {"SOAP-ENV", "http://www.w3.org/2003/05/soap-envelope", "http://schemas.xmlsoap.org/soap/envelope/", NULL},
  29. {"SOAP-ENC", "http://www.w3.org/2003/05/soap-encoding", "http://schemas.xmlsoap.org/soap/encoding/", NULL},
  30. {"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL},
  31. {"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL},
  32. {"c14n", "http://www.w3.org/2001/10/xml-exc-c14n#", NULL, NULL},
  33. {"wsu", "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd", NULL, NULL},
  34. {"xenc", "http://www.w3.org/2001/04/xmlenc#", NULL, NULL},
  35. {"wsc", "http://schemas.xmlsoap.org/ws/2005/02/sc", NULL, NULL},
  36. {"ds", "http://www.w3.org/2000/09/xmldsig#", NULL, NULL},
  37. {"wsse", "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd", NULL},
  38. {"wsa", "http://schemas.xmlsoap.org/ws/2004/08/addressing", NULL, NULL},
  39. {"wsdd", "http://schemas.xmlsoap.org/ws/2005/04/discovery", NULL, NULL},
  40. {"chan", "http://schemas.microsoft.com/ws/2005/02/duplex", NULL, NULL},
  41. {"wsa5", "http://www.w3.org/2005/08/addressing", "http://schemas.xmlsoap.org/ws/2004/08/addressing", NULL},
  42. {"xmime", "http://tempuri.org/xmime.xsd", NULL, NULL},
  43. {"xop", "http://www.w3.org/2004/08/xop/include", NULL, NULL},
  44. {"tt", "http://www.onvif.org/ver10/schema", NULL, NULL},
  45. {"wsrfbf", "http://docs.oasis-open.org/wsrf/bf-2", NULL, NULL},
  46. {"wstop", "http://docs.oasis-open.org/wsn/t-1", NULL, NULL},
  47. {"wsrfr", "http://docs.oasis-open.org/wsrf/r-2", NULL, NULL},
  48. {"tdn", "http://www.onvif.org/ver10/network/wsdl", NULL, NULL},
  49. {"tds", "http://www.onvif.org/ver10/device/wsdl", NULL, NULL},
  50. {"tev", "http://www.onvif.org/ver10/events/wsdl", NULL, NULL},
  51. {"wsnt", "http://docs.oasis-open.org/wsn/b-2", NULL, NULL},
  52. {"timg", "http://www.onvif.org/ver20/imaging/wsdl", NULL, NULL},
  53. {"tls", "http://www.onvif.org/ver10/display/wsdl", NULL, NULL},
  54. {"tmd", "http://www.onvif.org/ver10/deviceIO/wsdl", NULL, NULL},
  55. {"tptz", "http://www.onvif.org/ver20/ptz/wsdl", NULL, NULL},
  56. {"trc", "http://www.onvif.org/ver10/recording/wsdl", NULL, NULL},
  57. {"trp", "http://www.onvif.org/ver10/replay/wsdl", NULL, NULL},
  58. {"trt", "http://www.onvif.org/ver10/media/wsdl", NULL, NULL},
  59. {"trv", "http://www.onvif.org/ver10/receiver/wsdl", NULL, NULL},
  60. {"tse", "http://www.onvif.org/ver10/search/wsdl", NULL, NULL},
  61. {NULL, NULL, NULL, NULL}
  62. };
  63. soap_set_namespaces(this, namespaces);
  64. }
  65. void PullPointSubscriptionBindingService::destroy()
  66. { soap_destroy(this);
  67. soap_end(this);
  68. }
  69. void PullPointSubscriptionBindingService::reset()
  70. { destroy();
  71. soap_done(this);
  72. soap_initialize(this);
  73. PullPointSubscriptionBindingService_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT);
  74. }
  75. #ifndef WITH_PURE_VIRTUAL
  76. PullPointSubscriptionBindingService *PullPointSubscriptionBindingService::copy()
  77. { PullPointSubscriptionBindingService *dup = SOAP_NEW_COPY(PullPointSubscriptionBindingService(*(struct soap*)this));
  78. return dup;
  79. }
  80. #endif
  81. int PullPointSubscriptionBindingService::soap_close_socket()
  82. { return soap_closesock(this);
  83. }
  84. int PullPointSubscriptionBindingService::soap_force_close_socket()
  85. { return soap_force_closesock(this);
  86. }
  87. int PullPointSubscriptionBindingService::soap_senderfault(const char *string, const char *detailXML)
  88. { return ::soap_sender_fault(this, string, detailXML);
  89. }
  90. int PullPointSubscriptionBindingService::soap_senderfault(const char *subcodeQName, const char *string, const char *detailXML)
  91. { return ::soap_sender_fault_subcode(this, subcodeQName, string, detailXML);
  92. }
  93. int PullPointSubscriptionBindingService::soap_receiverfault(const char *string, const char *detailXML)
  94. { return ::soap_receiver_fault(this, string, detailXML);
  95. }
  96. int PullPointSubscriptionBindingService::soap_receiverfault(const char *subcodeQName, const char *string, const char *detailXML)
  97. { return ::soap_receiver_fault_subcode(this, subcodeQName, string, detailXML);
  98. }
  99. void PullPointSubscriptionBindingService::soap_print_fault(FILE *fd)
  100. { ::soap_print_fault(this, fd);
  101. }
  102. #ifndef WITH_LEAN
  103. #ifndef WITH_COMPAT
  104. void PullPointSubscriptionBindingService::soap_stream_fault(std::ostream& os)
  105. { ::soap_stream_fault(this, os);
  106. }
  107. #endif
  108. char *PullPointSubscriptionBindingService::soap_sprint_fault(char *buf, size_t len)
  109. { return ::soap_sprint_fault(this, buf, len);
  110. }
  111. #endif
  112. void PullPointSubscriptionBindingService::soap_noheader()
  113. { this->header = NULL;
  114. }
  115. void PullPointSubscriptionBindingService::soap_header(struct _wsse__Security *wsse__Security, char *wsa__MessageID, struct wsa__Relationship *wsa__RelatesTo, struct wsa__EndpointReferenceType *wsa__From, struct wsa__EndpointReferenceType *wsa__ReplyTo, struct wsa__EndpointReferenceType *wsa__FaultTo, char *wsa__To, char *wsa__Action, struct wsdd__AppSequenceType *wsdd__AppSequence, char *wsa5__MessageID, struct wsa5__RelatesToType *wsa5__RelatesTo, struct wsa5__EndpointReferenceType *wsa5__From, struct wsa5__EndpointReferenceType *wsa5__ReplyTo, struct wsa5__EndpointReferenceType *wsa5__FaultTo, char *wsa5__To, char *wsa5__Action, struct chan__ChannelInstanceType *chan__ChannelInstance)
  116. { ::soap_header(this);
  117. this->header->wsse__Security = wsse__Security;
  118. this->header->wsa__MessageID = wsa__MessageID;
  119. this->header->wsa__RelatesTo = wsa__RelatesTo;
  120. this->header->wsa__From = wsa__From;
  121. this->header->wsa__ReplyTo = wsa__ReplyTo;
  122. this->header->wsa__FaultTo = wsa__FaultTo;
  123. this->header->wsa__To = wsa__To;
  124. this->header->wsa__Action = wsa__Action;
  125. this->header->wsdd__AppSequence = wsdd__AppSequence;
  126. this->header->wsa5__MessageID = wsa5__MessageID;
  127. this->header->wsa5__RelatesTo = wsa5__RelatesTo;
  128. this->header->wsa5__From = wsa5__From;
  129. this->header->wsa5__ReplyTo = wsa5__ReplyTo;
  130. this->header->wsa5__FaultTo = wsa5__FaultTo;
  131. this->header->wsa5__To = wsa5__To;
  132. this->header->wsa5__Action = wsa5__Action;
  133. this->header->chan__ChannelInstance = chan__ChannelInstance;
  134. }
  135. const SOAP_ENV__Header *PullPointSubscriptionBindingService::soap_header()
  136. { return this->header;
  137. }
  138. int PullPointSubscriptionBindingService::run(int port)
  139. { if (soap_valid_socket(this->master) || soap_valid_socket(bind(NULL, port, 100)))
  140. { for (;;)
  141. { if (!soap_valid_socket(accept()) || serve())
  142. return this->error;
  143. soap_destroy(this);
  144. soap_end(this);
  145. }
  146. }
  147. else
  148. return this->error;
  149. return SOAP_OK;
  150. }
  151. SOAP_SOCKET PullPointSubscriptionBindingService::bind(const char *host, int port, int backlog)
  152. { return soap_bind(this, host, port, backlog);
  153. }
  154. SOAP_SOCKET PullPointSubscriptionBindingService::accept()
  155. { return soap_accept(this);
  156. }
  157. #if defined(WITH_OPENSSL) || defined(WITH_GNUTLS)
  158. int PullPointSubscriptionBindingService::ssl_accept()
  159. { return soap_ssl_accept(this);
  160. }
  161. #endif
  162. int PullPointSubscriptionBindingService::serve()
  163. {
  164. #ifndef WITH_FASTCGI
  165. unsigned int k = this->max_keep_alive;
  166. #endif
  167. do
  168. {
  169. #ifndef WITH_FASTCGI
  170. if (this->max_keep_alive > 0 && !--k)
  171. this->keep_alive = 0;
  172. #endif
  173. if (soap_begin_serve(this))
  174. { if (this->error >= SOAP_STOP)
  175. continue;
  176. return this->error;
  177. }
  178. if (dispatch() || (this->fserveloop && this->fserveloop(this)))
  179. {
  180. #ifdef WITH_FASTCGI
  181. soap_send_fault(this);
  182. #else
  183. return soap_send_fault(this);
  184. #endif
  185. }
  186. #ifdef WITH_FASTCGI
  187. soap_destroy(this);
  188. soap_end(this);
  189. } while (1);
  190. #else
  191. } while (this->keep_alive);
  192. #endif
  193. return SOAP_OK;
  194. }
  195. static int serve___tev__PullMessages(PullPointSubscriptionBindingService*);
  196. static int serve___tev__Seek(PullPointSubscriptionBindingService*);
  197. static int serve___tev__SetSynchronizationPoint(PullPointSubscriptionBindingService*);
  198. static int serve___tev__GetServiceCapabilities(PullPointSubscriptionBindingService*);
  199. static int serve___tev__CreatePullPointSubscription(PullPointSubscriptionBindingService*);
  200. static int serve___tev__GetEventProperties(PullPointSubscriptionBindingService*);
  201. static int serve___tev__Renew(PullPointSubscriptionBindingService*);
  202. static int serve___tev__Unsubscribe(PullPointSubscriptionBindingService*);
  203. static int serve___tev__Subscribe(PullPointSubscriptionBindingService*);
  204. static int serve___tev__GetCurrentMessage(PullPointSubscriptionBindingService*);
  205. static int serve___tev__Notify(PullPointSubscriptionBindingService*);
  206. static int serve___tev__GetMessages(PullPointSubscriptionBindingService*);
  207. static int serve___tev__DestroyPullPoint(PullPointSubscriptionBindingService*);
  208. static int serve___tev__Notify_(PullPointSubscriptionBindingService*);
  209. static int serve___tev__CreatePullPoint(PullPointSubscriptionBindingService*);
  210. static int serve___tev__Renew_(PullPointSubscriptionBindingService*);
  211. static int serve___tev__Unsubscribe_(PullPointSubscriptionBindingService*);
  212. static int serve___tev__PauseSubscription(PullPointSubscriptionBindingService*);
  213. static int serve___tev__ResumeSubscription(PullPointSubscriptionBindingService*);
  214. int PullPointSubscriptionBindingService::dispatch()
  215. { soap_peek_element(this);
  216. if (!soap_match_tag(this, this->tag, "tev:PullMessages"))
  217. return serve___tev__PullMessages(this);
  218. if (!soap_match_tag(this, this->tag, "tev:Seek"))
  219. return serve___tev__Seek(this);
  220. if (!soap_match_tag(this, this->tag, "tev:SetSynchronizationPoint"))
  221. return serve___tev__SetSynchronizationPoint(this);
  222. if (!soap_match_tag(this, this->tag, "tev:GetServiceCapabilities"))
  223. return serve___tev__GetServiceCapabilities(this);
  224. if (!soap_match_tag(this, this->tag, "tev:CreatePullPointSubscription"))
  225. return serve___tev__CreatePullPointSubscription(this);
  226. if (!soap_match_tag(this, this->tag, "tev:GetEventProperties"))
  227. return serve___tev__GetEventProperties(this);
  228. if (!soap_match_tag(this, this->tag, "wsnt:Renew"))
  229. return serve___tev__Renew(this);
  230. if (!soap_match_tag(this, this->tag, "wsnt:Unsubscribe"))
  231. return serve___tev__Unsubscribe(this);
  232. if (!soap_match_tag(this, this->tag, "wsnt:Subscribe"))
  233. return serve___tev__Subscribe(this);
  234. if (!soap_match_tag(this, this->tag, "wsnt:GetCurrentMessage"))
  235. return serve___tev__GetCurrentMessage(this);
  236. if (!soap_match_tag(this, this->tag, "wsnt:Notify"))
  237. return serve___tev__Notify(this);
  238. if (!soap_match_tag(this, this->tag, "wsnt:GetMessages"))
  239. return serve___tev__GetMessages(this);
  240. if (!soap_match_tag(this, this->tag, "wsnt:DestroyPullPoint"))
  241. return serve___tev__DestroyPullPoint(this);
  242. if (!soap_match_tag(this, this->tag, "wsnt:Notify"))
  243. return serve___tev__Notify_(this);
  244. if (!soap_match_tag(this, this->tag, "wsnt:CreatePullPoint"))
  245. return serve___tev__CreatePullPoint(this);
  246. if (!soap_match_tag(this, this->tag, "wsnt:Renew"))
  247. return serve___tev__Renew_(this);
  248. if (!soap_match_tag(this, this->tag, "wsnt:Unsubscribe"))
  249. return serve___tev__Unsubscribe_(this);
  250. if (!soap_match_tag(this, this->tag, "wsnt:PauseSubscription"))
  251. return serve___tev__PauseSubscription(this);
  252. if (!soap_match_tag(this, this->tag, "wsnt:ResumeSubscription"))
  253. return serve___tev__ResumeSubscription(this);
  254. return this->error = SOAP_NO_METHOD;
  255. }
  256. static int serve___tev__PullMessages(PullPointSubscriptionBindingService *soap)
  257. { struct __tev__PullMessages soap_tmp___tev__PullMessages;
  258. _tev__PullMessagesResponse tev__PullMessagesResponse;
  259. tev__PullMessagesResponse.soap_default(soap);
  260. soap_default___tev__PullMessages(soap, &soap_tmp___tev__PullMessages);
  261. if (!soap_get___tev__PullMessages(soap, &soap_tmp___tev__PullMessages, "-tev:PullMessages", NULL))
  262. return soap->error;
  263. if (soap_body_end_in(soap)
  264. || soap_envelope_end_in(soap)
  265. || soap_end_recv(soap))
  266. return soap->error;
  267. soap->error = soap->PullMessages(soap_tmp___tev__PullMessages.tev__PullMessages, &tev__PullMessagesResponse);
  268. if (soap->error)
  269. return soap->error;
  270. soap->encodingStyle = NULL;
  271. soap_serializeheader(soap);
  272. tev__PullMessagesResponse.soap_serialize(soap);
  273. if (soap_begin_count(soap))
  274. return soap->error;
  275. if (soap->mode & SOAP_IO_LENGTH)
  276. { if (soap_envelope_begin_out(soap)
  277. || soap_putheader(soap)
  278. || soap_body_begin_out(soap)
  279. || tev__PullMessagesResponse.soap_put(soap, "tev:PullMessagesResponse", "")
  280. || soap_body_end_out(soap)
  281. || soap_envelope_end_out(soap))
  282. return soap->error;
  283. };
  284. if (soap_end_count(soap)
  285. || soap_response(soap, SOAP_OK)
  286. || soap_envelope_begin_out(soap)
  287. || soap_putheader(soap)
  288. || soap_body_begin_out(soap)
  289. || tev__PullMessagesResponse.soap_put(soap, "tev:PullMessagesResponse", "")
  290. || soap_body_end_out(soap)
  291. || soap_envelope_end_out(soap)
  292. || soap_end_send(soap))
  293. return soap->error;
  294. return soap_closesock(soap);
  295. }
  296. static int serve___tev__Seek(PullPointSubscriptionBindingService *soap)
  297. { struct __tev__Seek soap_tmp___tev__Seek;
  298. _tev__SeekResponse tev__SeekResponse;
  299. tev__SeekResponse.soap_default(soap);
  300. soap_default___tev__Seek(soap, &soap_tmp___tev__Seek);
  301. if (!soap_get___tev__Seek(soap, &soap_tmp___tev__Seek, "-tev:Seek", NULL))
  302. return soap->error;
  303. if (soap_body_end_in(soap)
  304. || soap_envelope_end_in(soap)
  305. || soap_end_recv(soap))
  306. return soap->error;
  307. soap->error = soap->Seek(soap_tmp___tev__Seek.tev__Seek, &tev__SeekResponse);
  308. if (soap->error)
  309. return soap->error;
  310. soap->encodingStyle = NULL;
  311. soap_serializeheader(soap);
  312. tev__SeekResponse.soap_serialize(soap);
  313. if (soap_begin_count(soap))
  314. return soap->error;
  315. if (soap->mode & SOAP_IO_LENGTH)
  316. { if (soap_envelope_begin_out(soap)
  317. || soap_putheader(soap)
  318. || soap_body_begin_out(soap)
  319. || tev__SeekResponse.soap_put(soap, "tev:SeekResponse", "")
  320. || soap_body_end_out(soap)
  321. || soap_envelope_end_out(soap))
  322. return soap->error;
  323. };
  324. if (soap_end_count(soap)
  325. || soap_response(soap, SOAP_OK)
  326. || soap_envelope_begin_out(soap)
  327. || soap_putheader(soap)
  328. || soap_body_begin_out(soap)
  329. || tev__SeekResponse.soap_put(soap, "tev:SeekResponse", "")
  330. || soap_body_end_out(soap)
  331. || soap_envelope_end_out(soap)
  332. || soap_end_send(soap))
  333. return soap->error;
  334. return soap_closesock(soap);
  335. }
  336. static int serve___tev__SetSynchronizationPoint(PullPointSubscriptionBindingService *soap)
  337. { struct __tev__SetSynchronizationPoint soap_tmp___tev__SetSynchronizationPoint;
  338. _tev__SetSynchronizationPointResponse tev__SetSynchronizationPointResponse;
  339. tev__SetSynchronizationPointResponse.soap_default(soap);
  340. soap_default___tev__SetSynchronizationPoint(soap, &soap_tmp___tev__SetSynchronizationPoint);
  341. if (!soap_get___tev__SetSynchronizationPoint(soap, &soap_tmp___tev__SetSynchronizationPoint, "-tev:SetSynchronizationPoint", NULL))
  342. return soap->error;
  343. if (soap_body_end_in(soap)
  344. || soap_envelope_end_in(soap)
  345. || soap_end_recv(soap))
  346. return soap->error;
  347. soap->error = soap->SetSynchronizationPoint(soap_tmp___tev__SetSynchronizationPoint.tev__SetSynchronizationPoint, &tev__SetSynchronizationPointResponse);
  348. if (soap->error)
  349. return soap->error;
  350. soap->encodingStyle = NULL;
  351. soap_serializeheader(soap);
  352. tev__SetSynchronizationPointResponse.soap_serialize(soap);
  353. if (soap_begin_count(soap))
  354. return soap->error;
  355. if (soap->mode & SOAP_IO_LENGTH)
  356. { if (soap_envelope_begin_out(soap)
  357. || soap_putheader(soap)
  358. || soap_body_begin_out(soap)
  359. || tev__SetSynchronizationPointResponse.soap_put(soap, "tev:SetSynchronizationPointResponse", "")
  360. || soap_body_end_out(soap)
  361. || soap_envelope_end_out(soap))
  362. return soap->error;
  363. };
  364. if (soap_end_count(soap)
  365. || soap_response(soap, SOAP_OK)
  366. || soap_envelope_begin_out(soap)
  367. || soap_putheader(soap)
  368. || soap_body_begin_out(soap)
  369. || tev__SetSynchronizationPointResponse.soap_put(soap, "tev:SetSynchronizationPointResponse", "")
  370. || soap_body_end_out(soap)
  371. || soap_envelope_end_out(soap)
  372. || soap_end_send(soap))
  373. return soap->error;
  374. return soap_closesock(soap);
  375. }
  376. static int serve___tev__GetServiceCapabilities(PullPointSubscriptionBindingService *soap)
  377. { struct __tev__GetServiceCapabilities soap_tmp___tev__GetServiceCapabilities;
  378. _tev__GetServiceCapabilitiesResponse tev__GetServiceCapabilitiesResponse;
  379. tev__GetServiceCapabilitiesResponse.soap_default(soap);
  380. soap_default___tev__GetServiceCapabilities(soap, &soap_tmp___tev__GetServiceCapabilities);
  381. if (!soap_get___tev__GetServiceCapabilities(soap, &soap_tmp___tev__GetServiceCapabilities, "-tev:GetServiceCapabilities", NULL))
  382. return soap->error;
  383. if (soap_body_end_in(soap)
  384. || soap_envelope_end_in(soap)
  385. || soap_end_recv(soap))
  386. return soap->error;
  387. soap->error = soap->GetServiceCapabilities(soap_tmp___tev__GetServiceCapabilities.tev__GetServiceCapabilities, &tev__GetServiceCapabilitiesResponse);
  388. if (soap->error)
  389. return soap->error;
  390. soap->encodingStyle = NULL;
  391. soap_serializeheader(soap);
  392. tev__GetServiceCapabilitiesResponse.soap_serialize(soap);
  393. if (soap_begin_count(soap))
  394. return soap->error;
  395. if (soap->mode & SOAP_IO_LENGTH)
  396. { if (soap_envelope_begin_out(soap)
  397. || soap_putheader(soap)
  398. || soap_body_begin_out(soap)
  399. || tev__GetServiceCapabilitiesResponse.soap_put(soap, "tev:GetServiceCapabilitiesResponse", "")
  400. || soap_body_end_out(soap)
  401. || soap_envelope_end_out(soap))
  402. return soap->error;
  403. };
  404. if (soap_end_count(soap)
  405. || soap_response(soap, SOAP_OK)
  406. || soap_envelope_begin_out(soap)
  407. || soap_putheader(soap)
  408. || soap_body_begin_out(soap)
  409. || tev__GetServiceCapabilitiesResponse.soap_put(soap, "tev:GetServiceCapabilitiesResponse", "")
  410. || soap_body_end_out(soap)
  411. || soap_envelope_end_out(soap)
  412. || soap_end_send(soap))
  413. return soap->error;
  414. return soap_closesock(soap);
  415. }
  416. static int serve___tev__CreatePullPointSubscription(PullPointSubscriptionBindingService *soap)
  417. { struct __tev__CreatePullPointSubscription soap_tmp___tev__CreatePullPointSubscription;
  418. _tev__CreatePullPointSubscriptionResponse tev__CreatePullPointSubscriptionResponse;
  419. tev__CreatePullPointSubscriptionResponse.soap_default(soap);
  420. soap_default___tev__CreatePullPointSubscription(soap, &soap_tmp___tev__CreatePullPointSubscription);
  421. if (!soap_get___tev__CreatePullPointSubscription(soap, &soap_tmp___tev__CreatePullPointSubscription, "-tev:CreatePullPointSubscription", NULL))
  422. return soap->error;
  423. if (soap_body_end_in(soap)
  424. || soap_envelope_end_in(soap)
  425. || soap_end_recv(soap))
  426. return soap->error;
  427. soap->error = soap->CreatePullPointSubscription(soap_tmp___tev__CreatePullPointSubscription.tev__CreatePullPointSubscription, &tev__CreatePullPointSubscriptionResponse);
  428. if (soap->error)
  429. return soap->error;
  430. soap->encodingStyle = NULL;
  431. soap_serializeheader(soap);
  432. tev__CreatePullPointSubscriptionResponse.soap_serialize(soap);
  433. if (soap_begin_count(soap))
  434. return soap->error;
  435. if (soap->mode & SOAP_IO_LENGTH)
  436. { if (soap_envelope_begin_out(soap)
  437. || soap_putheader(soap)
  438. || soap_body_begin_out(soap)
  439. || tev__CreatePullPointSubscriptionResponse.soap_put(soap, "tev:CreatePullPointSubscriptionResponse", "")
  440. || soap_body_end_out(soap)
  441. || soap_envelope_end_out(soap))
  442. return soap->error;
  443. };
  444. if (soap_end_count(soap)
  445. || soap_response(soap, SOAP_OK)
  446. || soap_envelope_begin_out(soap)
  447. || soap_putheader(soap)
  448. || soap_body_begin_out(soap)
  449. || tev__CreatePullPointSubscriptionResponse.soap_put(soap, "tev:CreatePullPointSubscriptionResponse", "")
  450. || soap_body_end_out(soap)
  451. || soap_envelope_end_out(soap)
  452. || soap_end_send(soap))
  453. return soap->error;
  454. return soap_closesock(soap);
  455. }
  456. static int serve___tev__GetEventProperties(PullPointSubscriptionBindingService *soap)
  457. { struct __tev__GetEventProperties soap_tmp___tev__GetEventProperties;
  458. _tev__GetEventPropertiesResponse tev__GetEventPropertiesResponse;
  459. tev__GetEventPropertiesResponse.soap_default(soap);
  460. soap_default___tev__GetEventProperties(soap, &soap_tmp___tev__GetEventProperties);
  461. if (!soap_get___tev__GetEventProperties(soap, &soap_tmp___tev__GetEventProperties, "-tev:GetEventProperties", NULL))
  462. return soap->error;
  463. if (soap_body_end_in(soap)
  464. || soap_envelope_end_in(soap)
  465. || soap_end_recv(soap))
  466. return soap->error;
  467. soap->error = soap->GetEventProperties(soap_tmp___tev__GetEventProperties.tev__GetEventProperties, &tev__GetEventPropertiesResponse);
  468. if (soap->error)
  469. return soap->error;
  470. soap->encodingStyle = NULL;
  471. soap_serializeheader(soap);
  472. tev__GetEventPropertiesResponse.soap_serialize(soap);
  473. if (soap_begin_count(soap))
  474. return soap->error;
  475. if (soap->mode & SOAP_IO_LENGTH)
  476. { if (soap_envelope_begin_out(soap)
  477. || soap_putheader(soap)
  478. || soap_body_begin_out(soap)
  479. || tev__GetEventPropertiesResponse.soap_put(soap, "tev:GetEventPropertiesResponse", "")
  480. || soap_body_end_out(soap)
  481. || soap_envelope_end_out(soap))
  482. return soap->error;
  483. };
  484. if (soap_end_count(soap)
  485. || soap_response(soap, SOAP_OK)
  486. || soap_envelope_begin_out(soap)
  487. || soap_putheader(soap)
  488. || soap_body_begin_out(soap)
  489. || tev__GetEventPropertiesResponse.soap_put(soap, "tev:GetEventPropertiesResponse", "")
  490. || soap_body_end_out(soap)
  491. || soap_envelope_end_out(soap)
  492. || soap_end_send(soap))
  493. return soap->error;
  494. return soap_closesock(soap);
  495. }
  496. static int serve___tev__Renew(PullPointSubscriptionBindingService *soap)
  497. { struct __tev__Renew soap_tmp___tev__Renew;
  498. _wsnt__RenewResponse wsnt__RenewResponse;
  499. wsnt__RenewResponse.soap_default(soap);
  500. soap_default___tev__Renew(soap, &soap_tmp___tev__Renew);
  501. if (!soap_get___tev__Renew(soap, &soap_tmp___tev__Renew, "-tev:Renew", NULL))
  502. return soap->error;
  503. if (soap_body_end_in(soap)
  504. || soap_envelope_end_in(soap)
  505. || soap_end_recv(soap))
  506. return soap->error;
  507. soap->error = soap->Renew(soap_tmp___tev__Renew.wsnt__Renew, &wsnt__RenewResponse);
  508. if (soap->error)
  509. return soap->error;
  510. soap->encodingStyle = NULL;
  511. soap_serializeheader(soap);
  512. wsnt__RenewResponse.soap_serialize(soap);
  513. if (soap_begin_count(soap))
  514. return soap->error;
  515. if (soap->mode & SOAP_IO_LENGTH)
  516. { if (soap_envelope_begin_out(soap)
  517. || soap_putheader(soap)
  518. || soap_body_begin_out(soap)
  519. || wsnt__RenewResponse.soap_put(soap, "wsnt:RenewResponse", "")
  520. || soap_body_end_out(soap)
  521. || soap_envelope_end_out(soap))
  522. return soap->error;
  523. };
  524. if (soap_end_count(soap)
  525. || soap_response(soap, SOAP_OK)
  526. || soap_envelope_begin_out(soap)
  527. || soap_putheader(soap)
  528. || soap_body_begin_out(soap)
  529. || wsnt__RenewResponse.soap_put(soap, "wsnt:RenewResponse", "")
  530. || soap_body_end_out(soap)
  531. || soap_envelope_end_out(soap)
  532. || soap_end_send(soap))
  533. return soap->error;
  534. return soap_closesock(soap);
  535. }
  536. static int serve___tev__Unsubscribe(PullPointSubscriptionBindingService *soap)
  537. { struct __tev__Unsubscribe soap_tmp___tev__Unsubscribe;
  538. _wsnt__UnsubscribeResponse wsnt__UnsubscribeResponse;
  539. wsnt__UnsubscribeResponse.soap_default(soap);
  540. soap_default___tev__Unsubscribe(soap, &soap_tmp___tev__Unsubscribe);
  541. if (!soap_get___tev__Unsubscribe(soap, &soap_tmp___tev__Unsubscribe, "-tev:Unsubscribe", NULL))
  542. return soap->error;
  543. if (soap_body_end_in(soap)
  544. || soap_envelope_end_in(soap)
  545. || soap_end_recv(soap))
  546. return soap->error;
  547. soap->error = soap->Unsubscribe(soap_tmp___tev__Unsubscribe.wsnt__Unsubscribe, &wsnt__UnsubscribeResponse);
  548. if (soap->error)
  549. return soap->error;
  550. soap->encodingStyle = NULL;
  551. soap_serializeheader(soap);
  552. wsnt__UnsubscribeResponse.soap_serialize(soap);
  553. if (soap_begin_count(soap))
  554. return soap->error;
  555. if (soap->mode & SOAP_IO_LENGTH)
  556. { if (soap_envelope_begin_out(soap)
  557. || soap_putheader(soap)
  558. || soap_body_begin_out(soap)
  559. || wsnt__UnsubscribeResponse.soap_put(soap, "wsnt:UnsubscribeResponse", "")
  560. || soap_body_end_out(soap)
  561. || soap_envelope_end_out(soap))
  562. return soap->error;
  563. };
  564. if (soap_end_count(soap)
  565. || soap_response(soap, SOAP_OK)
  566. || soap_envelope_begin_out(soap)
  567. || soap_putheader(soap)
  568. || soap_body_begin_out(soap)
  569. || wsnt__UnsubscribeResponse.soap_put(soap, "wsnt:UnsubscribeResponse", "")
  570. || soap_body_end_out(soap)
  571. || soap_envelope_end_out(soap)
  572. || soap_end_send(soap))
  573. return soap->error;
  574. return soap_closesock(soap);
  575. }
  576. static int serve___tev__Subscribe(PullPointSubscriptionBindingService *soap)
  577. { struct __tev__Subscribe soap_tmp___tev__Subscribe;
  578. _wsnt__SubscribeResponse wsnt__SubscribeResponse;
  579. wsnt__SubscribeResponse.soap_default(soap);
  580. soap_default___tev__Subscribe(soap, &soap_tmp___tev__Subscribe);
  581. if (!soap_get___tev__Subscribe(soap, &soap_tmp___tev__Subscribe, "-tev:Subscribe", NULL))
  582. return soap->error;
  583. if (soap_body_end_in(soap)
  584. || soap_envelope_end_in(soap)
  585. || soap_end_recv(soap))
  586. return soap->error;
  587. soap->error = soap->Subscribe(soap_tmp___tev__Subscribe.wsnt__Subscribe, &wsnt__SubscribeResponse);
  588. if (soap->error)
  589. return soap->error;
  590. soap->encodingStyle = NULL;
  591. soap_serializeheader(soap);
  592. wsnt__SubscribeResponse.soap_serialize(soap);
  593. if (soap_begin_count(soap))
  594. return soap->error;
  595. if (soap->mode & SOAP_IO_LENGTH)
  596. { if (soap_envelope_begin_out(soap)
  597. || soap_putheader(soap)
  598. || soap_body_begin_out(soap)
  599. || wsnt__SubscribeResponse.soap_put(soap, "wsnt:SubscribeResponse", "")
  600. || soap_body_end_out(soap)
  601. || soap_envelope_end_out(soap))
  602. return soap->error;
  603. };
  604. if (soap_end_count(soap)
  605. || soap_response(soap, SOAP_OK)
  606. || soap_envelope_begin_out(soap)
  607. || soap_putheader(soap)
  608. || soap_body_begin_out(soap)
  609. || wsnt__SubscribeResponse.soap_put(soap, "wsnt:SubscribeResponse", "")
  610. || soap_body_end_out(soap)
  611. || soap_envelope_end_out(soap)
  612. || soap_end_send(soap))
  613. return soap->error;
  614. return soap_closesock(soap);
  615. }
  616. static int serve___tev__GetCurrentMessage(PullPointSubscriptionBindingService *soap)
  617. { struct __tev__GetCurrentMessage soap_tmp___tev__GetCurrentMessage;
  618. _wsnt__GetCurrentMessageResponse wsnt__GetCurrentMessageResponse;
  619. wsnt__GetCurrentMessageResponse.soap_default(soap);
  620. soap_default___tev__GetCurrentMessage(soap, &soap_tmp___tev__GetCurrentMessage);
  621. if (!soap_get___tev__GetCurrentMessage(soap, &soap_tmp___tev__GetCurrentMessage, "-tev:GetCurrentMessage", NULL))
  622. return soap->error;
  623. if (soap_body_end_in(soap)
  624. || soap_envelope_end_in(soap)
  625. || soap_end_recv(soap))
  626. return soap->error;
  627. soap->error = soap->GetCurrentMessage(soap_tmp___tev__GetCurrentMessage.wsnt__GetCurrentMessage, &wsnt__GetCurrentMessageResponse);
  628. if (soap->error)
  629. return soap->error;
  630. soap->encodingStyle = NULL;
  631. soap_serializeheader(soap);
  632. wsnt__GetCurrentMessageResponse.soap_serialize(soap);
  633. if (soap_begin_count(soap))
  634. return soap->error;
  635. if (soap->mode & SOAP_IO_LENGTH)
  636. { if (soap_envelope_begin_out(soap)
  637. || soap_putheader(soap)
  638. || soap_body_begin_out(soap)
  639. || wsnt__GetCurrentMessageResponse.soap_put(soap, "wsnt:GetCurrentMessageResponse", "")
  640. || soap_body_end_out(soap)
  641. || soap_envelope_end_out(soap))
  642. return soap->error;
  643. };
  644. if (soap_end_count(soap)
  645. || soap_response(soap, SOAP_OK)
  646. || soap_envelope_begin_out(soap)
  647. || soap_putheader(soap)
  648. || soap_body_begin_out(soap)
  649. || wsnt__GetCurrentMessageResponse.soap_put(soap, "wsnt:GetCurrentMessageResponse", "")
  650. || soap_body_end_out(soap)
  651. || soap_envelope_end_out(soap)
  652. || soap_end_send(soap))
  653. return soap->error;
  654. return soap_closesock(soap);
  655. }
  656. static int serve___tev__Notify(PullPointSubscriptionBindingService *soap)
  657. { struct __tev__Notify soap_tmp___tev__Notify;
  658. soap_default___tev__Notify(soap, &soap_tmp___tev__Notify);
  659. if (!soap_get___tev__Notify(soap, &soap_tmp___tev__Notify, "-tev:Notify", NULL))
  660. return soap->error;
  661. if (soap_body_end_in(soap)
  662. || soap_envelope_end_in(soap)
  663. || soap_end_recv(soap))
  664. return soap->error;
  665. soap->error = soap->Notify(soap_tmp___tev__Notify.wsnt__Notify);
  666. if (soap->error)
  667. return soap->error;
  668. return soap_closesock(soap);
  669. }
  670. static int serve___tev__GetMessages(PullPointSubscriptionBindingService *soap)
  671. { struct __tev__GetMessages soap_tmp___tev__GetMessages;
  672. _wsnt__GetMessagesResponse wsnt__GetMessagesResponse;
  673. wsnt__GetMessagesResponse.soap_default(soap);
  674. soap_default___tev__GetMessages(soap, &soap_tmp___tev__GetMessages);
  675. if (!soap_get___tev__GetMessages(soap, &soap_tmp___tev__GetMessages, "-tev:GetMessages", NULL))
  676. return soap->error;
  677. if (soap_body_end_in(soap)
  678. || soap_envelope_end_in(soap)
  679. || soap_end_recv(soap))
  680. return soap->error;
  681. soap->error = soap->GetMessages(soap_tmp___tev__GetMessages.wsnt__GetMessages, &wsnt__GetMessagesResponse);
  682. if (soap->error)
  683. return soap->error;
  684. soap->encodingStyle = NULL;
  685. soap_serializeheader(soap);
  686. wsnt__GetMessagesResponse.soap_serialize(soap);
  687. if (soap_begin_count(soap))
  688. return soap->error;
  689. if (soap->mode & SOAP_IO_LENGTH)
  690. { if (soap_envelope_begin_out(soap)
  691. || soap_putheader(soap)
  692. || soap_body_begin_out(soap)
  693. || wsnt__GetMessagesResponse.soap_put(soap, "wsnt:GetMessagesResponse", "")
  694. || soap_body_end_out(soap)
  695. || soap_envelope_end_out(soap))
  696. return soap->error;
  697. };
  698. if (soap_end_count(soap)
  699. || soap_response(soap, SOAP_OK)
  700. || soap_envelope_begin_out(soap)
  701. || soap_putheader(soap)
  702. || soap_body_begin_out(soap)
  703. || wsnt__GetMessagesResponse.soap_put(soap, "wsnt:GetMessagesResponse", "")
  704. || soap_body_end_out(soap)
  705. || soap_envelope_end_out(soap)
  706. || soap_end_send(soap))
  707. return soap->error;
  708. return soap_closesock(soap);
  709. }
  710. static int serve___tev__DestroyPullPoint(PullPointSubscriptionBindingService *soap)
  711. { struct __tev__DestroyPullPoint soap_tmp___tev__DestroyPullPoint;
  712. _wsnt__DestroyPullPointResponse wsnt__DestroyPullPointResponse;
  713. wsnt__DestroyPullPointResponse.soap_default(soap);
  714. soap_default___tev__DestroyPullPoint(soap, &soap_tmp___tev__DestroyPullPoint);
  715. if (!soap_get___tev__DestroyPullPoint(soap, &soap_tmp___tev__DestroyPullPoint, "-tev:DestroyPullPoint", NULL))
  716. return soap->error;
  717. if (soap_body_end_in(soap)
  718. || soap_envelope_end_in(soap)
  719. || soap_end_recv(soap))
  720. return soap->error;
  721. soap->error = soap->DestroyPullPoint(soap_tmp___tev__DestroyPullPoint.wsnt__DestroyPullPoint, &wsnt__DestroyPullPointResponse);
  722. if (soap->error)
  723. return soap->error;
  724. soap->encodingStyle = NULL;
  725. soap_serializeheader(soap);
  726. wsnt__DestroyPullPointResponse.soap_serialize(soap);
  727. if (soap_begin_count(soap))
  728. return soap->error;
  729. if (soap->mode & SOAP_IO_LENGTH)
  730. { if (soap_envelope_begin_out(soap)
  731. || soap_putheader(soap)
  732. || soap_body_begin_out(soap)
  733. || wsnt__DestroyPullPointResponse.soap_put(soap, "wsnt:DestroyPullPointResponse", "")
  734. || soap_body_end_out(soap)
  735. || soap_envelope_end_out(soap))
  736. return soap->error;
  737. };
  738. if (soap_end_count(soap)
  739. || soap_response(soap, SOAP_OK)
  740. || soap_envelope_begin_out(soap)
  741. || soap_putheader(soap)
  742. || soap_body_begin_out(soap)
  743. || wsnt__DestroyPullPointResponse.soap_put(soap, "wsnt:DestroyPullPointResponse", "")
  744. || soap_body_end_out(soap)
  745. || soap_envelope_end_out(soap)
  746. || soap_end_send(soap))
  747. return soap->error;
  748. return soap_closesock(soap);
  749. }
  750. static int serve___tev__Notify_(PullPointSubscriptionBindingService *soap)
  751. { struct __tev__Notify_ soap_tmp___tev__Notify_;
  752. soap_default___tev__Notify_(soap, &soap_tmp___tev__Notify_);
  753. if (!soap_get___tev__Notify_(soap, &soap_tmp___tev__Notify_, "-tev:Notify", NULL))
  754. return soap->error;
  755. if (soap_body_end_in(soap)
  756. || soap_envelope_end_in(soap)
  757. || soap_end_recv(soap))
  758. return soap->error;
  759. soap->error = soap->Notify_(soap_tmp___tev__Notify_.wsnt__Notify);
  760. if (soap->error)
  761. return soap->error;
  762. return soap_closesock(soap);
  763. }
  764. static int serve___tev__CreatePullPoint(PullPointSubscriptionBindingService *soap)
  765. { struct __tev__CreatePullPoint soap_tmp___tev__CreatePullPoint;
  766. _wsnt__CreatePullPointResponse wsnt__CreatePullPointResponse;
  767. wsnt__CreatePullPointResponse.soap_default(soap);
  768. soap_default___tev__CreatePullPoint(soap, &soap_tmp___tev__CreatePullPoint);
  769. if (!soap_get___tev__CreatePullPoint(soap, &soap_tmp___tev__CreatePullPoint, "-tev:CreatePullPoint", NULL))
  770. return soap->error;
  771. if (soap_body_end_in(soap)
  772. || soap_envelope_end_in(soap)
  773. || soap_end_recv(soap))
  774. return soap->error;
  775. soap->error = soap->CreatePullPoint(soap_tmp___tev__CreatePullPoint.wsnt__CreatePullPoint, &wsnt__CreatePullPointResponse);
  776. if (soap->error)
  777. return soap->error;
  778. soap->encodingStyle = NULL;
  779. soap_serializeheader(soap);
  780. wsnt__CreatePullPointResponse.soap_serialize(soap);
  781. if (soap_begin_count(soap))
  782. return soap->error;
  783. if (soap->mode & SOAP_IO_LENGTH)
  784. { if (soap_envelope_begin_out(soap)
  785. || soap_putheader(soap)
  786. || soap_body_begin_out(soap)
  787. || wsnt__CreatePullPointResponse.soap_put(soap, "wsnt:CreatePullPointResponse", "")
  788. || soap_body_end_out(soap)
  789. || soap_envelope_end_out(soap))
  790. return soap->error;
  791. };
  792. if (soap_end_count(soap)
  793. || soap_response(soap, SOAP_OK)
  794. || soap_envelope_begin_out(soap)
  795. || soap_putheader(soap)
  796. || soap_body_begin_out(soap)
  797. || wsnt__CreatePullPointResponse.soap_put(soap, "wsnt:CreatePullPointResponse", "")
  798. || soap_body_end_out(soap)
  799. || soap_envelope_end_out(soap)
  800. || soap_end_send(soap))
  801. return soap->error;
  802. return soap_closesock(soap);
  803. }
  804. static int serve___tev__Renew_(PullPointSubscriptionBindingService *soap)
  805. { struct __tev__Renew_ soap_tmp___tev__Renew_;
  806. _wsnt__RenewResponse wsnt__RenewResponse;
  807. wsnt__RenewResponse.soap_default(soap);
  808. soap_default___tev__Renew_(soap, &soap_tmp___tev__Renew_);
  809. if (!soap_get___tev__Renew_(soap, &soap_tmp___tev__Renew_, "-tev:Renew", NULL))
  810. return soap->error;
  811. if (soap_body_end_in(soap)
  812. || soap_envelope_end_in(soap)
  813. || soap_end_recv(soap))
  814. return soap->error;
  815. soap->error = soap->Renew_(soap_tmp___tev__Renew_.wsnt__Renew, &wsnt__RenewResponse);
  816. if (soap->error)
  817. return soap->error;
  818. soap->encodingStyle = NULL;
  819. soap_serializeheader(soap);
  820. wsnt__RenewResponse.soap_serialize(soap);
  821. if (soap_begin_count(soap))
  822. return soap->error;
  823. if (soap->mode & SOAP_IO_LENGTH)
  824. { if (soap_envelope_begin_out(soap)
  825. || soap_putheader(soap)
  826. || soap_body_begin_out(soap)
  827. || wsnt__RenewResponse.soap_put(soap, "wsnt:RenewResponse", "")
  828. || soap_body_end_out(soap)
  829. || soap_envelope_end_out(soap))
  830. return soap->error;
  831. };
  832. if (soap_end_count(soap)
  833. || soap_response(soap, SOAP_OK)
  834. || soap_envelope_begin_out(soap)
  835. || soap_putheader(soap)
  836. || soap_body_begin_out(soap)
  837. || wsnt__RenewResponse.soap_put(soap, "wsnt:RenewResponse", "")
  838. || soap_body_end_out(soap)
  839. || soap_envelope_end_out(soap)
  840. || soap_end_send(soap))
  841. return soap->error;
  842. return soap_closesock(soap);
  843. }
  844. static int serve___tev__Unsubscribe_(PullPointSubscriptionBindingService *soap)
  845. { struct __tev__Unsubscribe_ soap_tmp___tev__Unsubscribe_;
  846. _wsnt__UnsubscribeResponse wsnt__UnsubscribeResponse;
  847. wsnt__UnsubscribeResponse.soap_default(soap);
  848. soap_default___tev__Unsubscribe_(soap, &soap_tmp___tev__Unsubscribe_);
  849. if (!soap_get___tev__Unsubscribe_(soap, &soap_tmp___tev__Unsubscribe_, "-tev:Unsubscribe", NULL))
  850. return soap->error;
  851. if (soap_body_end_in(soap)
  852. || soap_envelope_end_in(soap)
  853. || soap_end_recv(soap))
  854. return soap->error;
  855. soap->error = soap->Unsubscribe_(soap_tmp___tev__Unsubscribe_.wsnt__Unsubscribe, &wsnt__UnsubscribeResponse);
  856. if (soap->error)
  857. return soap->error;
  858. soap->encodingStyle = NULL;
  859. soap_serializeheader(soap);
  860. wsnt__UnsubscribeResponse.soap_serialize(soap);
  861. if (soap_begin_count(soap))
  862. return soap->error;
  863. if (soap->mode & SOAP_IO_LENGTH)
  864. { if (soap_envelope_begin_out(soap)
  865. || soap_putheader(soap)
  866. || soap_body_begin_out(soap)
  867. || wsnt__UnsubscribeResponse.soap_put(soap, "wsnt:UnsubscribeResponse", "")
  868. || soap_body_end_out(soap)
  869. || soap_envelope_end_out(soap))
  870. return soap->error;
  871. };
  872. if (soap_end_count(soap)
  873. || soap_response(soap, SOAP_OK)
  874. || soap_envelope_begin_out(soap)
  875. || soap_putheader(soap)
  876. || soap_body_begin_out(soap)
  877. || wsnt__UnsubscribeResponse.soap_put(soap, "wsnt:UnsubscribeResponse", "")
  878. || soap_body_end_out(soap)
  879. || soap_envelope_end_out(soap)
  880. || soap_end_send(soap))
  881. return soap->error;
  882. return soap_closesock(soap);
  883. }
  884. static int serve___tev__PauseSubscription(PullPointSubscriptionBindingService *soap)
  885. { struct __tev__PauseSubscription soap_tmp___tev__PauseSubscription;
  886. _wsnt__PauseSubscriptionResponse wsnt__PauseSubscriptionResponse;
  887. wsnt__PauseSubscriptionResponse.soap_default(soap);
  888. soap_default___tev__PauseSubscription(soap, &soap_tmp___tev__PauseSubscription);
  889. if (!soap_get___tev__PauseSubscription(soap, &soap_tmp___tev__PauseSubscription, "-tev:PauseSubscription", NULL))
  890. return soap->error;
  891. if (soap_body_end_in(soap)
  892. || soap_envelope_end_in(soap)
  893. || soap_end_recv(soap))
  894. return soap->error;
  895. soap->error = soap->PauseSubscription(soap_tmp___tev__PauseSubscription.wsnt__PauseSubscription, &wsnt__PauseSubscriptionResponse);
  896. if (soap->error)
  897. return soap->error;
  898. soap->encodingStyle = NULL;
  899. soap_serializeheader(soap);
  900. wsnt__PauseSubscriptionResponse.soap_serialize(soap);
  901. if (soap_begin_count(soap))
  902. return soap->error;
  903. if (soap->mode & SOAP_IO_LENGTH)
  904. { if (soap_envelope_begin_out(soap)
  905. || soap_putheader(soap)
  906. || soap_body_begin_out(soap)
  907. || wsnt__PauseSubscriptionResponse.soap_put(soap, "wsnt:PauseSubscriptionResponse", "")
  908. || soap_body_end_out(soap)
  909. || soap_envelope_end_out(soap))
  910. return soap->error;
  911. };
  912. if (soap_end_count(soap)
  913. || soap_response(soap, SOAP_OK)
  914. || soap_envelope_begin_out(soap)
  915. || soap_putheader(soap)
  916. || soap_body_begin_out(soap)
  917. || wsnt__PauseSubscriptionResponse.soap_put(soap, "wsnt:PauseSubscriptionResponse", "")
  918. || soap_body_end_out(soap)
  919. || soap_envelope_end_out(soap)
  920. || soap_end_send(soap))
  921. return soap->error;
  922. return soap_closesock(soap);
  923. }
  924. static int serve___tev__ResumeSubscription(PullPointSubscriptionBindingService *soap)
  925. { struct __tev__ResumeSubscription soap_tmp___tev__ResumeSubscription;
  926. _wsnt__ResumeSubscriptionResponse wsnt__ResumeSubscriptionResponse;
  927. wsnt__ResumeSubscriptionResponse.soap_default(soap);
  928. soap_default___tev__ResumeSubscription(soap, &soap_tmp___tev__ResumeSubscription);
  929. if (!soap_get___tev__ResumeSubscription(soap, &soap_tmp___tev__ResumeSubscription, "-tev:ResumeSubscription", NULL))
  930. return soap->error;
  931. if (soap_body_end_in(soap)
  932. || soap_envelope_end_in(soap)
  933. || soap_end_recv(soap))
  934. return soap->error;
  935. soap->error = soap->ResumeSubscription(soap_tmp___tev__ResumeSubscription.wsnt__ResumeSubscription, &wsnt__ResumeSubscriptionResponse);
  936. if (soap->error)
  937. return soap->error;
  938. soap->encodingStyle = NULL;
  939. soap_serializeheader(soap);
  940. wsnt__ResumeSubscriptionResponse.soap_serialize(soap);
  941. if (soap_begin_count(soap))
  942. return soap->error;
  943. if (soap->mode & SOAP_IO_LENGTH)
  944. { if (soap_envelope_begin_out(soap)
  945. || soap_putheader(soap)
  946. || soap_body_begin_out(soap)
  947. || wsnt__ResumeSubscriptionResponse.soap_put(soap, "wsnt:ResumeSubscriptionResponse", "")
  948. || soap_body_end_out(soap)
  949. || soap_envelope_end_out(soap))
  950. return soap->error;
  951. };
  952. if (soap_end_count(soap)
  953. || soap_response(soap, SOAP_OK)
  954. || soap_envelope_begin_out(soap)
  955. || soap_putheader(soap)
  956. || soap_body_begin_out(soap)
  957. || wsnt__ResumeSubscriptionResponse.soap_put(soap, "wsnt:ResumeSubscriptionResponse", "")
  958. || soap_body_end_out(soap)
  959. || soap_envelope_end_out(soap)
  960. || soap_end_send(soap))
  961. return soap->error;
  962. return soap_closesock(soap);
  963. }
  964. /* End of server object code */