/* soapNexonCashSoapProxy.cpp Generated by gSOAP 2.8.15 from NXSoap.h Copyright(C) 2000-2013, 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. This program is released under the GPL with the additional exemption that compiling, linking, and/or using OpenSSL is allowed. */ #include "soapNexonCashSoapProxy.h" NexonCashSoapProxy::NexonCashSoapProxy() { NexonCashSoapProxy_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT); } NexonCashSoapProxy::NexonCashSoapProxy(const struct soap &_soap) : soap(_soap) { } NexonCashSoapProxy::NexonCashSoapProxy(const char *url) { NexonCashSoapProxy_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT); soap_endpoint = url; } NexonCashSoapProxy::NexonCashSoapProxy(soap_mode iomode) { NexonCashSoapProxy_init(iomode, iomode); } NexonCashSoapProxy::NexonCashSoapProxy(const char *url, soap_mode iomode) { NexonCashSoapProxy_init(iomode, iomode); soap_endpoint = url; } NexonCashSoapProxy::NexonCashSoapProxy(soap_mode imode, soap_mode omode) { NexonCashSoapProxy_init(imode, omode); } NexonCashSoapProxy::~NexonCashSoapProxy() { } void NexonCashSoapProxy::NexonCashSoapProxy_init(soap_mode imode, soap_mode omode) { soap_imode(this, imode); soap_omode(this, omode); soap_endpoint = NULL; static const struct Namespace namespaces[] = { {"SOAP-ENV", "http://www.w3.org/2003/05/soap-envelope", "http://schemas.xmlsoap.org/soap/envelope/", NULL}, {"SOAP-ENC", "http://www.w3.org/2003/05/soap-encoding", "http://schemas.xmlsoap.org/soap/encoding/", NULL}, {"xsi", "http://www.w3.org/2001/XMLSchema-instance", "http://www.w3.org/*/XMLSchema-instance", NULL}, {"xsd", "http://www.w3.org/2001/XMLSchema", "http://www.w3.org/*/XMLSchema", NULL}, {"ns1", "http://127.0.0.1/remoting_version_2/", NULL, NULL}, {NULL, NULL, NULL, NULL} }; soap_set_namespaces(this, namespaces); } void NexonCashSoapProxy::destroy() { soap_destroy(this); soap_end(this); } void NexonCashSoapProxy::reset() { destroy(); soap_done(this); soap_init(this); NexonCashSoapProxy_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT); } void NexonCashSoapProxy::soap_noheader() { this->header = NULL; } void NexonCashSoapProxy::soap_header(ns1__Header *ns1__Header_, ns1__SecurityHeader *ns1__SecurityHeader_) { ::soap_header(this); this->header->ns1__Header_ = ns1__Header_; this->header->ns1__SecurityHeader_ = ns1__SecurityHeader_; } const SOAP_ENV__Header *NexonCashSoapProxy::soap_header() { return this->header; } const SOAP_ENV__Fault *NexonCashSoapProxy::soap_fault() { return this->fault; } const char *NexonCashSoapProxy::soap_fault_string() { return *soap_faultstring(this); } const char *NexonCashSoapProxy::soap_fault_detail() { return *soap_faultdetail(this); } int NexonCashSoapProxy::soap_close_socket() { return soap_closesock(this); } int NexonCashSoapProxy::soap_force_close_socket() { return soap_force_closesock(this); } void NexonCashSoapProxy::soap_print_fault(FILE *fd) { ::soap_print_fault(this, fd); } #ifndef WITH_LEAN #ifndef WITH_COMPAT void NexonCashSoapProxy::soap_stream_fault(std::ostream& os) { ::soap_stream_fault(this, os); } #endif char *NexonCashSoapProxy::soap_sprint_fault(char *buf, size_t len) { return ::soap_sprint_fault(this, buf, len); } #endif int NexonCashSoapProxy::InitializeSoap(const char *endpoint, const char *soap_action, _ns1__InitializeSoap *ns1__InitializeSoap, _ns1__InitializeSoapResponse *ns1__InitializeSoapResponse) { struct soap *soap = this; struct __ns1__InitializeSoap soap_tmp___ns1__InitializeSoap; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/InitializeSoap"; soap->encodingStyle = NULL; soap_tmp___ns1__InitializeSoap.ns1__InitializeSoap = ns1__InitializeSoap; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__InitializeSoap(soap, &soap_tmp___ns1__InitializeSoap); 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___ns1__InitializeSoap(soap, &soap_tmp___ns1__InitializeSoap, "-ns1:InitializeSoap", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__InitializeSoap(soap, &soap_tmp___ns1__InitializeSoap, "-ns1:InitializeSoap", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__InitializeSoapResponse) return soap_closesock(soap); ns1__InitializeSoapResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__InitializeSoapResponse->soap_get(soap, "ns1:InitializeSoapResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::ApprovalInfo(const char *endpoint, const char *soap_action, _ns1__ApprovalInfo *ns1__ApprovalInfo, _ns1__ApprovalInfoResponse *ns1__ApprovalInfoResponse) { struct soap *soap = this; struct __ns1__ApprovalInfo soap_tmp___ns1__ApprovalInfo; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/ApprovalInfo"; soap->encodingStyle = NULL; soap_tmp___ns1__ApprovalInfo.ns1__ApprovalInfo = ns1__ApprovalInfo; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__ApprovalInfo(soap, &soap_tmp___ns1__ApprovalInfo); 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___ns1__ApprovalInfo(soap, &soap_tmp___ns1__ApprovalInfo, "-ns1:ApprovalInfo", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__ApprovalInfo(soap, &soap_tmp___ns1__ApprovalInfo, "-ns1:ApprovalInfo", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__ApprovalInfoResponse) return soap_closesock(soap); ns1__ApprovalInfoResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__ApprovalInfoResponse->soap_get(soap, "ns1:ApprovalInfoResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::ApprovalPaidInfo(const char *endpoint, const char *soap_action, _ns1__ApprovalPaidInfo *ns1__ApprovalPaidInfo, _ns1__ApprovalPaidInfoResponse *ns1__ApprovalPaidInfoResponse) { struct soap *soap = this; struct __ns1__ApprovalPaidInfo soap_tmp___ns1__ApprovalPaidInfo; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/ApprovalPaidInfo"; soap->encodingStyle = NULL; soap_tmp___ns1__ApprovalPaidInfo.ns1__ApprovalPaidInfo = ns1__ApprovalPaidInfo; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__ApprovalPaidInfo(soap, &soap_tmp___ns1__ApprovalPaidInfo); 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___ns1__ApprovalPaidInfo(soap, &soap_tmp___ns1__ApprovalPaidInfo, "-ns1:ApprovalPaidInfo", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__ApprovalPaidInfo(soap, &soap_tmp___ns1__ApprovalPaidInfo, "-ns1:ApprovalPaidInfo", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__ApprovalPaidInfoResponse) return soap_closesock(soap); ns1__ApprovalPaidInfoResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__ApprovalPaidInfoResponse->soap_get(soap, "ns1:ApprovalPaidInfoResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::UsageInfo(const char *endpoint, const char *soap_action, _ns1__UsageInfo *ns1__UsageInfo, _ns1__UsageInfoResponse *ns1__UsageInfoResponse) { struct soap *soap = this; struct __ns1__UsageInfo soap_tmp___ns1__UsageInfo; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/UsageInfo"; soap->encodingStyle = NULL; soap_tmp___ns1__UsageInfo.ns1__UsageInfo = ns1__UsageInfo; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__UsageInfo(soap, &soap_tmp___ns1__UsageInfo); 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___ns1__UsageInfo(soap, &soap_tmp___ns1__UsageInfo, "-ns1:UsageInfo", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__UsageInfo(soap, &soap_tmp___ns1__UsageInfo, "-ns1:UsageInfo", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__UsageInfoResponse) return soap_closesock(soap); ns1__UsageInfoResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__UsageInfoResponse->soap_get(soap, "ns1:UsageInfoResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::LastUsageInfo(const char *endpoint, const char *soap_action, _ns1__LastUsageInfo *ns1__LastUsageInfo, _ns1__LastUsageInfoResponse *ns1__LastUsageInfoResponse) { struct soap *soap = this; struct __ns1__LastUsageInfo soap_tmp___ns1__LastUsageInfo; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/LastUsageInfo"; soap->encodingStyle = NULL; soap_tmp___ns1__LastUsageInfo.ns1__LastUsageInfo = ns1__LastUsageInfo; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__LastUsageInfo(soap, &soap_tmp___ns1__LastUsageInfo); 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___ns1__LastUsageInfo(soap, &soap_tmp___ns1__LastUsageInfo, "-ns1:LastUsageInfo", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__LastUsageInfo(soap, &soap_tmp___ns1__LastUsageInfo, "-ns1:LastUsageInfo", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__LastUsageInfoResponse) return soap_closesock(soap); ns1__LastUsageInfoResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__LastUsageInfoResponse->soap_get(soap, "ns1:LastUsageInfoResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::ISBillingUser(const char *endpoint, const char *soap_action, _ns1__ISBillingUser *ns1__ISBillingUser, _ns1__ISBillingUserResponse *ns1__ISBillingUserResponse) { struct soap *soap = this; struct __ns1__ISBillingUser soap_tmp___ns1__ISBillingUser; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/ISBillingUser"; soap->encodingStyle = NULL; soap_tmp___ns1__ISBillingUser.ns1__ISBillingUser = ns1__ISBillingUser; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__ISBillingUser(soap, &soap_tmp___ns1__ISBillingUser); 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___ns1__ISBillingUser(soap, &soap_tmp___ns1__ISBillingUser, "-ns1:ISBillingUser", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__ISBillingUser(soap, &soap_tmp___ns1__ISBillingUser, "-ns1:ISBillingUser", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__ISBillingUserResponse) return soap_closesock(soap); ns1__ISBillingUserResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__ISBillingUserResponse->soap_get(soap, "ns1:ISBillingUserResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::GetPurse(const char *endpoint, const char *soap_action, _ns1__GetPurse *ns1__GetPurse, _ns1__GetPurseResponse *ns1__GetPurseResponse) { struct soap *soap = this; struct __ns1__GetPurse soap_tmp___ns1__GetPurse; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/GetPurse"; soap->encodingStyle = NULL; soap_tmp___ns1__GetPurse.ns1__GetPurse = ns1__GetPurse; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__GetPurse(soap, &soap_tmp___ns1__GetPurse); 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___ns1__GetPurse(soap, &soap_tmp___ns1__GetPurse, "-ns1:GetPurse", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__GetPurse(soap, &soap_tmp___ns1__GetPurse, "-ns1:GetPurse", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__GetPurseResponse) return soap_closesock(soap); ns1__GetPurseResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__GetPurseResponse->soap_get(soap, "ns1:GetPurseResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::GetPurseByChannel(const char *endpoint, const char *soap_action, _ns1__GetPurseByChannel *ns1__GetPurseByChannel, _ns1__GetPurseByChannelResponse *ns1__GetPurseByChannelResponse) { struct soap *soap = this; struct __ns1__GetPurseByChannel soap_tmp___ns1__GetPurseByChannel; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/GetPurseByChannel"; soap->encodingStyle = NULL; soap_tmp___ns1__GetPurseByChannel.ns1__GetPurseByChannel = ns1__GetPurseByChannel; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__GetPurseByChannel(soap, &soap_tmp___ns1__GetPurseByChannel); 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___ns1__GetPurseByChannel(soap, &soap_tmp___ns1__GetPurseByChannel, "-ns1:GetPurseByChannel", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__GetPurseByChannel(soap, &soap_tmp___ns1__GetPurseByChannel, "-ns1:GetPurseByChannel", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__GetPurseByChannelResponse) return soap_closesock(soap); ns1__GetPurseByChannelResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__GetPurseByChannelResponse->soap_get(soap, "ns1:GetPurseByChannelResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::Purchase(const char *endpoint, const char *soap_action, _ns1__Purchase *ns1__Purchase, _ns1__PurchaseResponse *ns1__PurchaseResponse) { struct soap *soap = this; struct __ns1__Purchase soap_tmp___ns1__Purchase; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/Purchase"; soap->encodingStyle = NULL; soap_tmp___ns1__Purchase.ns1__Purchase = ns1__Purchase; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__Purchase(soap, &soap_tmp___ns1__Purchase); 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___ns1__Purchase(soap, &soap_tmp___ns1__Purchase, "-ns1:Purchase", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__Purchase(soap, &soap_tmp___ns1__Purchase, "-ns1:Purchase", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__PurchaseResponse) return soap_closesock(soap); ns1__PurchaseResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__PurchaseResponse->soap_get(soap, "ns1:PurchaseResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::PurchaseChannel(const char *endpoint, const char *soap_action, _ns1__PurchaseChannel *ns1__PurchaseChannel, _ns1__PurchaseChannelResponse *ns1__PurchaseChannelResponse) { struct soap *soap = this; struct __ns1__PurchaseChannel soap_tmp___ns1__PurchaseChannel; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/PurchaseChannel"; soap->encodingStyle = NULL; soap_tmp___ns1__PurchaseChannel.ns1__PurchaseChannel = ns1__PurchaseChannel; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__PurchaseChannel(soap, &soap_tmp___ns1__PurchaseChannel); 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___ns1__PurchaseChannel(soap, &soap_tmp___ns1__PurchaseChannel, "-ns1:PurchaseChannel", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__PurchaseChannel(soap, &soap_tmp___ns1__PurchaseChannel, "-ns1:PurchaseChannel", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__PurchaseChannelResponse) return soap_closesock(soap); ns1__PurchaseChannelResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__PurchaseChannelResponse->soap_get(soap, "ns1:PurchaseChannelResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::PurchaseExtend(const char *endpoint, const char *soap_action, _ns1__PurchaseExtend *ns1__PurchaseExtend, _ns1__PurchaseExtendResponse *ns1__PurchaseExtendResponse) { struct soap *soap = this; struct __ns1__PurchaseExtend soap_tmp___ns1__PurchaseExtend; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/PurchaseExtend"; soap->encodingStyle = NULL; soap_tmp___ns1__PurchaseExtend.ns1__PurchaseExtend = ns1__PurchaseExtend; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__PurchaseExtend(soap, &soap_tmp___ns1__PurchaseExtend); 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___ns1__PurchaseExtend(soap, &soap_tmp___ns1__PurchaseExtend, "-ns1:PurchaseExtend", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__PurchaseExtend(soap, &soap_tmp___ns1__PurchaseExtend, "-ns1:PurchaseExtend", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__PurchaseExtendResponse) return soap_closesock(soap); ns1__PurchaseExtendResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__PurchaseExtendResponse->soap_get(soap, "ns1:PurchaseExtendResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::Purchase_USCOREEx(const char *endpoint, const char *soap_action, _ns1__Purchase_USCOREEx *ns1__Purchase_USCOREEx, _ns1__Purchase_USCOREExResponse *ns1__Purchase_USCOREExResponse) { struct soap *soap = this; struct __ns1__Purchase_USCOREEx soap_tmp___ns1__Purchase_USCOREEx; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/Purchase_Ex"; soap->encodingStyle = NULL; soap_tmp___ns1__Purchase_USCOREEx.ns1__Purchase_USCOREEx = ns1__Purchase_USCOREEx; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__Purchase_USCOREEx(soap, &soap_tmp___ns1__Purchase_USCOREEx); 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___ns1__Purchase_USCOREEx(soap, &soap_tmp___ns1__Purchase_USCOREEx, "-ns1:Purchase_Ex", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__Purchase_USCOREEx(soap, &soap_tmp___ns1__Purchase_USCOREEx, "-ns1:Purchase_Ex", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__Purchase_USCOREExResponse) return soap_closesock(soap); ns1__Purchase_USCOREExResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__Purchase_USCOREExResponse->soap_get(soap, "ns1:Purchase_ExResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::ApprovalCashChange_USCOREChanneling(const char *endpoint, const char *soap_action, _ns1__ApprovalCashChange_USCOREChanneling *ns1__ApprovalCashChange_USCOREChanneling, _ns1__ApprovalCashChange_USCOREChannelingResponse *ns1__ApprovalCashChange_USCOREChannelingResponse) { struct soap *soap = this; struct __ns1__ApprovalCashChange_USCOREChanneling soap_tmp___ns1__ApprovalCashChange_USCOREChanneling; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/ApprovalCashChange_Channeling"; soap->encodingStyle = NULL; soap_tmp___ns1__ApprovalCashChange_USCOREChanneling.ns1__ApprovalCashChange_USCOREChanneling = ns1__ApprovalCashChange_USCOREChanneling; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__ApprovalCashChange_USCOREChanneling(soap, &soap_tmp___ns1__ApprovalCashChange_USCOREChanneling); 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___ns1__ApprovalCashChange_USCOREChanneling(soap, &soap_tmp___ns1__ApprovalCashChange_USCOREChanneling, "-ns1:ApprovalCashChange_Channeling", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__ApprovalCashChange_USCOREChanneling(soap, &soap_tmp___ns1__ApprovalCashChange_USCOREChanneling, "-ns1:ApprovalCashChange_Channeling", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__ApprovalCashChange_USCOREChannelingResponse) return soap_closesock(soap); ns1__ApprovalCashChange_USCOREChannelingResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__ApprovalCashChange_USCOREChannelingResponse->soap_get(soap, "ns1:ApprovalCashChange_ChannelingResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::Present(const char *endpoint, const char *soap_action, _ns1__Present *ns1__Present, _ns1__PresentResponse *ns1__PresentResponse) { struct soap *soap = this; struct __ns1__Present soap_tmp___ns1__Present; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/Present"; soap->encodingStyle = NULL; soap_tmp___ns1__Present.ns1__Present = ns1__Present; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__Present(soap, &soap_tmp___ns1__Present); 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___ns1__Present(soap, &soap_tmp___ns1__Present, "-ns1:Present", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__Present(soap, &soap_tmp___ns1__Present, "-ns1:Present", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__PresentResponse) return soap_closesock(soap); ns1__PresentResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__PresentResponse->soap_get(soap, "ns1:PresentResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::PresentExtend(const char *endpoint, const char *soap_action, _ns1__PresentExtend *ns1__PresentExtend, _ns1__PresentExtendResponse *ns1__PresentExtendResponse) { struct soap *soap = this; struct __ns1__PresentExtend soap_tmp___ns1__PresentExtend; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/PresentExtend"; soap->encodingStyle = NULL; soap_tmp___ns1__PresentExtend.ns1__PresentExtend = ns1__PresentExtend; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__PresentExtend(soap, &soap_tmp___ns1__PresentExtend); 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___ns1__PresentExtend(soap, &soap_tmp___ns1__PresentExtend, "-ns1:PresentExtend", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__PresentExtend(soap, &soap_tmp___ns1__PresentExtend, "-ns1:PresentExtend", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__PresentExtendResponse) return soap_closesock(soap); ns1__PresentExtendResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__PresentExtendResponse->soap_get(soap, "ns1:PresentExtendResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::CheckUsage(const char *endpoint, const char *soap_action, _ns1__CheckUsage *ns1__CheckUsage, _ns1__CheckUsageResponse *ns1__CheckUsageResponse) { struct soap *soap = this; struct __ns1__CheckUsage soap_tmp___ns1__CheckUsage; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/CheckUsage"; soap->encodingStyle = NULL; soap_tmp___ns1__CheckUsage.ns1__CheckUsage = ns1__CheckUsage; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__CheckUsage(soap, &soap_tmp___ns1__CheckUsage); 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___ns1__CheckUsage(soap, &soap_tmp___ns1__CheckUsage, "-ns1:CheckUsage", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__CheckUsage(soap, &soap_tmp___ns1__CheckUsage, "-ns1:CheckUsage", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__CheckUsageResponse) return soap_closesock(soap); ns1__CheckUsageResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__CheckUsageResponse->soap_get(soap, "ns1:CheckUsageResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::GetCashReceiptList(const char *endpoint, const char *soap_action, _ns1__GetCashReceiptList *ns1__GetCashReceiptList, _ns1__GetCashReceiptListResponse *ns1__GetCashReceiptListResponse) { struct soap *soap = this; struct __ns1__GetCashReceiptList soap_tmp___ns1__GetCashReceiptList; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/GetCashReceiptList"; soap->encodingStyle = NULL; soap_tmp___ns1__GetCashReceiptList.ns1__GetCashReceiptList = ns1__GetCashReceiptList; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__GetCashReceiptList(soap, &soap_tmp___ns1__GetCashReceiptList); 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___ns1__GetCashReceiptList(soap, &soap_tmp___ns1__GetCashReceiptList, "-ns1:GetCashReceiptList", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__GetCashReceiptList(soap, &soap_tmp___ns1__GetCashReceiptList, "-ns1:GetCashReceiptList", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__GetCashReceiptListResponse) return soap_closesock(soap); ns1__GetCashReceiptListResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__GetCashReceiptListResponse->soap_get(soap, "ns1:GetCashReceiptListResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::ChargeForNeopleCoupon(const char *endpoint, const char *soap_action, _ns1__ChargeForNeopleCoupon *ns1__ChargeForNeopleCoupon, _ns1__ChargeForNeopleCouponResponse *ns1__ChargeForNeopleCouponResponse) { struct soap *soap = this; struct __ns1__ChargeForNeopleCoupon soap_tmp___ns1__ChargeForNeopleCoupon; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/ChargeForNeopleCoupon"; soap->encodingStyle = NULL; soap_tmp___ns1__ChargeForNeopleCoupon.ns1__ChargeForNeopleCoupon = ns1__ChargeForNeopleCoupon; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__ChargeForNeopleCoupon(soap, &soap_tmp___ns1__ChargeForNeopleCoupon); 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___ns1__ChargeForNeopleCoupon(soap, &soap_tmp___ns1__ChargeForNeopleCoupon, "-ns1:ChargeForNeopleCoupon", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__ChargeForNeopleCoupon(soap, &soap_tmp___ns1__ChargeForNeopleCoupon, "-ns1:ChargeForNeopleCoupon", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__ChargeForNeopleCouponResponse) return soap_closesock(soap); ns1__ChargeForNeopleCouponResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__ChargeForNeopleCouponResponse->soap_get(soap, "ns1:ChargeForNeopleCouponResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::UsageCancelForLunia(const char *endpoint, const char *soap_action, _ns1__UsageCancelForLunia *ns1__UsageCancelForLunia, _ns1__UsageCancelForLuniaResponse *ns1__UsageCancelForLuniaResponse) { struct soap *soap = this; struct __ns1__UsageCancelForLunia soap_tmp___ns1__UsageCancelForLunia; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/UsageCancelForLunia"; soap->encodingStyle = NULL; soap_tmp___ns1__UsageCancelForLunia.ns1__UsageCancelForLunia = ns1__UsageCancelForLunia; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__UsageCancelForLunia(soap, &soap_tmp___ns1__UsageCancelForLunia); 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___ns1__UsageCancelForLunia(soap, &soap_tmp___ns1__UsageCancelForLunia, "-ns1:UsageCancelForLunia", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__UsageCancelForLunia(soap, &soap_tmp___ns1__UsageCancelForLunia, "-ns1:UsageCancelForLunia", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__UsageCancelForLuniaResponse) return soap_closesock(soap); ns1__UsageCancelForLuniaResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__UsageCancelForLuniaResponse->soap_get(soap, "ns1:UsageCancelForLuniaResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::UsageCancel(const char *endpoint, const char *soap_action, _ns1__UsageCancel *ns1__UsageCancel, _ns1__UsageCancelResponse *ns1__UsageCancelResponse) { struct soap *soap = this; struct __ns1__UsageCancel soap_tmp___ns1__UsageCancel; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/UsageCancel"; soap->encodingStyle = NULL; soap_tmp___ns1__UsageCancel.ns1__UsageCancel = ns1__UsageCancel; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__UsageCancel(soap, &soap_tmp___ns1__UsageCancel); 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___ns1__UsageCancel(soap, &soap_tmp___ns1__UsageCancel, "-ns1:UsageCancel", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__UsageCancel(soap, &soap_tmp___ns1__UsageCancel, "-ns1:UsageCancel", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__UsageCancelResponse) return soap_closesock(soap); ns1__UsageCancelResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__UsageCancelResponse->soap_get(soap, "ns1:UsageCancelResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::UsageCancelByUsageSn(const char *endpoint, const char *soap_action, _ns1__UsageCancelByUsageSn *ns1__UsageCancelByUsageSn, _ns1__UsageCancelByUsageSnResponse *ns1__UsageCancelByUsageSnResponse) { struct soap *soap = this; struct __ns1__UsageCancelByUsageSn soap_tmp___ns1__UsageCancelByUsageSn; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/UsageCancelByUsageSn"; soap->encodingStyle = NULL; soap_tmp___ns1__UsageCancelByUsageSn.ns1__UsageCancelByUsageSn = ns1__UsageCancelByUsageSn; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__UsageCancelByUsageSn(soap, &soap_tmp___ns1__UsageCancelByUsageSn); 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___ns1__UsageCancelByUsageSn(soap, &soap_tmp___ns1__UsageCancelByUsageSn, "-ns1:UsageCancelByUsageSn", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__UsageCancelByUsageSn(soap, &soap_tmp___ns1__UsageCancelByUsageSn, "-ns1:UsageCancelByUsageSn", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__UsageCancelByUsageSnResponse) return soap_closesock(soap); ns1__UsageCancelByUsageSnResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__UsageCancelByUsageSnResponse->soap_get(soap, "ns1:UsageCancelByUsageSnResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::GetPurchaseAmount(const char *endpoint, const char *soap_action, _ns1__GetPurchaseAmount *ns1__GetPurchaseAmount, _ns1__GetPurchaseAmountResponse *ns1__GetPurchaseAmountResponse) { struct soap *soap = this; struct __ns1__GetPurchaseAmount soap_tmp___ns1__GetPurchaseAmount; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/GetPurchaseAmount"; soap->encodingStyle = NULL; soap_tmp___ns1__GetPurchaseAmount.ns1__GetPurchaseAmount = ns1__GetPurchaseAmount; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__GetPurchaseAmount(soap, &soap_tmp___ns1__GetPurchaseAmount); 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___ns1__GetPurchaseAmount(soap, &soap_tmp___ns1__GetPurchaseAmount, "-ns1:GetPurchaseAmount", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__GetPurchaseAmount(soap, &soap_tmp___ns1__GetPurchaseAmount, "-ns1:GetPurchaseAmount", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__GetPurchaseAmountResponse) return soap_closesock(soap); ns1__GetPurchaseAmountResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__GetPurchaseAmountResponse->soap_get(soap, "ns1:GetPurchaseAmountResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::UsageRollback(const char *endpoint, const char *soap_action, _ns1__UsageRollback *ns1__UsageRollback, _ns1__UsageRollbackResponse *ns1__UsageRollbackResponse) { struct soap *soap = this; struct __ns1__UsageRollback soap_tmp___ns1__UsageRollback; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/UsageRollback"; soap->encodingStyle = NULL; soap_tmp___ns1__UsageRollback.ns1__UsageRollback = ns1__UsageRollback; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__UsageRollback(soap, &soap_tmp___ns1__UsageRollback); 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___ns1__UsageRollback(soap, &soap_tmp___ns1__UsageRollback, "-ns1:UsageRollback", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__UsageRollback(soap, &soap_tmp___ns1__UsageRollback, "-ns1:UsageRollback", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__UsageRollbackResponse) return soap_closesock(soap); ns1__UsageRollbackResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__UsageRollbackResponse->soap_get(soap, "ns1:UsageRollbackResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::RequestEventCharge(const char *endpoint, const char *soap_action, _ns1__RequestEventCharge *ns1__RequestEventCharge, _ns1__RequestEventChargeResponse *ns1__RequestEventChargeResponse) { struct soap *soap = this; struct __ns1__RequestEventCharge soap_tmp___ns1__RequestEventCharge; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/RequestEventCharge"; soap->encodingStyle = NULL; soap_tmp___ns1__RequestEventCharge.ns1__RequestEventCharge = ns1__RequestEventCharge; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__RequestEventCharge(soap, &soap_tmp___ns1__RequestEventCharge); 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___ns1__RequestEventCharge(soap, &soap_tmp___ns1__RequestEventCharge, "-ns1:RequestEventCharge", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__RequestEventCharge(soap, &soap_tmp___ns1__RequestEventCharge, "-ns1:RequestEventCharge", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__RequestEventChargeResponse) return soap_closesock(soap); ns1__RequestEventChargeResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__RequestEventChargeResponse->soap_get(soap, "ns1:RequestEventChargeResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::ApprovalCashChange(const char *endpoint, const char *soap_action, _ns1__ApprovalCashChange *ns1__ApprovalCashChange, _ns1__ApprovalCashChangeResponse *ns1__ApprovalCashChangeResponse) { struct soap *soap = this; struct __ns1__ApprovalCashChange soap_tmp___ns1__ApprovalCashChange; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/ApprovalCashChange"; soap->encodingStyle = NULL; soap_tmp___ns1__ApprovalCashChange.ns1__ApprovalCashChange = ns1__ApprovalCashChange; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__ApprovalCashChange(soap, &soap_tmp___ns1__ApprovalCashChange); 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___ns1__ApprovalCashChange(soap, &soap_tmp___ns1__ApprovalCashChange, "-ns1:ApprovalCashChange", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__ApprovalCashChange(soap, &soap_tmp___ns1__ApprovalCashChange, "-ns1:ApprovalCashChange", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__ApprovalCashChangeResponse) return soap_closesock(soap); ns1__ApprovalCashChangeResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__ApprovalCashChangeResponse->soap_get(soap, "ns1:ApprovalCashChangeResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::UseCoupon(const char *endpoint, const char *soap_action, _ns1__UseCoupon *ns1__UseCoupon, _ns1__UseCouponResponse *ns1__UseCouponResponse) { struct soap *soap = this; struct __ns1__UseCoupon soap_tmp___ns1__UseCoupon; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/UseCoupon"; soap->encodingStyle = NULL; soap_tmp___ns1__UseCoupon.ns1__UseCoupon = ns1__UseCoupon; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__UseCoupon(soap, &soap_tmp___ns1__UseCoupon); 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___ns1__UseCoupon(soap, &soap_tmp___ns1__UseCoupon, "-ns1:UseCoupon", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__UseCoupon(soap, &soap_tmp___ns1__UseCoupon, "-ns1:UseCoupon", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__UseCouponResponse) return soap_closesock(soap); ns1__UseCouponResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__UseCouponResponse->soap_get(soap, "ns1:UseCouponResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::GetRemainAmount(const char *endpoint, const char *soap_action, _ns1__GetRemainAmount *ns1__GetRemainAmount, _ns1__GetRemainAmountResponse *ns1__GetRemainAmountResponse) { struct soap *soap = this; struct __ns1__GetRemainAmount soap_tmp___ns1__GetRemainAmount; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/GetRemainAmount"; soap->encodingStyle = NULL; soap_tmp___ns1__GetRemainAmount.ns1__GetRemainAmount = ns1__GetRemainAmount; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__GetRemainAmount(soap, &soap_tmp___ns1__GetRemainAmount); 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___ns1__GetRemainAmount(soap, &soap_tmp___ns1__GetRemainAmount, "-ns1:GetRemainAmount", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__GetRemainAmount(soap, &soap_tmp___ns1__GetRemainAmount, "-ns1:GetRemainAmount", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__GetRemainAmountResponse) return soap_closesock(soap); ns1__GetRemainAmountResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__GetRemainAmountResponse->soap_get(soap, "ns1:GetRemainAmountResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::GetPurseWithGameCash(const char *endpoint, const char *soap_action, _ns1__GetPurseWithGameCash *ns1__GetPurseWithGameCash, _ns1__GetPurseWithGameCashResponse *ns1__GetPurseWithGameCashResponse) { struct soap *soap = this; struct __ns1__GetPurseWithGameCash soap_tmp___ns1__GetPurseWithGameCash; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/GetPurseWithGameCash"; soap->encodingStyle = NULL; soap_tmp___ns1__GetPurseWithGameCash.ns1__GetPurseWithGameCash = ns1__GetPurseWithGameCash; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__GetPurseWithGameCash(soap, &soap_tmp___ns1__GetPurseWithGameCash); 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___ns1__GetPurseWithGameCash(soap, &soap_tmp___ns1__GetPurseWithGameCash, "-ns1:GetPurseWithGameCash", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__GetPurseWithGameCash(soap, &soap_tmp___ns1__GetPurseWithGameCash, "-ns1:GetPurseWithGameCash", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__GetPurseWithGameCashResponse) return soap_closesock(soap); ns1__GetPurseWithGameCashResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__GetPurseWithGameCashResponse->soap_get(soap, "ns1:GetPurseWithGameCashResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::ChargeGameCash(const char *endpoint, const char *soap_action, _ns1__ChargeGameCash *ns1__ChargeGameCash, _ns1__ChargeGameCashResponse *ns1__ChargeGameCashResponse) { struct soap *soap = this; struct __ns1__ChargeGameCash soap_tmp___ns1__ChargeGameCash; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/ChargeGameCash"; soap->encodingStyle = NULL; soap_tmp___ns1__ChargeGameCash.ns1__ChargeGameCash = ns1__ChargeGameCash; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__ChargeGameCash(soap, &soap_tmp___ns1__ChargeGameCash); 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___ns1__ChargeGameCash(soap, &soap_tmp___ns1__ChargeGameCash, "-ns1:ChargeGameCash", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__ChargeGameCash(soap, &soap_tmp___ns1__ChargeGameCash, "-ns1:ChargeGameCash", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__ChargeGameCashResponse) return soap_closesock(soap); ns1__ChargeGameCashResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__ChargeGameCashResponse->soap_get(soap, "ns1:ChargeGameCashResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::SetUserMappingData(const char *endpoint, const char *soap_action, _ns1__SetUserMappingData *ns1__SetUserMappingData, _ns1__SetUserMappingDataResponse *ns1__SetUserMappingDataResponse) { struct soap *soap = this; struct __ns1__SetUserMappingData soap_tmp___ns1__SetUserMappingData; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/SetUserMappingData"; soap->encodingStyle = NULL; soap_tmp___ns1__SetUserMappingData.ns1__SetUserMappingData = ns1__SetUserMappingData; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__SetUserMappingData(soap, &soap_tmp___ns1__SetUserMappingData); 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___ns1__SetUserMappingData(soap, &soap_tmp___ns1__SetUserMappingData, "-ns1:SetUserMappingData", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__SetUserMappingData(soap, &soap_tmp___ns1__SetUserMappingData, "-ns1:SetUserMappingData", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__SetUserMappingDataResponse) return soap_closesock(soap); ns1__SetUserMappingDataResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__SetUserMappingDataResponse->soap_get(soap, "ns1:SetUserMappingDataResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::InitializeSoap_(const char *endpoint, const char *soap_action, _ns1__InitializeSoap *ns1__InitializeSoap, _ns1__InitializeSoapResponse *ns1__InitializeSoapResponse) { struct soap *soap = this; struct __ns1__InitializeSoap_ soap_tmp___ns1__InitializeSoap_; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/InitializeSoap"; soap->encodingStyle = NULL; soap_tmp___ns1__InitializeSoap_.ns1__InitializeSoap = ns1__InitializeSoap; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__InitializeSoap_(soap, &soap_tmp___ns1__InitializeSoap_); 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___ns1__InitializeSoap_(soap, &soap_tmp___ns1__InitializeSoap_, "-ns1:InitializeSoap", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__InitializeSoap_(soap, &soap_tmp___ns1__InitializeSoap_, "-ns1:InitializeSoap", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__InitializeSoapResponse) return soap_closesock(soap); ns1__InitializeSoapResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__InitializeSoapResponse->soap_get(soap, "ns1:InitializeSoapResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::ApprovalInfo_(const char *endpoint, const char *soap_action, _ns1__ApprovalInfo *ns1__ApprovalInfo, _ns1__ApprovalInfoResponse *ns1__ApprovalInfoResponse) { struct soap *soap = this; struct __ns1__ApprovalInfo_ soap_tmp___ns1__ApprovalInfo_; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/ApprovalInfo"; soap->encodingStyle = NULL; soap_tmp___ns1__ApprovalInfo_.ns1__ApprovalInfo = ns1__ApprovalInfo; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__ApprovalInfo_(soap, &soap_tmp___ns1__ApprovalInfo_); 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___ns1__ApprovalInfo_(soap, &soap_tmp___ns1__ApprovalInfo_, "-ns1:ApprovalInfo", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__ApprovalInfo_(soap, &soap_tmp___ns1__ApprovalInfo_, "-ns1:ApprovalInfo", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__ApprovalInfoResponse) return soap_closesock(soap); ns1__ApprovalInfoResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__ApprovalInfoResponse->soap_get(soap, "ns1:ApprovalInfoResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::ApprovalPaidInfo_(const char *endpoint, const char *soap_action, _ns1__ApprovalPaidInfo *ns1__ApprovalPaidInfo, _ns1__ApprovalPaidInfoResponse *ns1__ApprovalPaidInfoResponse) { struct soap *soap = this; struct __ns1__ApprovalPaidInfo_ soap_tmp___ns1__ApprovalPaidInfo_; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/ApprovalPaidInfo"; soap->encodingStyle = NULL; soap_tmp___ns1__ApprovalPaidInfo_.ns1__ApprovalPaidInfo = ns1__ApprovalPaidInfo; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__ApprovalPaidInfo_(soap, &soap_tmp___ns1__ApprovalPaidInfo_); 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___ns1__ApprovalPaidInfo_(soap, &soap_tmp___ns1__ApprovalPaidInfo_, "-ns1:ApprovalPaidInfo", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__ApprovalPaidInfo_(soap, &soap_tmp___ns1__ApprovalPaidInfo_, "-ns1:ApprovalPaidInfo", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__ApprovalPaidInfoResponse) return soap_closesock(soap); ns1__ApprovalPaidInfoResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__ApprovalPaidInfoResponse->soap_get(soap, "ns1:ApprovalPaidInfoResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::UsageInfo_(const char *endpoint, const char *soap_action, _ns1__UsageInfo *ns1__UsageInfo, _ns1__UsageInfoResponse *ns1__UsageInfoResponse) { struct soap *soap = this; struct __ns1__UsageInfo_ soap_tmp___ns1__UsageInfo_; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/UsageInfo"; soap->encodingStyle = NULL; soap_tmp___ns1__UsageInfo_.ns1__UsageInfo = ns1__UsageInfo; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__UsageInfo_(soap, &soap_tmp___ns1__UsageInfo_); 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___ns1__UsageInfo_(soap, &soap_tmp___ns1__UsageInfo_, "-ns1:UsageInfo", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__UsageInfo_(soap, &soap_tmp___ns1__UsageInfo_, "-ns1:UsageInfo", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__UsageInfoResponse) return soap_closesock(soap); ns1__UsageInfoResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__UsageInfoResponse->soap_get(soap, "ns1:UsageInfoResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::LastUsageInfo_(const char *endpoint, const char *soap_action, _ns1__LastUsageInfo *ns1__LastUsageInfo, _ns1__LastUsageInfoResponse *ns1__LastUsageInfoResponse) { struct soap *soap = this; struct __ns1__LastUsageInfo_ soap_tmp___ns1__LastUsageInfo_; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/LastUsageInfo"; soap->encodingStyle = NULL; soap_tmp___ns1__LastUsageInfo_.ns1__LastUsageInfo = ns1__LastUsageInfo; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__LastUsageInfo_(soap, &soap_tmp___ns1__LastUsageInfo_); 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___ns1__LastUsageInfo_(soap, &soap_tmp___ns1__LastUsageInfo_, "-ns1:LastUsageInfo", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__LastUsageInfo_(soap, &soap_tmp___ns1__LastUsageInfo_, "-ns1:LastUsageInfo", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__LastUsageInfoResponse) return soap_closesock(soap); ns1__LastUsageInfoResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__LastUsageInfoResponse->soap_get(soap, "ns1:LastUsageInfoResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::ISBillingUser_(const char *endpoint, const char *soap_action, _ns1__ISBillingUser *ns1__ISBillingUser, _ns1__ISBillingUserResponse *ns1__ISBillingUserResponse) { struct soap *soap = this; struct __ns1__ISBillingUser_ soap_tmp___ns1__ISBillingUser_; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/ISBillingUser"; soap->encodingStyle = NULL; soap_tmp___ns1__ISBillingUser_.ns1__ISBillingUser = ns1__ISBillingUser; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__ISBillingUser_(soap, &soap_tmp___ns1__ISBillingUser_); 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___ns1__ISBillingUser_(soap, &soap_tmp___ns1__ISBillingUser_, "-ns1:ISBillingUser", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__ISBillingUser_(soap, &soap_tmp___ns1__ISBillingUser_, "-ns1:ISBillingUser", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__ISBillingUserResponse) return soap_closesock(soap); ns1__ISBillingUserResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__ISBillingUserResponse->soap_get(soap, "ns1:ISBillingUserResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::GetPurse_(const char *endpoint, const char *soap_action, _ns1__GetPurse *ns1__GetPurse, _ns1__GetPurseResponse *ns1__GetPurseResponse) { struct soap *soap = this; struct __ns1__GetPurse_ soap_tmp___ns1__GetPurse_; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/GetPurse"; soap->encodingStyle = NULL; soap_tmp___ns1__GetPurse_.ns1__GetPurse = ns1__GetPurse; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__GetPurse_(soap, &soap_tmp___ns1__GetPurse_); 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___ns1__GetPurse_(soap, &soap_tmp___ns1__GetPurse_, "-ns1:GetPurse", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__GetPurse_(soap, &soap_tmp___ns1__GetPurse_, "-ns1:GetPurse", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__GetPurseResponse) return soap_closesock(soap); ns1__GetPurseResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__GetPurseResponse->soap_get(soap, "ns1:GetPurseResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::GetPurseByChannel_(const char *endpoint, const char *soap_action, _ns1__GetPurseByChannel *ns1__GetPurseByChannel, _ns1__GetPurseByChannelResponse *ns1__GetPurseByChannelResponse) { struct soap *soap = this; struct __ns1__GetPurseByChannel_ soap_tmp___ns1__GetPurseByChannel_; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/GetPurseByChannel"; soap->encodingStyle = NULL; soap_tmp___ns1__GetPurseByChannel_.ns1__GetPurseByChannel = ns1__GetPurseByChannel; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__GetPurseByChannel_(soap, &soap_tmp___ns1__GetPurseByChannel_); 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___ns1__GetPurseByChannel_(soap, &soap_tmp___ns1__GetPurseByChannel_, "-ns1:GetPurseByChannel", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__GetPurseByChannel_(soap, &soap_tmp___ns1__GetPurseByChannel_, "-ns1:GetPurseByChannel", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__GetPurseByChannelResponse) return soap_closesock(soap); ns1__GetPurseByChannelResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__GetPurseByChannelResponse->soap_get(soap, "ns1:GetPurseByChannelResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::Purchase_(const char *endpoint, const char *soap_action, _ns1__Purchase *ns1__Purchase, _ns1__PurchaseResponse *ns1__PurchaseResponse) { struct soap *soap = this; struct __ns1__Purchase_ soap_tmp___ns1__Purchase_; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/Purchase"; soap->encodingStyle = NULL; soap_tmp___ns1__Purchase_.ns1__Purchase = ns1__Purchase; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__Purchase_(soap, &soap_tmp___ns1__Purchase_); 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___ns1__Purchase_(soap, &soap_tmp___ns1__Purchase_, "-ns1:Purchase", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__Purchase_(soap, &soap_tmp___ns1__Purchase_, "-ns1:Purchase", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__PurchaseResponse) return soap_closesock(soap); ns1__PurchaseResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__PurchaseResponse->soap_get(soap, "ns1:PurchaseResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::PurchaseChannel_(const char *endpoint, const char *soap_action, _ns1__PurchaseChannel *ns1__PurchaseChannel, _ns1__PurchaseChannelResponse *ns1__PurchaseChannelResponse) { struct soap *soap = this; struct __ns1__PurchaseChannel_ soap_tmp___ns1__PurchaseChannel_; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/PurchaseChannel"; soap->encodingStyle = NULL; soap_tmp___ns1__PurchaseChannel_.ns1__PurchaseChannel = ns1__PurchaseChannel; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__PurchaseChannel_(soap, &soap_tmp___ns1__PurchaseChannel_); 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___ns1__PurchaseChannel_(soap, &soap_tmp___ns1__PurchaseChannel_, "-ns1:PurchaseChannel", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__PurchaseChannel_(soap, &soap_tmp___ns1__PurchaseChannel_, "-ns1:PurchaseChannel", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__PurchaseChannelResponse) return soap_closesock(soap); ns1__PurchaseChannelResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__PurchaseChannelResponse->soap_get(soap, "ns1:PurchaseChannelResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::PurchaseExtend_(const char *endpoint, const char *soap_action, _ns1__PurchaseExtend *ns1__PurchaseExtend, _ns1__PurchaseExtendResponse *ns1__PurchaseExtendResponse) { struct soap *soap = this; struct __ns1__PurchaseExtend_ soap_tmp___ns1__PurchaseExtend_; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/PurchaseExtend"; soap->encodingStyle = NULL; soap_tmp___ns1__PurchaseExtend_.ns1__PurchaseExtend = ns1__PurchaseExtend; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__PurchaseExtend_(soap, &soap_tmp___ns1__PurchaseExtend_); 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___ns1__PurchaseExtend_(soap, &soap_tmp___ns1__PurchaseExtend_, "-ns1:PurchaseExtend", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__PurchaseExtend_(soap, &soap_tmp___ns1__PurchaseExtend_, "-ns1:PurchaseExtend", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__PurchaseExtendResponse) return soap_closesock(soap); ns1__PurchaseExtendResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__PurchaseExtendResponse->soap_get(soap, "ns1:PurchaseExtendResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::Purchase_USCOREEx_(const char *endpoint, const char *soap_action, _ns1__Purchase_USCOREEx *ns1__Purchase_USCOREEx, _ns1__Purchase_USCOREExResponse *ns1__Purchase_USCOREExResponse) { struct soap *soap = this; struct __ns1__Purchase_USCOREEx_ soap_tmp___ns1__Purchase_USCOREEx_; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/Purchase_Ex"; soap->encodingStyle = NULL; soap_tmp___ns1__Purchase_USCOREEx_.ns1__Purchase_USCOREEx = ns1__Purchase_USCOREEx; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__Purchase_USCOREEx_(soap, &soap_tmp___ns1__Purchase_USCOREEx_); 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___ns1__Purchase_USCOREEx_(soap, &soap_tmp___ns1__Purchase_USCOREEx_, "-ns1:Purchase_Ex", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__Purchase_USCOREEx_(soap, &soap_tmp___ns1__Purchase_USCOREEx_, "-ns1:Purchase_Ex", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__Purchase_USCOREExResponse) return soap_closesock(soap); ns1__Purchase_USCOREExResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__Purchase_USCOREExResponse->soap_get(soap, "ns1:Purchase_ExResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::ApprovalCashChange_USCOREChanneling_(const char *endpoint, const char *soap_action, _ns1__ApprovalCashChange_USCOREChanneling *ns1__ApprovalCashChange_USCOREChanneling, _ns1__ApprovalCashChange_USCOREChannelingResponse *ns1__ApprovalCashChange_USCOREChannelingResponse) { struct soap *soap = this; struct __ns1__ApprovalCashChange_USCOREChanneling_ soap_tmp___ns1__ApprovalCashChange_USCOREChanneling_; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/ApprovalCashChange_Channeling"; soap->encodingStyle = NULL; soap_tmp___ns1__ApprovalCashChange_USCOREChanneling_.ns1__ApprovalCashChange_USCOREChanneling = ns1__ApprovalCashChange_USCOREChanneling; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__ApprovalCashChange_USCOREChanneling_(soap, &soap_tmp___ns1__ApprovalCashChange_USCOREChanneling_); 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___ns1__ApprovalCashChange_USCOREChanneling_(soap, &soap_tmp___ns1__ApprovalCashChange_USCOREChanneling_, "-ns1:ApprovalCashChange_Channeling", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__ApprovalCashChange_USCOREChanneling_(soap, &soap_tmp___ns1__ApprovalCashChange_USCOREChanneling_, "-ns1:ApprovalCashChange_Channeling", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__ApprovalCashChange_USCOREChannelingResponse) return soap_closesock(soap); ns1__ApprovalCashChange_USCOREChannelingResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__ApprovalCashChange_USCOREChannelingResponse->soap_get(soap, "ns1:ApprovalCashChange_ChannelingResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::Present_(const char *endpoint, const char *soap_action, _ns1__Present *ns1__Present, _ns1__PresentResponse *ns1__PresentResponse) { struct soap *soap = this; struct __ns1__Present_ soap_tmp___ns1__Present_; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/Present"; soap->encodingStyle = NULL; soap_tmp___ns1__Present_.ns1__Present = ns1__Present; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__Present_(soap, &soap_tmp___ns1__Present_); 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___ns1__Present_(soap, &soap_tmp___ns1__Present_, "-ns1:Present", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__Present_(soap, &soap_tmp___ns1__Present_, "-ns1:Present", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__PresentResponse) return soap_closesock(soap); ns1__PresentResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__PresentResponse->soap_get(soap, "ns1:PresentResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::PresentExtend_(const char *endpoint, const char *soap_action, _ns1__PresentExtend *ns1__PresentExtend, _ns1__PresentExtendResponse *ns1__PresentExtendResponse) { struct soap *soap = this; struct __ns1__PresentExtend_ soap_tmp___ns1__PresentExtend_; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/PresentExtend"; soap->encodingStyle = NULL; soap_tmp___ns1__PresentExtend_.ns1__PresentExtend = ns1__PresentExtend; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__PresentExtend_(soap, &soap_tmp___ns1__PresentExtend_); 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___ns1__PresentExtend_(soap, &soap_tmp___ns1__PresentExtend_, "-ns1:PresentExtend", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__PresentExtend_(soap, &soap_tmp___ns1__PresentExtend_, "-ns1:PresentExtend", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__PresentExtendResponse) return soap_closesock(soap); ns1__PresentExtendResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__PresentExtendResponse->soap_get(soap, "ns1:PresentExtendResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::CheckUsage_(const char *endpoint, const char *soap_action, _ns1__CheckUsage *ns1__CheckUsage, _ns1__CheckUsageResponse *ns1__CheckUsageResponse) { struct soap *soap = this; struct __ns1__CheckUsage_ soap_tmp___ns1__CheckUsage_; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/CheckUsage"; soap->encodingStyle = NULL; soap_tmp___ns1__CheckUsage_.ns1__CheckUsage = ns1__CheckUsage; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__CheckUsage_(soap, &soap_tmp___ns1__CheckUsage_); 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___ns1__CheckUsage_(soap, &soap_tmp___ns1__CheckUsage_, "-ns1:CheckUsage", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__CheckUsage_(soap, &soap_tmp___ns1__CheckUsage_, "-ns1:CheckUsage", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__CheckUsageResponse) return soap_closesock(soap); ns1__CheckUsageResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__CheckUsageResponse->soap_get(soap, "ns1:CheckUsageResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::GetCashReceiptList_(const char *endpoint, const char *soap_action, _ns1__GetCashReceiptList *ns1__GetCashReceiptList, _ns1__GetCashReceiptListResponse *ns1__GetCashReceiptListResponse) { struct soap *soap = this; struct __ns1__GetCashReceiptList_ soap_tmp___ns1__GetCashReceiptList_; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/GetCashReceiptList"; soap->encodingStyle = NULL; soap_tmp___ns1__GetCashReceiptList_.ns1__GetCashReceiptList = ns1__GetCashReceiptList; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__GetCashReceiptList_(soap, &soap_tmp___ns1__GetCashReceiptList_); 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___ns1__GetCashReceiptList_(soap, &soap_tmp___ns1__GetCashReceiptList_, "-ns1:GetCashReceiptList", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__GetCashReceiptList_(soap, &soap_tmp___ns1__GetCashReceiptList_, "-ns1:GetCashReceiptList", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__GetCashReceiptListResponse) return soap_closesock(soap); ns1__GetCashReceiptListResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__GetCashReceiptListResponse->soap_get(soap, "ns1:GetCashReceiptListResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::ChargeForNeopleCoupon_(const char *endpoint, const char *soap_action, _ns1__ChargeForNeopleCoupon *ns1__ChargeForNeopleCoupon, _ns1__ChargeForNeopleCouponResponse *ns1__ChargeForNeopleCouponResponse) { struct soap *soap = this; struct __ns1__ChargeForNeopleCoupon_ soap_tmp___ns1__ChargeForNeopleCoupon_; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/ChargeForNeopleCoupon"; soap->encodingStyle = NULL; soap_tmp___ns1__ChargeForNeopleCoupon_.ns1__ChargeForNeopleCoupon = ns1__ChargeForNeopleCoupon; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__ChargeForNeopleCoupon_(soap, &soap_tmp___ns1__ChargeForNeopleCoupon_); 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___ns1__ChargeForNeopleCoupon_(soap, &soap_tmp___ns1__ChargeForNeopleCoupon_, "-ns1:ChargeForNeopleCoupon", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__ChargeForNeopleCoupon_(soap, &soap_tmp___ns1__ChargeForNeopleCoupon_, "-ns1:ChargeForNeopleCoupon", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__ChargeForNeopleCouponResponse) return soap_closesock(soap); ns1__ChargeForNeopleCouponResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__ChargeForNeopleCouponResponse->soap_get(soap, "ns1:ChargeForNeopleCouponResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::UsageCancelForLunia_(const char *endpoint, const char *soap_action, _ns1__UsageCancelForLunia *ns1__UsageCancelForLunia, _ns1__UsageCancelForLuniaResponse *ns1__UsageCancelForLuniaResponse) { struct soap *soap = this; struct __ns1__UsageCancelForLunia_ soap_tmp___ns1__UsageCancelForLunia_; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/UsageCancelForLunia"; soap->encodingStyle = NULL; soap_tmp___ns1__UsageCancelForLunia_.ns1__UsageCancelForLunia = ns1__UsageCancelForLunia; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__UsageCancelForLunia_(soap, &soap_tmp___ns1__UsageCancelForLunia_); 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___ns1__UsageCancelForLunia_(soap, &soap_tmp___ns1__UsageCancelForLunia_, "-ns1:UsageCancelForLunia", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__UsageCancelForLunia_(soap, &soap_tmp___ns1__UsageCancelForLunia_, "-ns1:UsageCancelForLunia", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__UsageCancelForLuniaResponse) return soap_closesock(soap); ns1__UsageCancelForLuniaResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__UsageCancelForLuniaResponse->soap_get(soap, "ns1:UsageCancelForLuniaResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::UsageCancel_(const char *endpoint, const char *soap_action, _ns1__UsageCancel *ns1__UsageCancel, _ns1__UsageCancelResponse *ns1__UsageCancelResponse) { struct soap *soap = this; struct __ns1__UsageCancel_ soap_tmp___ns1__UsageCancel_; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/UsageCancel"; soap->encodingStyle = NULL; soap_tmp___ns1__UsageCancel_.ns1__UsageCancel = ns1__UsageCancel; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__UsageCancel_(soap, &soap_tmp___ns1__UsageCancel_); 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___ns1__UsageCancel_(soap, &soap_tmp___ns1__UsageCancel_, "-ns1:UsageCancel", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__UsageCancel_(soap, &soap_tmp___ns1__UsageCancel_, "-ns1:UsageCancel", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__UsageCancelResponse) return soap_closesock(soap); ns1__UsageCancelResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__UsageCancelResponse->soap_get(soap, "ns1:UsageCancelResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::UsageCancelByUsageSn_(const char *endpoint, const char *soap_action, _ns1__UsageCancelByUsageSn *ns1__UsageCancelByUsageSn, _ns1__UsageCancelByUsageSnResponse *ns1__UsageCancelByUsageSnResponse) { struct soap *soap = this; struct __ns1__UsageCancelByUsageSn_ soap_tmp___ns1__UsageCancelByUsageSn_; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/UsageCancelByUsageSn"; soap->encodingStyle = NULL; soap_tmp___ns1__UsageCancelByUsageSn_.ns1__UsageCancelByUsageSn = ns1__UsageCancelByUsageSn; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__UsageCancelByUsageSn_(soap, &soap_tmp___ns1__UsageCancelByUsageSn_); 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___ns1__UsageCancelByUsageSn_(soap, &soap_tmp___ns1__UsageCancelByUsageSn_, "-ns1:UsageCancelByUsageSn", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__UsageCancelByUsageSn_(soap, &soap_tmp___ns1__UsageCancelByUsageSn_, "-ns1:UsageCancelByUsageSn", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__UsageCancelByUsageSnResponse) return soap_closesock(soap); ns1__UsageCancelByUsageSnResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__UsageCancelByUsageSnResponse->soap_get(soap, "ns1:UsageCancelByUsageSnResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::GetPurchaseAmount_(const char *endpoint, const char *soap_action, _ns1__GetPurchaseAmount *ns1__GetPurchaseAmount, _ns1__GetPurchaseAmountResponse *ns1__GetPurchaseAmountResponse) { struct soap *soap = this; struct __ns1__GetPurchaseAmount_ soap_tmp___ns1__GetPurchaseAmount_; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/GetPurchaseAmount"; soap->encodingStyle = NULL; soap_tmp___ns1__GetPurchaseAmount_.ns1__GetPurchaseAmount = ns1__GetPurchaseAmount; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__GetPurchaseAmount_(soap, &soap_tmp___ns1__GetPurchaseAmount_); 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___ns1__GetPurchaseAmount_(soap, &soap_tmp___ns1__GetPurchaseAmount_, "-ns1:GetPurchaseAmount", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__GetPurchaseAmount_(soap, &soap_tmp___ns1__GetPurchaseAmount_, "-ns1:GetPurchaseAmount", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__GetPurchaseAmountResponse) return soap_closesock(soap); ns1__GetPurchaseAmountResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__GetPurchaseAmountResponse->soap_get(soap, "ns1:GetPurchaseAmountResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::UsageRollback_(const char *endpoint, const char *soap_action, _ns1__UsageRollback *ns1__UsageRollback, _ns1__UsageRollbackResponse *ns1__UsageRollbackResponse) { struct soap *soap = this; struct __ns1__UsageRollback_ soap_tmp___ns1__UsageRollback_; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/UsageRollback"; soap->encodingStyle = NULL; soap_tmp___ns1__UsageRollback_.ns1__UsageRollback = ns1__UsageRollback; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__UsageRollback_(soap, &soap_tmp___ns1__UsageRollback_); 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___ns1__UsageRollback_(soap, &soap_tmp___ns1__UsageRollback_, "-ns1:UsageRollback", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__UsageRollback_(soap, &soap_tmp___ns1__UsageRollback_, "-ns1:UsageRollback", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__UsageRollbackResponse) return soap_closesock(soap); ns1__UsageRollbackResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__UsageRollbackResponse->soap_get(soap, "ns1:UsageRollbackResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::RequestEventCharge_(const char *endpoint, const char *soap_action, _ns1__RequestEventCharge *ns1__RequestEventCharge, _ns1__RequestEventChargeResponse *ns1__RequestEventChargeResponse) { struct soap *soap = this; struct __ns1__RequestEventCharge_ soap_tmp___ns1__RequestEventCharge_; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/RequestEventCharge"; soap->encodingStyle = NULL; soap_tmp___ns1__RequestEventCharge_.ns1__RequestEventCharge = ns1__RequestEventCharge; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__RequestEventCharge_(soap, &soap_tmp___ns1__RequestEventCharge_); 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___ns1__RequestEventCharge_(soap, &soap_tmp___ns1__RequestEventCharge_, "-ns1:RequestEventCharge", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__RequestEventCharge_(soap, &soap_tmp___ns1__RequestEventCharge_, "-ns1:RequestEventCharge", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__RequestEventChargeResponse) return soap_closesock(soap); ns1__RequestEventChargeResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__RequestEventChargeResponse->soap_get(soap, "ns1:RequestEventChargeResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::ApprovalCashChange_(const char *endpoint, const char *soap_action, _ns1__ApprovalCashChange *ns1__ApprovalCashChange, _ns1__ApprovalCashChangeResponse *ns1__ApprovalCashChangeResponse) { struct soap *soap = this; struct __ns1__ApprovalCashChange_ soap_tmp___ns1__ApprovalCashChange_; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/ApprovalCashChange"; soap->encodingStyle = NULL; soap_tmp___ns1__ApprovalCashChange_.ns1__ApprovalCashChange = ns1__ApprovalCashChange; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__ApprovalCashChange_(soap, &soap_tmp___ns1__ApprovalCashChange_); 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___ns1__ApprovalCashChange_(soap, &soap_tmp___ns1__ApprovalCashChange_, "-ns1:ApprovalCashChange", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__ApprovalCashChange_(soap, &soap_tmp___ns1__ApprovalCashChange_, "-ns1:ApprovalCashChange", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__ApprovalCashChangeResponse) return soap_closesock(soap); ns1__ApprovalCashChangeResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__ApprovalCashChangeResponse->soap_get(soap, "ns1:ApprovalCashChangeResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::UseCoupon_(const char *endpoint, const char *soap_action, _ns1__UseCoupon *ns1__UseCoupon, _ns1__UseCouponResponse *ns1__UseCouponResponse) { struct soap *soap = this; struct __ns1__UseCoupon_ soap_tmp___ns1__UseCoupon_; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/UseCoupon"; soap->encodingStyle = NULL; soap_tmp___ns1__UseCoupon_.ns1__UseCoupon = ns1__UseCoupon; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__UseCoupon_(soap, &soap_tmp___ns1__UseCoupon_); 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___ns1__UseCoupon_(soap, &soap_tmp___ns1__UseCoupon_, "-ns1:UseCoupon", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__UseCoupon_(soap, &soap_tmp___ns1__UseCoupon_, "-ns1:UseCoupon", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__UseCouponResponse) return soap_closesock(soap); ns1__UseCouponResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__UseCouponResponse->soap_get(soap, "ns1:UseCouponResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::GetRemainAmount_(const char *endpoint, const char *soap_action, _ns1__GetRemainAmount *ns1__GetRemainAmount, _ns1__GetRemainAmountResponse *ns1__GetRemainAmountResponse) { struct soap *soap = this; struct __ns1__GetRemainAmount_ soap_tmp___ns1__GetRemainAmount_; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/GetRemainAmount"; soap->encodingStyle = NULL; soap_tmp___ns1__GetRemainAmount_.ns1__GetRemainAmount = ns1__GetRemainAmount; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__GetRemainAmount_(soap, &soap_tmp___ns1__GetRemainAmount_); 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___ns1__GetRemainAmount_(soap, &soap_tmp___ns1__GetRemainAmount_, "-ns1:GetRemainAmount", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__GetRemainAmount_(soap, &soap_tmp___ns1__GetRemainAmount_, "-ns1:GetRemainAmount", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__GetRemainAmountResponse) return soap_closesock(soap); ns1__GetRemainAmountResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__GetRemainAmountResponse->soap_get(soap, "ns1:GetRemainAmountResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::GetPurseWithGameCash_(const char *endpoint, const char *soap_action, _ns1__GetPurseWithGameCash *ns1__GetPurseWithGameCash, _ns1__GetPurseWithGameCashResponse *ns1__GetPurseWithGameCashResponse) { struct soap *soap = this; struct __ns1__GetPurseWithGameCash_ soap_tmp___ns1__GetPurseWithGameCash_; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/GetPurseWithGameCash"; soap->encodingStyle = NULL; soap_tmp___ns1__GetPurseWithGameCash_.ns1__GetPurseWithGameCash = ns1__GetPurseWithGameCash; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__GetPurseWithGameCash_(soap, &soap_tmp___ns1__GetPurseWithGameCash_); 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___ns1__GetPurseWithGameCash_(soap, &soap_tmp___ns1__GetPurseWithGameCash_, "-ns1:GetPurseWithGameCash", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__GetPurseWithGameCash_(soap, &soap_tmp___ns1__GetPurseWithGameCash_, "-ns1:GetPurseWithGameCash", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__GetPurseWithGameCashResponse) return soap_closesock(soap); ns1__GetPurseWithGameCashResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__GetPurseWithGameCashResponse->soap_get(soap, "ns1:GetPurseWithGameCashResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::ChargeGameCash_(const char *endpoint, const char *soap_action, _ns1__ChargeGameCash *ns1__ChargeGameCash, _ns1__ChargeGameCashResponse *ns1__ChargeGameCashResponse) { struct soap *soap = this; struct __ns1__ChargeGameCash_ soap_tmp___ns1__ChargeGameCash_; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/ChargeGameCash"; soap->encodingStyle = NULL; soap_tmp___ns1__ChargeGameCash_.ns1__ChargeGameCash = ns1__ChargeGameCash; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__ChargeGameCash_(soap, &soap_tmp___ns1__ChargeGameCash_); 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___ns1__ChargeGameCash_(soap, &soap_tmp___ns1__ChargeGameCash_, "-ns1:ChargeGameCash", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__ChargeGameCash_(soap, &soap_tmp___ns1__ChargeGameCash_, "-ns1:ChargeGameCash", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__ChargeGameCashResponse) return soap_closesock(soap); ns1__ChargeGameCashResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__ChargeGameCashResponse->soap_get(soap, "ns1:ChargeGameCashResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } int NexonCashSoapProxy::SetUserMappingData_(const char *endpoint, const char *soap_action, _ns1__SetUserMappingData *ns1__SetUserMappingData, _ns1__SetUserMappingDataResponse *ns1__SetUserMappingDataResponse) { struct soap *soap = this; struct __ns1__SetUserMappingData_ soap_tmp___ns1__SetUserMappingData_; if (endpoint) soap_endpoint = endpoint; if (soap_endpoint == NULL) soap_endpoint = "http://127.0.0.1/remoting_version_2/Nexoncash.asmx"; if (soap_action == NULL) soap_action = "http://127.0.0.1/remoting_version_2/SetUserMappingData"; soap->encodingStyle = NULL; soap_tmp___ns1__SetUserMappingData_.ns1__SetUserMappingData = ns1__SetUserMappingData; soap_begin(soap); soap_serializeheader(soap); soap_serialize___ns1__SetUserMappingData_(soap, &soap_tmp___ns1__SetUserMappingData_); 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___ns1__SetUserMappingData_(soap, &soap_tmp___ns1__SetUserMappingData_, "-ns1:SetUserMappingData", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap)) return soap->error; } if (soap_end_count(soap)) return soap->error; if (soap_connect(soap, soap_url(soap, soap_endpoint, NULL), soap_action) || soap_envelope_begin_out(soap) || soap_putheader(soap) || soap_body_begin_out(soap) || soap_put___ns1__SetUserMappingData_(soap, &soap_tmp___ns1__SetUserMappingData_, "-ns1:SetUserMappingData", NULL) || soap_body_end_out(soap) || soap_envelope_end_out(soap) || soap_end_send(soap)) return soap_closesock(soap); if (!ns1__SetUserMappingDataResponse) return soap_closesock(soap); ns1__SetUserMappingDataResponse->soap_default(soap); if (soap_begin_recv(soap) || soap_envelope_begin_in(soap) || soap_recv_header(soap) || soap_body_begin_in(soap)) return soap_closesock(soap); ns1__SetUserMappingDataResponse->soap_get(soap, "ns1:SetUserMappingDataResponse", ""); if (soap->error) return soap_recv_fault(soap, 0); if (soap_body_end_in(soap) || soap_envelope_end_in(soap) || soap_end_recv(soap)) return soap_closesock(soap); return soap_closesock(soap); } /* End of client proxy code */