This commit is contained in:
2020-02-05 06:09:09 -05:00
parent d3ccc39e57
commit fb5c9b7709
35 changed files with 3740 additions and 2793 deletions
@@ -14,13 +14,13 @@ Dear {{firstname}},
</td></tr><tr><td>
Welcome to {{site_name}}!. In order to complete your registration , click or copy the link below into the browser to set your password.
</td></tr><tr><td style="height:20px; background-color:#CEF6E3">
Click Link : https://{{server_name}}/vemail.html?vlnk={{verify_link}}
Click Link : https://{{server_name}}/vemail?vlnk={{verify_link}}
<br></td></tr><tr><td>
{{site_name}} gives empowers you to form, find and join one or more groups. As a group member you will receive the benefit of wholesale prices on leading brands from reputable sellers on the purchases you need for your home, your business or your life!
</td></tr><tr><td>
</td></tr><tr><td>
Get in touch if you need further support at http://{{server_name}}/contact.html?vlnk=PLK-000634115584-000836017814-000634115584
Get in touch if you need further support at https://{{server_name}}/contact?vlnk=PLK-000634115584-000836017814-000634115584
</td></tr><tr><td>
{{site_name}} Team
</td></tr><tr><td>
+12 -2
View File
@@ -17,12 +17,22 @@ database:
};
mailsend:
{
from = "savvy@chiefsoft.com";
server = "smtp.google.com";
domain = "chiefsoft.com";
user = "savvy@chiefsoft.com";
pass = "may12002!";
name = "CoreGrade Beta";
};
mailsendBAK:
{
from = "demo@coregrade.com";
server = "virtualmail.chiefsoft.com";
domain = "coregrade.com";
user = "demo@coregrade.com";
pass = "demo001";
user = "support@coregrade.com";
pass = "may12002!x";
name = "CoreGrade Support";
};
+2 -2
View File
@@ -2,8 +2,8 @@ srcdir = /home/oameye/coregrade/coregrade/src
builddir = /home/oameye/coregrade/coregrade/src
top_srcdir = /home/oameye/coregrade/coregrade/src
top_builddir = /home/oameye/coregrade/coregrade/src
EGREP = /bin/grep -E
SED = /bin/sed
EGREP = /usr/bin/grep -E
SED = /usr/bin/sed
CONFIGURE_COMMAND = './configure' '--enable-coregrade_api'
CONFIGURE_OPTIONS = '--enable-coregrade_api'
SHLIB_SUFFIX_NAME = so
+39 -40
View File
@@ -28,7 +28,6 @@ uname -v = #1 SMP Fri Dec 6 15:49:49 UTC 2019
/bin/universe = unknown
PATH: /usr/local/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/local/sbin
PATH: /usr/sbin
@@ -41,13 +40,13 @@ PATH: /home/oameye/bin
## ----------- ##
configure:2209: checking for grep that handles long lines and -e
configure:2267: result: /bin/grep
configure:2267: result: /usr/bin/grep
configure:2272: checking for egrep
configure:2334: result: /bin/grep -E
configure:2334: result: /usr/bin/grep -E
configure:2339: checking for a sed that does not truncate output
configure:2403: result: /bin/sed
configure:2403: result: /usr/bin/sed
configure:2537: checking for cc
configure:2553: found /bin/cc
configure:2553: found /usr/bin/cc
configure:2564: result: cc
configure:2595: checking for C compiler version
configure:2604: cc --version >&5
@@ -206,12 +205,12 @@ configure:3838: checking for re2c
configure:3868: result: no
configure:3893: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
configure:3907: checking for gawk
configure:3924: found /bin/gawk
configure:3924: found /usr/bin/gawk
configure:3935: result: gawk
configure:3978: checking Whether to enable the "coregrade_api" extension
configure:4017: result: yes, shared
configure:4084: checking for g++
configure:4100: found /bin/g++
configure:4100: found /usr/bin/g++
configure:4111: result: g++
configure:4138: checking for C++ compiler version
configure:4147: g++ --version >&5
@@ -289,18 +288,18 @@ configure: failed program was:
configure:5112: checking how to print strings
configure:5139: result: printf
configure:5160: checking for a sed that does not truncate output
configure:5224: result: /bin/sed
configure:5224: result: /usr/bin/sed
configure:5242: checking for fgrep
configure:5304: result: /bin/grep -F
configure:5304: result: /usr/bin/grep -F
configure:5339: checking for ld used by cc
configure:5406: result: /bin/ld
configure:5413: checking if the linker (/bin/ld) is GNU ld
configure:5406: result: /usr/bin/ld
configure:5413: checking if the linker (/usr/bin/ld) is GNU ld
configure:5428: result: yes
configure:5440: checking for BSD- or MS-compatible name lister (nm)
configure:5489: result: /bin/nm -B
configure:5619: checking the name lister (/bin/nm -B) interface
configure:5489: result: /usr/bin/nm -B
configure:5619: checking the name lister (/usr/bin/nm -B) interface
configure:5626: cc -c -g -O2 conftest.c >&5
configure:5629: /bin/nm -B "conftest.o"
configure:5629: /usr/bin/nm -B "conftest.o"
configure:5632: output
0000000000000000 B some_variable
configure:5639: result: BSD nm
@@ -316,10 +315,10 @@ configure:5856: checking how to convert x86_64-unknown-linux-gnu file names to x
configure:5896: result: func_convert_file_noop
configure:5903: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format
configure:5923: result: func_convert_file_noop
configure:5930: checking for /bin/ld option to reload object files
configure:5930: checking for /usr/bin/ld option to reload object files
configure:5937: result: -r
configure:6011: checking for objdump
configure:6027: found /bin/objdump
configure:6027: found /usr/bin/objdump
configure:6038: result: objdump
configure:6070: checking how to recognize dependent libraries
configure:6272: result: pass_all
@@ -328,7 +327,7 @@ configure:6387: result: no
configure:6417: checking how to associate runtime and link libraries
configure:6444: result: printf %s\n
configure:6504: checking for ar
configure:6520: found /bin/ar
configure:6520: found /usr/bin/ar
configure:6531: result: ar
configure:6568: checking for archiver @FILE support
configure:6585: cc -c -g -O2 conftest.c >&5
@@ -340,17 +339,17 @@ ar: conftest.o: No such file or directory
configure:6599: $? = 1
configure:6611: result: @
configure:6669: checking for strip
configure:6685: found /bin/strip
configure:6685: found /usr/bin/strip
configure:6696: result: strip
configure:6768: checking for ranlib
configure:6784: found /bin/ranlib
configure:6784: found /usr/bin/ranlib
configure:6795: result: ranlib
configure:6872: checking for gawk
configure:6899: result: gawk
configure:6939: checking command to parse /bin/nm -B output from cc object
configure:6939: checking command to parse /usr/bin/nm -B output from cc object
configure:7059: cc -c -g -O2 conftest.c >&5
configure:7062: $? = 0
configure:7066: /bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:7066: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:7069: $? = 0
configure:7135: cc -o conftest -g -O2 -Wl,-rpath,/home/oameye/coregrade/coregrade/src/libconfig-1.3.1/.libs/ -L/home/oameye/coregrade/coregrade/src/libconfig-1.3.1/.libs/ conftest.c conftstm.o >&5
configure:7138: $? = 0
@@ -433,12 +432,12 @@ configure:9343: $? = 0
configure:9365: result: yes
configure:9373: checking if cc supports -c -o file.o
configure:9420: result: yes
configure:9453: checking whether the cc linker (/bin/ld -m elf_x86_64) supports shared libraries
configure:9453: checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
configure:10606: result: yes
configure:10643: checking whether -lc should be explicitly linked in
configure:10651: cc -c -g -O2 conftest.c >&5
configure:10654: $? = 0
configure:10669: cc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1
configure:10669: cc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep -lc \>/dev/null 2\>\&1
configure:10672: $? = 0
configure:10686: result: no
configure:10846: checking dynamic linker characteristics
@@ -489,10 +488,10 @@ configure: failed program was:
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:12620: checking for ld used by g++
configure:12687: result: /bin/ld -m elf_x86_64
configure:12694: checking if the linker (/bin/ld -m elf_x86_64) is GNU ld
configure:12687: result: /usr/bin/ld -m elf_x86_64
configure:12694: checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld
configure:12709: result: yes
configure:12764: checking whether the g++ linker (/bin/ld -m elf_x86_64) supports shared libraries
configure:12764: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
configure:13769: result: yes
configure:13805: g++ -c -g -O2 conftest.cpp >&5
configure:13808: $? = 0
@@ -510,7 +509,7 @@ configure:14466: $? = 0
configure:14488: result: yes
configure:14493: checking if g++ supports -c -o file.o
configure:14540: result: yes
configure:14570: checking whether the g++ linker (/bin/ld -m elf_x86_64) supports shared libraries
configure:14570: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
configure:14606: result: yes
configure:14747: checking dynamic linker characteristics
configure:15418: result: GNU/Linux ld.so
@@ -583,10 +582,10 @@ ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_FGREP='/bin/grep -F'
ac_cv_path_GREP=/bin/grep
ac_cv_path_SED=/bin/sed
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_FGREP='/usr/bin/grep -F'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_SED=/usr/bin/sed
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='cc -E'
ac_cv_prog_CXXCPP='g++ -E'
@@ -609,9 +608,9 @@ lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/bin/ld
lt_cv_path_LDCXX='/bin/ld -m elf_x86_64'
lt_cv_path_NM='/bin/nm -B'
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_LDCXX='/usr/bin/ld -m elf_x86_64'
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_c_o_CXX=yes
@@ -658,11 +657,11 @@ DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EGREP='/usr/bin/grep -E'
EXEEXT=''
FGREP='/bin/grep -F'
GREP='/bin/grep'
LD='/bin/ld -m elf_x86_64'
FGREP='/usr/bin/grep -F'
GREP='/usr/bin/grep'
LD='/usr/bin/ld -m elf_x86_64'
LDFLAGS=' -Wl,-rpath,/home/oameye/coregrade/coregrade/src/libconfig-1.3.1/.libs/ -L/home/oameye/coregrade/coregrade/src/libconfig-1.3.1/.libs/'
LIBOBJS=''
LIBS='-lconfig++ -lstdc++ '
@@ -671,7 +670,7 @@ LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
MANIFEST_TOOL=':'
NM='/bin/nm -B'
NM='/usr/bin/nm -B'
NMEDIT=''
OBJDUMP='objdump'
OBJEXT='o'
@@ -686,7 +685,7 @@ PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB='ranlib'
RE2C='exit 0;'
SED='/bin/sed'
SED='/usr/bin/sed'
SHELL='/bin/sh'
SHLIB_DL_SUFFIX_NAME='so'
SHLIB_SUFFIX_NAME='so'
+8 -8
View File
@@ -547,13 +547,13 @@ host_os='linux-gnu'
build_alias=''
build='x86_64-unknown-linux-gnu'
build_os='linux-gnu'
SED='/bin/sed'
Xsed='/bin/sed -e 1s/^X//'
GREP='/bin/grep'
EGREP='/bin/grep -E'
FGREP='/bin/grep -F'
LD='/bin/ld -m elf_x86_64'
NM='/bin/nm -B'
SED='/usr/bin/sed'
Xsed='/usr/bin/sed -e 1s/^X//'
GREP='/usr/bin/grep'
EGREP='/usr/bin/grep -E'
FGREP='/usr/bin/grep -F'
LD='/usr/bin/ld -m elf_x86_64'
NM='/usr/bin/nm -B'
LN_S='ln -s'
max_cmd_len='1572864'
ac_objext='o'
@@ -671,7 +671,7 @@ postdep_objects=''
predeps=''
postdeps=''
compiler_lib_search_path=''
LD_CXX='/bin/ld -m elf_x86_64'
LD_CXX='/usr/bin/ld -m elf_x86_64'
reload_flag_CXX=' -r'
reload_cmds_CXX='$LD$reload_flag -o $output$reload_objs'
old_archive_cmds_CXX='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $tool_oldlib'
File diff suppressed because it is too large Load Diff
+76 -7
View File
@@ -1,8 +1,11 @@
/* paylidStub.h
Generated by gSOAP 2.7.16 from PaylidService.h
Copyright(C) 2000-2010, Robert van Engelen, Genivia Inc. All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for commercial use.
Generated by gSOAP 2.8.16 from PaylidService.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.
*/
#ifndef paylidStub_H
@@ -16,6 +19,10 @@
#define WITH_NOGLOBAL
#endif
#include "stdsoap2.h"
#if GSOAP_VERSION != 20816
# error "GSOAP VERSION MISMATCH IN GENERATED CODE: PLEASE REINSTALL PACKAGE"
#endif
namespace paylid {
@@ -40,11 +47,11 @@ namespace paylid {
\******************************************************************************/
#if 0 /* volatile type: do not redeclare here */
#if 0 /* volatile type: do not declare here, declared elsewhere */
#endif
#if 0 /* volatile type: do not redeclare here */
#if 0 /* volatile type: do not declare here, declared elsewhere */
#endif
@@ -57,6 +64,8 @@ public:
std::string Code; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:string */
std::string Data; /* required element of type xsd:string */
std::string Hmac; /* required element of type xsd:string */
public:
int soap_type() const { return 8; } /* = unique id SOAP_TYPE_paylid_paylid__getAccountBalanceResponse */
};
#endif
@@ -68,6 +77,8 @@ struct paylid__getAccountBalance
public:
std::string terminalID; /* required element of type xsd:string */
std::string hmac; /* required element of type xsd:string */
public:
int soap_type() const { return 12; } /* = unique id SOAP_TYPE_paylid_paylid__getAccountBalance */
};
#endif
@@ -80,6 +91,8 @@ public:
std::string Code; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:string */
std::string Data; /* required element of type xsd:string */
std::string Hmac; /* required element of type xsd:string */
public:
int soap_type() const { return 13; } /* = unique id SOAP_TYPE_paylid_paylid__transferFundResponse */
};
#endif
@@ -92,6 +105,8 @@ public:
std::string terminalID; /* required element of type xsd:string */
std::string toDestination; /* required element of type xsd:string */
std::string hmac; /* required element of type xsd:string */
public:
int soap_type() const { return 16; } /* = unique id SOAP_TYPE_paylid_paylid__transferFund */
};
#endif
@@ -104,6 +119,8 @@ public:
std::string Code; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:string */
std::string Data; /* required element of type xsd:string */
std::string Hmac; /* required element of type xsd:string */
public:
int soap_type() const { return 17; } /* = unique id SOAP_TYPE_paylid_paylid__checkTransferStatusResponse */
};
#endif
@@ -116,6 +133,8 @@ public:
std::string terminalID; /* required element of type xsd:string */
std::string transactionRef; /* required element of type xsd:string */
std::string hmac; /* required element of type xsd:string */
public:
int soap_type() const { return 20; } /* = unique id SOAP_TYPE_paylid_paylid__checkTransferStatus */
};
#endif
@@ -128,6 +147,8 @@ public:
std::string Code; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:string */
std::string Data; /* required element of type xsd:string */
std::string Hmac; /* required element of type xsd:string */
public:
int soap_type() const { return 21; } /* = unique id SOAP_TYPE_paylid_paylid__directAirTimeTopUpResponse */
};
#endif
@@ -140,6 +161,8 @@ public:
std::string terminalID; /* required element of type xsd:string */
std::string topupData; /* required element of type xsd:string */
std::string hmac; /* required element of type xsd:string */
public:
int soap_type() const { return 24; } /* = unique id SOAP_TYPE_paylid_paylid__directAirTimeTopUp */
};
#endif
@@ -152,6 +175,8 @@ public:
std::string Code; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:string */
std::string Data; /* required element of type xsd:string */
std::string Hmac; /* required element of type xsd:string */
public:
int soap_type() const { return 25; } /* = unique id SOAP_TYPE_paylid_paylid__currentXrateResponse */
};
#endif
@@ -164,6 +189,8 @@ public:
std::string terminalID; /* required element of type xsd:string */
std::string topupData; /* required element of type xsd:string */
std::string hmac; /* required element of type xsd:string */
public:
int soap_type() const { return 28; } /* = unique id SOAP_TYPE_paylid_paylid__currentXrate */
};
#endif
@@ -176,6 +203,8 @@ public:
std::string Code; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:string */
std::string Data; /* required element of type xsd:string */
std::string Hmac; /* required element of type xsd:string */
public:
int soap_type() const { return 29; } /* = unique id SOAP_TYPE_paylid_paylid__getAccountResponse */
};
#endif
@@ -188,6 +217,8 @@ public:
std::string terminalID; /* required element of type xsd:string */
std::string topupData; /* required element of type xsd:string */
std::string hmac; /* required element of type xsd:string */
public:
int soap_type() const { return 32; } /* = unique id SOAP_TYPE_paylid_paylid__getAccount */
};
#endif
@@ -200,6 +231,8 @@ public:
std::string Code; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:string */
std::string Data; /* required element of type xsd:string */
std::string Hmac; /* required element of type xsd:string */
public:
int soap_type() const { return 33; } /* = unique id SOAP_TYPE_paylid_paylid__getTrxStatusResponse */
};
#endif
@@ -212,6 +245,8 @@ public:
std::string terminalID; /* required element of type xsd:string */
std::string topupData; /* required element of type xsd:string */
std::string hmac; /* required element of type xsd:string */
public:
int soap_type() const { return 36; } /* = unique id SOAP_TYPE_paylid_paylid__getTrxStatus */
};
#endif
@@ -224,6 +259,8 @@ public:
std::string Code; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:string */
std::string Data; /* required element of type xsd:string */
std::string Hmac; /* required element of type xsd:string */
public:
int soap_type() const { return 37; } /* = unique id SOAP_TYPE_paylid_paylid__getSupportedBanksResponse */
};
#endif
@@ -236,14 +273,20 @@ public:
std::string terminalID; /* required element of type xsd:string */
std::string topupData; /* required element of type xsd:string */
std::string hmac; /* required element of type xsd:string */
public:
int soap_type() const { return 40; } /* = unique id SOAP_TYPE_paylid_paylid__getSupportedBanks */
};
#endif
#ifndef WITH_NOGLOBAL
#ifndef SOAP_TYPE_paylid_SOAP_ENV__Header
#define SOAP_TYPE_paylid_SOAP_ENV__Header (41)
/* SOAP Header: */
struct SOAP_ENV__Header
{
public:
int soap_type() const { return 41; } /* = unique id SOAP_TYPE_paylid_SOAP_ENV__Header */
#ifdef WITH_NOEMPTYSTRUCT
private:
char dummy; /* dummy member to enable compilation */
@@ -251,6 +294,10 @@ private:
};
#endif
#endif
#ifndef WITH_NOGLOBAL
#ifndef SOAP_TYPE_paylid_SOAP_ENV__Code
#define SOAP_TYPE_paylid_SOAP_ENV__Code (42)
/* SOAP Fault Code: */
@@ -259,21 +306,33 @@ struct SOAP_ENV__Code
public:
char *SOAP_ENV__Value; /* optional element of type xsd:QName */
struct SOAP_ENV__Code *SOAP_ENV__Subcode; /* optional element of type SOAP-ENV:Code */
public:
int soap_type() const { return 42; } /* = unique id SOAP_TYPE_paylid_SOAP_ENV__Code */
};
#endif
#endif
#ifndef WITH_NOGLOBAL
#ifndef SOAP_TYPE_paylid_SOAP_ENV__Detail
#define SOAP_TYPE_paylid_SOAP_ENV__Detail (44)
/* SOAP-ENV:Detail */
struct SOAP_ENV__Detail
{
public:
char *__any;
int __type; /* any type of element <fault> (defined below) */
void *fault; /* transient */
char *__any;
public:
int soap_type() const { return 44; } /* = unique id SOAP_TYPE_paylid_SOAP_ENV__Detail */
};
#endif
#endif
#ifndef WITH_NOGLOBAL
#ifndef SOAP_TYPE_paylid_SOAP_ENV__Reason
#define SOAP_TYPE_paylid_SOAP_ENV__Reason (47)
/* SOAP-ENV:Reason */
@@ -281,9 +340,15 @@ struct SOAP_ENV__Reason
{
public:
char *SOAP_ENV__Text; /* optional element of type xsd:string */
public:
int soap_type() const { return 47; } /* = unique id SOAP_TYPE_paylid_SOAP_ENV__Reason */
};
#endif
#endif
#ifndef WITH_NOGLOBAL
#ifndef SOAP_TYPE_paylid_SOAP_ENV__Fault
#define SOAP_TYPE_paylid_SOAP_ENV__Fault (48)
/* SOAP Fault: */
@@ -299,9 +364,13 @@ public:
char *SOAP_ENV__Node; /* optional element of type xsd:string */
char *SOAP_ENV__Role; /* optional element of type xsd:string */
struct SOAP_ENV__Detail *SOAP_ENV__Detail; /* optional element of type SOAP-ENV:Detail */
public:
int soap_type() const { return 48; } /* = unique id SOAP_TYPE_paylid_SOAP_ENV__Fault */
};
#endif
#endif
/******************************************************************************\
* *
* Typedefs *
@@ -1,8 +1,11 @@
/* paylidpaylidwsdlBindingProxy.h
Generated by gSOAP 2.7.16 from PaylidService.h
Copyright(C) 2000-2010, Robert van Engelen, Genivia Inc. All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for commercial use.
Generated by gSOAP 2.8.16 from PaylidService.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.
*/
#ifndef paylidpaylidwsdlBindingProxy_H
@@ -17,60 +20,81 @@ class SOAP_CMAC paylidwsdlBindingProxy : public soap
const char *soap_endpoint;
/// Constructor
paylidwsdlBindingProxy();
/// Constructor with copy of another engine state
/// Construct from another engine state
paylidwsdlBindingProxy(const struct soap&);
/// Constructor with endpoint URL
paylidwsdlBindingProxy(const char *url);
/// Constructor with engine input+output mode control
paylidwsdlBindingProxy(soap_mode iomode);
/// Constructor with URL and input+output mode control
paylidwsdlBindingProxy(const char *url, soap_mode iomode);
/// Constructor with engine input and output mode control
paylidwsdlBindingProxy(soap_mode imode, soap_mode omode);
/// Destructor frees deserialized data
virtual ~paylidwsdlBindingProxy();
/// Initializer used by constructors
virtual void paylidwsdlBindingProxy_init(soap_mode imode, soap_mode omode);
/// Delete all deserialized data (uses soap_destroy and soap_end)
/// Delete all deserialized data (with soap_destroy and soap_end)
virtual void destroy();
/// Delete all deserialized data and reset to default
virtual void reset();
/// Disables and removes SOAP Header from message
virtual void soap_noheader();
/// Get SOAP Header structure (NULL when absent)
virtual const SOAP_ENV__Header *soap_header();
/// Get SOAP Fault structure (NULL when absent)
virtual const SOAP_ENV__Fault *soap_fault();
/// Get SOAP Fault string (NULL when absent)
virtual const char *soap_fault_string();
/// Get SOAP Fault detail as string (NULL when absent)
virtual const char *soap_fault_detail();
/// Force close connection (normally automatic, except for send_X ops)
/// Close connection (normally automatic, except for send_X ops)
virtual int soap_close_socket();
/// Force close connection (can kill a thread blocked on IO)
virtual int soap_force_close_socket();
/// Print fault
virtual void soap_print_fault(FILE*);
#ifndef WITH_LEAN
/// Print fault to stream
#ifndef WITH_COMPAT
virtual void soap_stream_fault(std::ostream&);
#endif
/// Put fault into buffer
virtual char *soap_sprint_fault(char *buf, size_t len);
#endif
/// Web service operation 'getAccountBalance' (returns error code or SOAP_OK)
virtual int getAccountBalance(std::string terminalID, std::string hmac, struct paylid__getAccountBalanceResponse &_param_1);
virtual int getAccountBalance(std::string terminalID, std::string hmac, struct paylid__getAccountBalanceResponse &_param_1) { return this->getAccountBalance(NULL, NULL, terminalID, hmac, _param_1); }
virtual int getAccountBalance(const char *endpoint, const char *soap_action, std::string terminalID, std::string hmac, struct paylid__getAccountBalanceResponse &_param_1);
/// Web service operation 'transferFund' (returns error code or SOAP_OK)
virtual int transferFund(std::string terminalID, std::string toDestination, std::string hmac, struct paylid__transferFundResponse &_param_2);
virtual int transferFund(std::string terminalID, std::string toDestination, std::string hmac, struct paylid__transferFundResponse &_param_2) { return this->transferFund(NULL, NULL, terminalID, toDestination, hmac, _param_2); }
virtual int transferFund(const char *endpoint, const char *soap_action, std::string terminalID, std::string toDestination, std::string hmac, struct paylid__transferFundResponse &_param_2);
/// Web service operation 'checkTransferStatus' (returns error code or SOAP_OK)
virtual int checkTransferStatus(std::string terminalID, std::string transactionRef, std::string hmac, struct paylid__checkTransferStatusResponse &_param_3);
virtual int checkTransferStatus(std::string terminalID, std::string transactionRef, std::string hmac, struct paylid__checkTransferStatusResponse &_param_3) { return this->checkTransferStatus(NULL, NULL, terminalID, transactionRef, hmac, _param_3); }
virtual int checkTransferStatus(const char *endpoint, const char *soap_action, std::string terminalID, std::string transactionRef, std::string hmac, struct paylid__checkTransferStatusResponse &_param_3);
/// Web service operation 'directAirTimeTopUp' (returns error code or SOAP_OK)
virtual int directAirTimeTopUp(std::string terminalID, std::string topupData, std::string hmac, struct paylid__directAirTimeTopUpResponse &_param_4);
virtual int directAirTimeTopUp(std::string terminalID, std::string topupData, std::string hmac, struct paylid__directAirTimeTopUpResponse &_param_4) { return this->directAirTimeTopUp(NULL, NULL, terminalID, topupData, hmac, _param_4); }
virtual int directAirTimeTopUp(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__directAirTimeTopUpResponse &_param_4);
/// Web service operation 'currentXrate' (returns error code or SOAP_OK)
virtual int currentXrate(std::string terminalID, std::string topupData, std::string hmac, struct paylid__currentXrateResponse &_param_5);
virtual int currentXrate(std::string terminalID, std::string topupData, std::string hmac, struct paylid__currentXrateResponse &_param_5) { return this->currentXrate(NULL, NULL, terminalID, topupData, hmac, _param_5); }
virtual int currentXrate(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__currentXrateResponse &_param_5);
/// Web service operation 'getAccount' (returns error code or SOAP_OK)
virtual int getAccount(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getAccountResponse &_param_6);
virtual int getAccount(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getAccountResponse &_param_6) { return this->getAccount(NULL, NULL, terminalID, topupData, hmac, _param_6); }
virtual int getAccount(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__getAccountResponse &_param_6);
/// Web service operation 'getTrxStatus' (returns error code or SOAP_OK)
virtual int getTrxStatus(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getTrxStatusResponse &_param_7);
virtual int getTrxStatus(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getTrxStatusResponse &_param_7) { return this->getTrxStatus(NULL, NULL, terminalID, topupData, hmac, _param_7); }
virtual int getTrxStatus(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__getTrxStatusResponse &_param_7);
/// Web service operation 'getSupportedBanks' (returns error code or SOAP_OK)
virtual int getSupportedBanks(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getSupportedBanksResponse &_param_8);
virtual int getSupportedBanks(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getSupportedBanksResponse &_param_8) { return this->getSupportedBanks(NULL, NULL, terminalID, topupData, hmac, _param_8); }
virtual int getSupportedBanks(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__getSupportedBanksResponse &_param_8);
};
} // namespace paylid
+7 -7
View File
@@ -75,22 +75,22 @@ build=x86_64-unknown-linux-gnu
build_os=linux-gnu
# A sed program that does not truncate output.
SED="/bin/sed"
SED="/usr/bin/sed"
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
Xsed="$SED -e 1s/^X//"
# A grep program that handles long lines.
GREP="/bin/grep"
GREP="/usr/bin/grep"
# An ERE matcher.
EGREP="/bin/grep -E"
EGREP="/usr/bin/grep -E"
# A literal string matcher.
FGREP="/bin/grep -F"
FGREP="/usr/bin/grep -F"
# A BSD- or MS-compatible name lister.
NM="/bin/nm -B"
NM="/usr/bin/nm -B"
# Whether we need soft or hard links.
LN_S="ln -s"
@@ -292,7 +292,7 @@ striplib="strip --strip-unneeded"
# The linker used to build libraries.
LD="/bin/ld -m elf_x86_64"
LD="/usr/bin/ld -m elf_x86_64"
# How to create reloadable object files.
reload_flag=" -r"
@@ -10093,7 +10093,7 @@ build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
# ### BEGIN LIBTOOL TAG CONFIG: CXX
# The linker used to build libraries.
LD="/bin/ld -m elf_x86_64"
LD="/usr/bin/ld -m elf_x86_64"
# How to create reloadable object files.
reload_flag=" -r"
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+301 -145
View File
@@ -1,41 +1,45 @@
namespace paylid {
// Reminder: Modify typemap.dat to customize the header file generated by wsdl2h
/* PaylidService.h
Generated by wsdl2h 1.2.16 from http://www.paylid.com/rsl/service.php?wsdl and typemap.dat
2020-01-09 17:52:18 GMT
Generated by wsdl2h 2.8.16 from http://www.paylid.com/rsl/service.php?wsdl and typemap.dat
2020-02-05 00:31:05 GMT
DO NOT INCLUDE THIS FILE DIRECTLY INTO YOUR PROJECT BUILDS
USE THE soapcpp2-GENERATED SOURCE CODE FILES FOR YOUR PROJECT BUILDS
gSOAP XML Web services tools.
Copyright (C) 2001-2010 Robert van Engelen, Genivia Inc. All Rights Reserved.
Copyright (C) 2000-2013 Robert van Engelen, Genivia Inc. All Rights Reserved.
Part of this software is released under one of the following licenses:
GPL or Genivia's license for commercial use.
*/
/** @page page_notes Build Notes
/** @page page_notes Usage Notes
NOTE:
- Run soapcpp2 on PaylidService.h to generate the SOAP/XML processing logic.
Use soapcpp2 option -I to specify paths for #import
Use soapcpp2 -I to specify paths for #import
To build with STL, 'stlvector.h' is imported from 'import' dir in package.
Use soapcpp2 option -i to generate improved proxy and server classes.
- Use wsdl2h options -c and -s to generate pure C code or C++ code without STL.
Use soapcpp2 -j to generate improved proxy and server classes.
- Use wsdl2h -c and -s to generate pure C code or C++ code without STL.
- Use 'typemap.dat' to control namespace bindings and type mappings.
It is strongly recommended to customize the names of the namespace prefixes
generated by wsdl2h. To do so, modify the prefix bindings in the Namespaces
section below and add the modified lines to 'typemap.dat' to rerun wsdl2h.
- Use Doxygen (www.doxygen.org) on this file to generate documentation.
- Use wsdl2h options -nname and -Nname to globally rename the prefix 'ns'.
- Use wsdl2h option -d to enable DOM support for xsd:anyType.
- Use wsdl2h option -g to auto-generate readers and writers for root elements.
- Use wsdl2h -R to generate REST operations.
- Use wsdl2h -nname to use name as the base namespace prefix instead of 'ns'.
- Use wsdl2h -Nname for service prefix and produce multiple service bindings
- Use wsdl2h -d to enable DOM support for xsd:anyType.
- Use wsdl2h -g to auto-generate readers and writers for root elements.
- Use wsdl2h -b to auto-generate bi-directional operations (duplex ops).
- Struct/class members serialized as XML attributes are annotated with a '@'.
- Struct/class members that have a special role are annotated with a '$'.
WARNING:
DO NOT INCLUDE THIS FILE DIRECTLY INTO YOUR PROJECT BUILDS.
USE THE SOURCE CODE FILES GENERATED BY soapcpp2 FOR YOUR PROJECT BUILDS:
DO NOT INCLUDE THIS ANNOTATED FILE DIRECTLY IN YOUR PROJECT SOURCE CODE.
USE THE FILES GENERATED BY soapcpp2 FOR YOUR PROJECT'S SOURCE CODE:
THE soapStub.h FILE CONTAINS THIS CONTENT WITHOUT ANNOTATIONS.
LICENSE:
@@ -43,12 +47,12 @@ LICENSE:
@verbatim
--------------------------------------------------------------------------------
gSOAP XML Web services tools
Copyright (C) 2000-2010, Robert van Engelen, Genivia Inc. All Rights Reserved.
Copyright (C) 2000-2013, Robert van Engelen, Genivia Inc. All Rights Reserved.
This software is released under one of the following two licenses:
1) GPL or 2) Genivia's license for commercial use.
This software is released under one of the following licenses:
GPL or Genivia's license for commercial use.
--------------------------------------------------------------------------------
1) GPL license.
GPL license.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -65,8 +69,11 @@ Place, Suite 330, Boston, MA 02111-1307 USA
Author contact information:
engelen@genivia.com / engelen@acm.org
This program is released under the GPL with the additional exemption that
compiling, linking, and/or using OpenSSL is allowed.
--------------------------------------------------------------------------------
2) A commercial-use license is available from Genivia, Inc., contact@genivia.com
A commercial-use license is available from Genivia, Inc., contact@genivia.com
--------------------------------------------------------------------------------
@endverbatim
@@ -177,13 +184,18 @@ paylid = "urn:paylidwsdl"
/** @mainpage Service Definitions
@section Service_bindings Service Bindings
- @ref paylidwsdlBinding
@section Service_more More Information
- @ref page_notes "Notes"
- @ref page_XMLDataBinding "XML Data Binding"
- @ref SOAP_ENV__Header "SOAP Header Content"
- @ref SOAP_ENV__Detail "SOAP Fault Detail Content" (when applicable)
- @ref page_notes "Usage Notes"
- @ref page_XMLDataBinding "XML Data Binding"
- @ref SOAP_ENV__Header "SOAP Header Content" (when applicable)
- @ref SOAP_ENV__Detail "SOAP Fault Detail Content" (when applicable)
*/
@@ -193,19 +205,27 @@ paylid = "urn:paylidwsdl"
@page paylidwsdlBinding Binding "paylidwsdlBinding"
@section paylidwsdlBinding_operations Operations of Binding "paylidwsdlBinding"
- @ref paylid__getAccountBalance
- @ref paylid__transferFund
- @ref paylid__checkTransferStatus
- @ref paylid__directAirTimeTopUp
- @ref paylid__currentXrate
- @ref paylid__getAccount
- @ref paylid__getTrxStatus
- @ref paylid__getSupportedBanks
@section paylidwsdlBinding_ports Endpoints of Binding "paylidwsdlBinding"
- https://www.paylid.com:443/rsl/service.php
Note: use wsdl2h option -N to change the service binding prefix name
*/
@@ -224,7 +244,7 @@ Note: use wsdl2h option -N to change the service binding prefix name
* *
\******************************************************************************/
/// Operation response struct "paylid__getAccountBalanceResponse" of service binding "paylidwsdlBinding" operation "paylid__getAccountBalance"
/// Operation response struct "paylid__getAccountBalanceResponse" of operation "paylid__getAccountBalance"
struct paylid__getAccountBalanceResponse
{
std::string Code;
@@ -237,10 +257,15 @@ struct paylid__getAccountBalanceResponse
/**
Operation details:
Gets account balance
- SOAP RPC encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
- SOAP action="urn:paylidwsdl#getAccountBalance"
- http://schemas.xmlsoap.org/soap/encoding/ RPC encodingStyle="SOAP"
- Action: "urn:paylidwsdl#getAccountBalance"
- Addressing input action: "urn:paylidwsdl#getAccountBalance"
- Addressing output action: "urn:paylidwsdl#getAccountBalanceResponse"
C stub function (defined in soapClient.c[pp] generated by soapcpp2):
@code
@@ -248,10 +273,10 @@ C stub function (defined in soapClient.c[pp] generated by soapcpp2):
struct soap *soap,
NULL, // char *endpoint = NULL selects default endpoint for this operation
NULL, // char *action = NULL selects default action for this operation
// request parameters:
// input parameters:
std::string terminalID,
std::string hmac,
// response parameters:
// output parameters:
struct paylid__getAccountBalanceResponse&
);
@endcode
@@ -260,10 +285,10 @@ C server function (called from the service dispatcher defined in soapServer.c[pp
@code
int paylid__getAccountBalance(
struct soap *soap,
// request parameters:
// input parameters:
std::string terminalID,
std::string hmac,
// response parameters:
// output parameters:
struct paylid__getAccountBalanceResponse&
);
@endcode
@@ -272,23 +297,25 @@ C++ proxy class (defined in soappaylidwsdlBindingProxy.h):
@code
class paylidwsdlBindingProxy;
@endcode
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use proxy classes;
Important: use soapcpp2 option '-j' (or '-i') to generate greatly improved and easy-to-use proxy classes;
C++ service class (defined in soappaylidwsdlBindingService.h):
@code
class paylidwsdlBindingService;
@endcode
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use service classes;
Important: use soapcpp2 option '-j' (or '-i') to generate greatly improved and easy-to-use service classes;
*/
//gsoap paylid service method-protocol: getAccountBalance SOAP
//gsoap paylid service method-style: getAccountBalance rpc
//gsoap paylid service method-encoding: getAccountBalance http://schemas.xmlsoap.org/soap/encoding/
//gsoap paylid service method-action: getAccountBalance urn:paylidwsdl#getAccountBalance
//gsoap paylid service method-input-action: getAccountBalance urn:paylidwsdl#getAccountBalance
//gsoap paylid service method-output-action: getAccountBalance urn:paylidwsdl#getAccountBalanceResponse
int paylid__getAccountBalance(
std::string terminalID, ///< Request parameter
std::string hmac, ///< Request parameter
struct paylid__getAccountBalanceResponse& ///< Response struct parameter
std::string terminalID, ///< Input parameter
std::string hmac, ///< Input parameter
struct paylid__getAccountBalanceResponse& ///< Output response struct parameter
);
/******************************************************************************\
@@ -298,7 +325,7 @@ int paylid__getAccountBalance(
* *
\******************************************************************************/
/// Operation response struct "paylid__transferFundResponse" of service binding "paylidwsdlBinding" operation "paylid__transferFund"
/// Operation response struct "paylid__transferFundResponse" of operation "paylid__transferFund"
struct paylid__transferFundResponse
{
std::string Code;
@@ -311,10 +338,15 @@ struct paylid__transferFundResponse
/**
Operation details:
Transfers funds
- SOAP RPC encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
- SOAP action="urn:paylidwsdl#transferFund"
- http://schemas.xmlsoap.org/soap/encoding/ RPC encodingStyle="SOAP"
- Action: "urn:paylidwsdl#transferFund"
- Addressing input action: "urn:paylidwsdl#transferFund"
- Addressing output action: "urn:paylidwsdl#transferFundResponse"
C stub function (defined in soapClient.c[pp] generated by soapcpp2):
@code
@@ -322,11 +354,11 @@ C stub function (defined in soapClient.c[pp] generated by soapcpp2):
struct soap *soap,
NULL, // char *endpoint = NULL selects default endpoint for this operation
NULL, // char *action = NULL selects default action for this operation
// request parameters:
// input parameters:
std::string terminalID,
std::string toDestination,
std::string hmac,
// response parameters:
// output parameters:
struct paylid__transferFundResponse&
);
@endcode
@@ -335,11 +367,11 @@ C server function (called from the service dispatcher defined in soapServer.c[pp
@code
int paylid__transferFund(
struct soap *soap,
// request parameters:
// input parameters:
std::string terminalID,
std::string toDestination,
std::string hmac,
// response parameters:
// output parameters:
struct paylid__transferFundResponse&
);
@endcode
@@ -348,24 +380,26 @@ C++ proxy class (defined in soappaylidwsdlBindingProxy.h):
@code
class paylidwsdlBindingProxy;
@endcode
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use proxy classes;
Important: use soapcpp2 option '-j' (or '-i') to generate greatly improved and easy-to-use proxy classes;
C++ service class (defined in soappaylidwsdlBindingService.h):
@code
class paylidwsdlBindingService;
@endcode
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use service classes;
Important: use soapcpp2 option '-j' (or '-i') to generate greatly improved and easy-to-use service classes;
*/
//gsoap paylid service method-protocol: transferFund SOAP
//gsoap paylid service method-style: transferFund rpc
//gsoap paylid service method-encoding: transferFund http://schemas.xmlsoap.org/soap/encoding/
//gsoap paylid service method-action: transferFund urn:paylidwsdl#transferFund
//gsoap paylid service method-input-action: transferFund urn:paylidwsdl#transferFund
//gsoap paylid service method-output-action: transferFund urn:paylidwsdl#transferFundResponse
int paylid__transferFund(
std::string terminalID, ///< Request parameter
std::string toDestination, ///< Request parameter
std::string hmac, ///< Request parameter
struct paylid__transferFundResponse& ///< Response struct parameter
std::string terminalID, ///< Input parameter
std::string toDestination, ///< Input parameter
std::string hmac, ///< Input parameter
struct paylid__transferFundResponse& ///< Output response struct parameter
);
/******************************************************************************\
@@ -375,7 +409,7 @@ int paylid__transferFund(
* *
\******************************************************************************/
/// Operation response struct "paylid__checkTransferStatusResponse" of service binding "paylidwsdlBinding" operation "paylid__checkTransferStatus"
/// Operation response struct "paylid__checkTransferStatusResponse" of operation "paylid__checkTransferStatus"
struct paylid__checkTransferStatusResponse
{
std::string Code;
@@ -388,10 +422,15 @@ struct paylid__checkTransferStatusResponse
/**
Operation details:
Checks money transfer status
- SOAP RPC encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
- SOAP action="urn:paylidwsdl#checkTransferStatus"
- http://schemas.xmlsoap.org/soap/encoding/ RPC encodingStyle="SOAP"
- Action: "urn:paylidwsdl#checkTransferStatus"
- Addressing input action: "urn:paylidwsdl#checkTransferStatus"
- Addressing output action: "urn:paylidwsdl#checkTransferStatusResponse"
C stub function (defined in soapClient.c[pp] generated by soapcpp2):
@code
@@ -399,11 +438,11 @@ C stub function (defined in soapClient.c[pp] generated by soapcpp2):
struct soap *soap,
NULL, // char *endpoint = NULL selects default endpoint for this operation
NULL, // char *action = NULL selects default action for this operation
// request parameters:
// input parameters:
std::string terminalID,
std::string transactionRef,
std::string hmac,
// response parameters:
// output parameters:
struct paylid__checkTransferStatusResponse&
);
@endcode
@@ -412,11 +451,11 @@ C server function (called from the service dispatcher defined in soapServer.c[pp
@code
int paylid__checkTransferStatus(
struct soap *soap,
// request parameters:
// input parameters:
std::string terminalID,
std::string transactionRef,
std::string hmac,
// response parameters:
// output parameters:
struct paylid__checkTransferStatusResponse&
);
@endcode
@@ -425,24 +464,26 @@ C++ proxy class (defined in soappaylidwsdlBindingProxy.h):
@code
class paylidwsdlBindingProxy;
@endcode
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use proxy classes;
Important: use soapcpp2 option '-j' (or '-i') to generate greatly improved and easy-to-use proxy classes;
C++ service class (defined in soappaylidwsdlBindingService.h):
@code
class paylidwsdlBindingService;
@endcode
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use service classes;
Important: use soapcpp2 option '-j' (or '-i') to generate greatly improved and easy-to-use service classes;
*/
//gsoap paylid service method-protocol: checkTransferStatus SOAP
//gsoap paylid service method-style: checkTransferStatus rpc
//gsoap paylid service method-encoding: checkTransferStatus http://schemas.xmlsoap.org/soap/encoding/
//gsoap paylid service method-action: checkTransferStatus urn:paylidwsdl#checkTransferStatus
//gsoap paylid service method-input-action: checkTransferStatus urn:paylidwsdl#checkTransferStatus
//gsoap paylid service method-output-action: checkTransferStatus urn:paylidwsdl#checkTransferStatusResponse
int paylid__checkTransferStatus(
std::string terminalID, ///< Request parameter
std::string transactionRef, ///< Request parameter
std::string hmac, ///< Request parameter
struct paylid__checkTransferStatusResponse& ///< Response struct parameter
std::string terminalID, ///< Input parameter
std::string transactionRef, ///< Input parameter
std::string hmac, ///< Input parameter
struct paylid__checkTransferStatusResponse& ///< Output response struct parameter
);
/******************************************************************************\
@@ -452,7 +493,7 @@ int paylid__checkTransferStatus(
* *
\******************************************************************************/
/// Operation response struct "paylid__directAirTimeTopUpResponse" of service binding "paylidwsdlBinding" operation "paylid__directAirTimeTopUp"
/// Operation response struct "paylid__directAirTimeTopUpResponse" of operation "paylid__directAirTimeTopUp"
struct paylid__directAirTimeTopUpResponse
{
std::string Code;
@@ -465,10 +506,15 @@ struct paylid__directAirTimeTopUpResponse
/**
Operation details:
Direct air time top up
- SOAP RPC encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
- SOAP action="urn:paylidwsdl#checkTransferStatus"
- http://schemas.xmlsoap.org/soap/encoding/ RPC encodingStyle="SOAP"
- Action: "urn:paylidwsdl#checkTransferStatus"
- Addressing input action: "urn:paylidwsdl#checkTransferStatus"
- Addressing output action: "urn:paylidwsdl#checkTransferStatusResponse"
C stub function (defined in soapClient.c[pp] generated by soapcpp2):
@code
@@ -476,11 +522,11 @@ C stub function (defined in soapClient.c[pp] generated by soapcpp2):
struct soap *soap,
NULL, // char *endpoint = NULL selects default endpoint for this operation
NULL, // char *action = NULL selects default action for this operation
// request parameters:
// input parameters:
std::string terminalID,
std::string topupData,
std::string hmac,
// response parameters:
// output parameters:
struct paylid__directAirTimeTopUpResponse&
);
@endcode
@@ -489,11 +535,11 @@ C server function (called from the service dispatcher defined in soapServer.c[pp
@code
int paylid__directAirTimeTopUp(
struct soap *soap,
// request parameters:
// input parameters:
std::string terminalID,
std::string topupData,
std::string hmac,
// response parameters:
// output parameters:
struct paylid__directAirTimeTopUpResponse&
);
@endcode
@@ -502,24 +548,26 @@ C++ proxy class (defined in soappaylidwsdlBindingProxy.h):
@code
class paylidwsdlBindingProxy;
@endcode
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use proxy classes;
Important: use soapcpp2 option '-j' (or '-i') to generate greatly improved and easy-to-use proxy classes;
C++ service class (defined in soappaylidwsdlBindingService.h):
@code
class paylidwsdlBindingService;
@endcode
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use service classes;
Important: use soapcpp2 option '-j' (or '-i') to generate greatly improved and easy-to-use service classes;
*/
//gsoap paylid service method-protocol: directAirTimeTopUp SOAP
//gsoap paylid service method-style: directAirTimeTopUp rpc
//gsoap paylid service method-encoding: directAirTimeTopUp http://schemas.xmlsoap.org/soap/encoding/
//gsoap paylid service method-action: directAirTimeTopUp urn:paylidwsdl#checkTransferStatus
//gsoap paylid service method-input-action: directAirTimeTopUp urn:paylidwsdl#checkTransferStatus
//gsoap paylid service method-output-action: directAirTimeTopUp urn:paylidwsdl#checkTransferStatusResponse
int paylid__directAirTimeTopUp(
std::string terminalID, ///< Request parameter
std::string topupData, ///< Request parameter
std::string hmac, ///< Request parameter
struct paylid__directAirTimeTopUpResponse& ///< Response struct parameter
std::string terminalID, ///< Input parameter
std::string topupData, ///< Input parameter
std::string hmac, ///< Input parameter
struct paylid__directAirTimeTopUpResponse& ///< Output response struct parameter
);
/******************************************************************************\
@@ -529,7 +577,7 @@ int paylid__directAirTimeTopUp(
* *
\******************************************************************************/
/// Operation response struct "paylid__currentXrateResponse" of service binding "paylidwsdlBinding" operation "paylid__currentXrate"
/// Operation response struct "paylid__currentXrateResponse" of operation "paylid__currentXrate"
struct paylid__currentXrateResponse
{
std::string Code;
@@ -542,10 +590,15 @@ struct paylid__currentXrateResponse
/**
Operation details:
Get Current XRAte
- SOAP RPC encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
- SOAP action="urn:paylidwsdl#currentXrate"
- http://schemas.xmlsoap.org/soap/encoding/ RPC encodingStyle="SOAP"
- Action: "urn:paylidwsdl#currentXrate"
- Addressing input action: "urn:paylidwsdl#currentXrate"
- Addressing output action: "urn:paylidwsdl#currentXrateResponse"
C stub function (defined in soapClient.c[pp] generated by soapcpp2):
@code
@@ -553,11 +606,11 @@ C stub function (defined in soapClient.c[pp] generated by soapcpp2):
struct soap *soap,
NULL, // char *endpoint = NULL selects default endpoint for this operation
NULL, // char *action = NULL selects default action for this operation
// request parameters:
// input parameters:
std::string terminalID,
std::string topupData,
std::string hmac,
// response parameters:
// output parameters:
struct paylid__currentXrateResponse&
);
@endcode
@@ -566,11 +619,11 @@ C server function (called from the service dispatcher defined in soapServer.c[pp
@code
int paylid__currentXrate(
struct soap *soap,
// request parameters:
// input parameters:
std::string terminalID,
std::string topupData,
std::string hmac,
// response parameters:
// output parameters:
struct paylid__currentXrateResponse&
);
@endcode
@@ -579,24 +632,26 @@ C++ proxy class (defined in soappaylidwsdlBindingProxy.h):
@code
class paylidwsdlBindingProxy;
@endcode
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use proxy classes;
Important: use soapcpp2 option '-j' (or '-i') to generate greatly improved and easy-to-use proxy classes;
C++ service class (defined in soappaylidwsdlBindingService.h):
@code
class paylidwsdlBindingService;
@endcode
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use service classes;
Important: use soapcpp2 option '-j' (or '-i') to generate greatly improved and easy-to-use service classes;
*/
//gsoap paylid service method-protocol: currentXrate SOAP
//gsoap paylid service method-style: currentXrate rpc
//gsoap paylid service method-encoding: currentXrate http://schemas.xmlsoap.org/soap/encoding/
//gsoap paylid service method-action: currentXrate urn:paylidwsdl#currentXrate
//gsoap paylid service method-input-action: currentXrate urn:paylidwsdl#currentXrate
//gsoap paylid service method-output-action: currentXrate urn:paylidwsdl#currentXrateResponse
int paylid__currentXrate(
std::string terminalID, ///< Request parameter
std::string topupData, ///< Request parameter
std::string hmac, ///< Request parameter
struct paylid__currentXrateResponse& ///< Response struct parameter
std::string terminalID, ///< Input parameter
std::string topupData, ///< Input parameter
std::string hmac, ///< Input parameter
struct paylid__currentXrateResponse& ///< Output response struct parameter
);
/******************************************************************************\
@@ -606,7 +661,7 @@ int paylid__currentXrate(
* *
\******************************************************************************/
/// Operation response struct "paylid__getAccountResponse" of service binding "paylidwsdlBinding" operation "paylid__getAccount"
/// Operation response struct "paylid__getAccountResponse" of operation "paylid__getAccount"
struct paylid__getAccountResponse
{
std::string Code;
@@ -619,10 +674,15 @@ struct paylid__getAccountResponse
/**
Operation details:
Get Account Properties
- SOAP RPC encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
- SOAP action="urn:paylidwsdl#getAccount"
- http://schemas.xmlsoap.org/soap/encoding/ RPC encodingStyle="SOAP"
- Action: "urn:paylidwsdl#getAccount"
- Addressing input action: "urn:paylidwsdl#getAccount"
- Addressing output action: "urn:paylidwsdl#getAccountResponse"
C stub function (defined in soapClient.c[pp] generated by soapcpp2):
@code
@@ -630,11 +690,11 @@ C stub function (defined in soapClient.c[pp] generated by soapcpp2):
struct soap *soap,
NULL, // char *endpoint = NULL selects default endpoint for this operation
NULL, // char *action = NULL selects default action for this operation
// request parameters:
// input parameters:
std::string terminalID,
std::string topupData,
std::string hmac,
// response parameters:
// output parameters:
struct paylid__getAccountResponse&
);
@endcode
@@ -643,11 +703,11 @@ C server function (called from the service dispatcher defined in soapServer.c[pp
@code
int paylid__getAccount(
struct soap *soap,
// request parameters:
// input parameters:
std::string terminalID,
std::string topupData,
std::string hmac,
// response parameters:
// output parameters:
struct paylid__getAccountResponse&
);
@endcode
@@ -656,24 +716,26 @@ C++ proxy class (defined in soappaylidwsdlBindingProxy.h):
@code
class paylidwsdlBindingProxy;
@endcode
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use proxy classes;
Important: use soapcpp2 option '-j' (or '-i') to generate greatly improved and easy-to-use proxy classes;
C++ service class (defined in soappaylidwsdlBindingService.h):
@code
class paylidwsdlBindingService;
@endcode
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use service classes;
Important: use soapcpp2 option '-j' (or '-i') to generate greatly improved and easy-to-use service classes;
*/
//gsoap paylid service method-protocol: getAccount SOAP
//gsoap paylid service method-style: getAccount rpc
//gsoap paylid service method-encoding: getAccount http://schemas.xmlsoap.org/soap/encoding/
//gsoap paylid service method-action: getAccount urn:paylidwsdl#getAccount
//gsoap paylid service method-input-action: getAccount urn:paylidwsdl#getAccount
//gsoap paylid service method-output-action: getAccount urn:paylidwsdl#getAccountResponse
int paylid__getAccount(
std::string terminalID, ///< Request parameter
std::string topupData, ///< Request parameter
std::string hmac, ///< Request parameter
struct paylid__getAccountResponse & ///< Response struct parameter
std::string terminalID, ///< Input parameter
std::string topupData, ///< Input parameter
std::string hmac, ///< Input parameter
struct paylid__getAccountResponse & ///< Output response struct parameter
);
/******************************************************************************\
@@ -683,7 +745,7 @@ int paylid__getAccount(
* *
\******************************************************************************/
/// Operation response struct "paylid__getTrxStatusResponse" of service binding "paylidwsdlBinding" operation "paylid__getTrxStatus"
/// Operation response struct "paylid__getTrxStatusResponse" of operation "paylid__getTrxStatus"
struct paylid__getTrxStatusResponse
{
std::string Code;
@@ -696,10 +758,15 @@ struct paylid__getTrxStatusResponse
/**
Operation details:
General Get Transaction Status
- SOAP RPC encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
- SOAP action="urn:paylidwsdl#getTrxStatus"
- http://schemas.xmlsoap.org/soap/encoding/ RPC encodingStyle="SOAP"
- Action: "urn:paylidwsdl#getTrxStatus"
- Addressing input action: "urn:paylidwsdl#getTrxStatus"
- Addressing output action: "urn:paylidwsdl#getTrxStatusResponse"
C stub function (defined in soapClient.c[pp] generated by soapcpp2):
@code
@@ -707,11 +774,11 @@ C stub function (defined in soapClient.c[pp] generated by soapcpp2):
struct soap *soap,
NULL, // char *endpoint = NULL selects default endpoint for this operation
NULL, // char *action = NULL selects default action for this operation
// request parameters:
// input parameters:
std::string terminalID,
std::string topupData,
std::string hmac,
// response parameters:
// output parameters:
struct paylid__getTrxStatusResponse&
);
@endcode
@@ -720,11 +787,11 @@ C server function (called from the service dispatcher defined in soapServer.c[pp
@code
int paylid__getTrxStatus(
struct soap *soap,
// request parameters:
// input parameters:
std::string terminalID,
std::string topupData,
std::string hmac,
// response parameters:
// output parameters:
struct paylid__getTrxStatusResponse&
);
@endcode
@@ -733,24 +800,26 @@ C++ proxy class (defined in soappaylidwsdlBindingProxy.h):
@code
class paylidwsdlBindingProxy;
@endcode
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use proxy classes;
Important: use soapcpp2 option '-j' (or '-i') to generate greatly improved and easy-to-use proxy classes;
C++ service class (defined in soappaylidwsdlBindingService.h):
@code
class paylidwsdlBindingService;
@endcode
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use service classes;
Important: use soapcpp2 option '-j' (or '-i') to generate greatly improved and easy-to-use service classes;
*/
//gsoap paylid service method-protocol: getTrxStatus SOAP
//gsoap paylid service method-style: getTrxStatus rpc
//gsoap paylid service method-encoding: getTrxStatus http://schemas.xmlsoap.org/soap/encoding/
//gsoap paylid service method-action: getTrxStatus urn:paylidwsdl#getTrxStatus
//gsoap paylid service method-input-action: getTrxStatus urn:paylidwsdl#getTrxStatus
//gsoap paylid service method-output-action: getTrxStatus urn:paylidwsdl#getTrxStatusResponse
int paylid__getTrxStatus(
std::string terminalID, ///< Request parameter
std::string topupData, ///< Request parameter
std::string hmac, ///< Request parameter
struct paylid__getTrxStatusResponse& ///< Response struct parameter
std::string terminalID, ///< Input parameter
std::string topupData, ///< Input parameter
std::string hmac, ///< Input parameter
struct paylid__getTrxStatusResponse& ///< Output response struct parameter
);
/******************************************************************************\
@@ -760,7 +829,7 @@ int paylid__getTrxStatus(
* *
\******************************************************************************/
/// Operation response struct "paylid__getSupportedBanksResponse" of service binding "paylidwsdlBinding" operation "paylid__getSupportedBanks"
/// Operation response struct "paylid__getSupportedBanksResponse" of operation "paylid__getSupportedBanks"
struct paylid__getSupportedBanksResponse
{
std::string Code;
@@ -773,10 +842,15 @@ struct paylid__getSupportedBanksResponse
/**
Operation details:
General List of supported banks based on country
- SOAP RPC encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
- SOAP action="urn:paylidwsdl#getSupportedBanks"
- http://schemas.xmlsoap.org/soap/encoding/ RPC encodingStyle="SOAP"
- Action: "urn:paylidwsdl#getSupportedBanks"
- Addressing input action: "urn:paylidwsdl#getSupportedBanks"
- Addressing output action: "urn:paylidwsdl#getSupportedBanksResponse"
C stub function (defined in soapClient.c[pp] generated by soapcpp2):
@code
@@ -784,11 +858,11 @@ C stub function (defined in soapClient.c[pp] generated by soapcpp2):
struct soap *soap,
NULL, // char *endpoint = NULL selects default endpoint for this operation
NULL, // char *action = NULL selects default action for this operation
// request parameters:
// input parameters:
std::string terminalID,
std::string topupData,
std::string hmac,
// response parameters:
// output parameters:
struct paylid__getSupportedBanksResponse&
);
@endcode
@@ -797,11 +871,11 @@ C server function (called from the service dispatcher defined in soapServer.c[pp
@code
int paylid__getSupportedBanks(
struct soap *soap,
// request parameters:
// input parameters:
std::string terminalID,
std::string topupData,
std::string hmac,
// response parameters:
// output parameters:
struct paylid__getSupportedBanksResponse&
);
@endcode
@@ -810,26 +884,102 @@ C++ proxy class (defined in soappaylidwsdlBindingProxy.h):
@code
class paylidwsdlBindingProxy;
@endcode
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use proxy classes;
Important: use soapcpp2 option '-j' (or '-i') to generate greatly improved and easy-to-use proxy classes;
C++ service class (defined in soappaylidwsdlBindingService.h):
@code
class paylidwsdlBindingService;
@endcode
Important: use soapcpp2 option '-i' to generate greatly improved and easy-to-use service classes;
Important: use soapcpp2 option '-j' (or '-i') to generate greatly improved and easy-to-use service classes;
*/
//gsoap paylid service method-protocol: getSupportedBanks SOAP
//gsoap paylid service method-style: getSupportedBanks rpc
//gsoap paylid service method-encoding: getSupportedBanks http://schemas.xmlsoap.org/soap/encoding/
//gsoap paylid service method-action: getSupportedBanks urn:paylidwsdl#getSupportedBanks
//gsoap paylid service method-input-action: getSupportedBanks urn:paylidwsdl#getSupportedBanks
//gsoap paylid service method-output-action: getSupportedBanks urn:paylidwsdl#getSupportedBanksResponse
int paylid__getSupportedBanks(
std::string terminalID, ///< Request parameter
std::string topupData, ///< Request parameter
std::string hmac, ///< Request parameter
struct paylid__getSupportedBanksResponse& ///< Response struct parameter
std::string terminalID, ///< Input parameter
std::string topupData, ///< Input parameter
std::string hmac, ///< Input parameter
struct paylid__getSupportedBanksResponse& ///< Output response struct parameter
);
/**
@page paylidwsdlBinding Binding "paylidwsdlBinding"
@section paylidwsdlBinding_policy_enablers Policy Enablers of Binding "paylidwsdlBinding"
Based on policies, this service imports
- WS-Policy reminders and enablers:
- WS-Addressing 1.0 (2005/08, accepts 2004/08):
@code
#import "wsa5.h" // to be added to this header file for the soapcpp2 build step
@endcode
@code
#include "plugin/wsaapi.h"
soap_register_plugin(soap, soap_wsa); // register the wsa plugin in your code
// See the user guide gsoap/doc/wsa/html/index.html
@endcode
- WS-Addressing (2004/08):
@code
#import "wsa.h" // to be added to this header file for the soapcpp2 build step
@endcode
@code
#include "plugin/wsaapi.h"
soap_register_plugin(soap, soap_wsa); // register the wsa plugin in your code
// See the user guide gsoap/doc/wsa/html/index.html
@endcode
- WS-ReliableMessaging 1.0:
@code
#import "wsrm5.h" // to be added to this header file for the soapcpp2 build step
@endcode
@code
#include "plugin/wsrmapi.h"
soap_register_plugin(soap, soap_wsa); // register the wsa plugin in your code
soap_register_plugin(soap, soap_wsrm); // register the wsrm plugin in your code
// See the user guide gsoap/doc/wsrm/html/index.html
@endcode
- WS-ReliableMessaging 1.1:
@code
#import "wsrm.h" // to be added to this header file for the soapcpp2 build step
@endcode
@code
#include "plugin/wsrmapi.h"
soap_register_plugin(soap, soap_wsa); // register the wsa plugin in your code
soap_register_plugin(soap, soap_wsrm); // register the wsrm plugin in your code
// See the user guide gsoap/doc/wsrm/html/index.html
@endcode
- WS-Security (SOAP Message Security) 1.0 (accepts 1.1):
@code
#import "wsse.h" // to be added to this header file for the soapcpp2 build step
@endcode
@code
#include "plugin/wsseapi.h"
soap_register_plugin(soap, soap_wsse); // register the wsse plugin in your code
// See the user guide gsoap/doc/wsse/html/index.html
@endcode
- WS-Security (SOAP Message Security) 1.1 (accepts 1.0):
@code
#import "wsse11.h" // to be added to this header file for the soapcpp2 build step
@endcode
@code
#include "plugin/wsseapi.h"
soap_register_plugin(soap, soap_wsse); // register the wsse plugin in your code
// See the user guide gsoap/doc/wsse/html/index.html
@endcode
- HTTP Digest Authentication:
@code
#include "plugin/httpda.h"
soap_register_plugin(soap, soap_http_da); // register the HTTP DA plugin in your code
// See the user guide gsoap/doc/httpda/html/index.html
@endcode
*/
/******************************************************************************\
* *
* XML Data Binding *
@@ -853,18 +1003,24 @@ your code to import these data type and function declarations. Only use the
soapcpp2-generated files in your project build. Do not include the wsdl2h-
generated .h file in your code.
XML content can be retrieved from:
- a FILE* fd, using soap->recvfd = fd
Data can be read in XML and deserialized from:
- a file descriptor, using soap->recvfd = fd
- a socket, using soap->socket = ...
- a C++ stream, using soap->is = ...
- a buffer, using the soap->frecv() callback
XML content can be stored to:
- a FILE* fd, using soap->sendfd = fd
Data can be serialized in XML and written to:
- a file descriptor, using soap->sendfd = fd
- a socket, using soap->socket = ...
- a C++ stream, using soap->os = ...
- a buffer, using the soap->fsend() callback
The following options are available for (de)serialization control:
- soap->encodingStyle = NULL; to remove SOAP 1.1/1.2 encodingStyle
- soap_mode(soap, SOAP_XML_TREE); XML without id-ref (no cycles!)
- soap_mode(soap, SOAP_XML_GRAPH); XML with id-ref (including cycles)
- soap_set_namespaces(soap, struct Namespace *nsmap); to set xmlns bindings
@section paylid Top-level root elements of schema "urn:paylidwsdl"
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+76 -7
View File
@@ -1,8 +1,11 @@
/* paylidStub.h
Generated by gSOAP 2.7.16 from PaylidService.h
Copyright(C) 2000-2010, Robert van Engelen, Genivia Inc. All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for commercial use.
Generated by gSOAP 2.8.16 from PaylidService.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.
*/
#ifndef paylidStub_H
@@ -16,6 +19,10 @@
#define WITH_NOGLOBAL
#endif
#include "stdsoap2.h"
#if GSOAP_VERSION != 20816
# error "GSOAP VERSION MISMATCH IN GENERATED CODE: PLEASE REINSTALL PACKAGE"
#endif
namespace paylid {
@@ -40,11 +47,11 @@ namespace paylid {
\******************************************************************************/
#if 0 /* volatile type: do not redeclare here */
#if 0 /* volatile type: do not declare here, declared elsewhere */
#endif
#if 0 /* volatile type: do not redeclare here */
#if 0 /* volatile type: do not declare here, declared elsewhere */
#endif
@@ -57,6 +64,8 @@ public:
std::string Code; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:string */
std::string Data; /* required element of type xsd:string */
std::string Hmac; /* required element of type xsd:string */
public:
int soap_type() const { return 8; } /* = unique id SOAP_TYPE_paylid_paylid__getAccountBalanceResponse */
};
#endif
@@ -68,6 +77,8 @@ struct paylid__getAccountBalance
public:
std::string terminalID; /* required element of type xsd:string */
std::string hmac; /* required element of type xsd:string */
public:
int soap_type() const { return 12; } /* = unique id SOAP_TYPE_paylid_paylid__getAccountBalance */
};
#endif
@@ -80,6 +91,8 @@ public:
std::string Code; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:string */
std::string Data; /* required element of type xsd:string */
std::string Hmac; /* required element of type xsd:string */
public:
int soap_type() const { return 13; } /* = unique id SOAP_TYPE_paylid_paylid__transferFundResponse */
};
#endif
@@ -92,6 +105,8 @@ public:
std::string terminalID; /* required element of type xsd:string */
std::string toDestination; /* required element of type xsd:string */
std::string hmac; /* required element of type xsd:string */
public:
int soap_type() const { return 16; } /* = unique id SOAP_TYPE_paylid_paylid__transferFund */
};
#endif
@@ -104,6 +119,8 @@ public:
std::string Code; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:string */
std::string Data; /* required element of type xsd:string */
std::string Hmac; /* required element of type xsd:string */
public:
int soap_type() const { return 17; } /* = unique id SOAP_TYPE_paylid_paylid__checkTransferStatusResponse */
};
#endif
@@ -116,6 +133,8 @@ public:
std::string terminalID; /* required element of type xsd:string */
std::string transactionRef; /* required element of type xsd:string */
std::string hmac; /* required element of type xsd:string */
public:
int soap_type() const { return 20; } /* = unique id SOAP_TYPE_paylid_paylid__checkTransferStatus */
};
#endif
@@ -128,6 +147,8 @@ public:
std::string Code; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:string */
std::string Data; /* required element of type xsd:string */
std::string Hmac; /* required element of type xsd:string */
public:
int soap_type() const { return 21; } /* = unique id SOAP_TYPE_paylid_paylid__directAirTimeTopUpResponse */
};
#endif
@@ -140,6 +161,8 @@ public:
std::string terminalID; /* required element of type xsd:string */
std::string topupData; /* required element of type xsd:string */
std::string hmac; /* required element of type xsd:string */
public:
int soap_type() const { return 24; } /* = unique id SOAP_TYPE_paylid_paylid__directAirTimeTopUp */
};
#endif
@@ -152,6 +175,8 @@ public:
std::string Code; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:string */
std::string Data; /* required element of type xsd:string */
std::string Hmac; /* required element of type xsd:string */
public:
int soap_type() const { return 25; } /* = unique id SOAP_TYPE_paylid_paylid__currentXrateResponse */
};
#endif
@@ -164,6 +189,8 @@ public:
std::string terminalID; /* required element of type xsd:string */
std::string topupData; /* required element of type xsd:string */
std::string hmac; /* required element of type xsd:string */
public:
int soap_type() const { return 28; } /* = unique id SOAP_TYPE_paylid_paylid__currentXrate */
};
#endif
@@ -176,6 +203,8 @@ public:
std::string Code; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:string */
std::string Data; /* required element of type xsd:string */
std::string Hmac; /* required element of type xsd:string */
public:
int soap_type() const { return 29; } /* = unique id SOAP_TYPE_paylid_paylid__getAccountResponse */
};
#endif
@@ -188,6 +217,8 @@ public:
std::string terminalID; /* required element of type xsd:string */
std::string topupData; /* required element of type xsd:string */
std::string hmac; /* required element of type xsd:string */
public:
int soap_type() const { return 32; } /* = unique id SOAP_TYPE_paylid_paylid__getAccount */
};
#endif
@@ -200,6 +231,8 @@ public:
std::string Code; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:string */
std::string Data; /* required element of type xsd:string */
std::string Hmac; /* required element of type xsd:string */
public:
int soap_type() const { return 33; } /* = unique id SOAP_TYPE_paylid_paylid__getTrxStatusResponse */
};
#endif
@@ -212,6 +245,8 @@ public:
std::string terminalID; /* required element of type xsd:string */
std::string topupData; /* required element of type xsd:string */
std::string hmac; /* required element of type xsd:string */
public:
int soap_type() const { return 36; } /* = unique id SOAP_TYPE_paylid_paylid__getTrxStatus */
};
#endif
@@ -224,6 +259,8 @@ public:
std::string Code; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:string */
std::string Data; /* required element of type xsd:string */
std::string Hmac; /* required element of type xsd:string */
public:
int soap_type() const { return 37; } /* = unique id SOAP_TYPE_paylid_paylid__getSupportedBanksResponse */
};
#endif
@@ -236,14 +273,20 @@ public:
std::string terminalID; /* required element of type xsd:string */
std::string topupData; /* required element of type xsd:string */
std::string hmac; /* required element of type xsd:string */
public:
int soap_type() const { return 40; } /* = unique id SOAP_TYPE_paylid_paylid__getSupportedBanks */
};
#endif
#ifndef WITH_NOGLOBAL
#ifndef SOAP_TYPE_paylid_SOAP_ENV__Header
#define SOAP_TYPE_paylid_SOAP_ENV__Header (41)
/* SOAP Header: */
struct SOAP_ENV__Header
{
public:
int soap_type() const { return 41; } /* = unique id SOAP_TYPE_paylid_SOAP_ENV__Header */
#ifdef WITH_NOEMPTYSTRUCT
private:
char dummy; /* dummy member to enable compilation */
@@ -251,6 +294,10 @@ private:
};
#endif
#endif
#ifndef WITH_NOGLOBAL
#ifndef SOAP_TYPE_paylid_SOAP_ENV__Code
#define SOAP_TYPE_paylid_SOAP_ENV__Code (42)
/* SOAP Fault Code: */
@@ -259,21 +306,33 @@ struct SOAP_ENV__Code
public:
char *SOAP_ENV__Value; /* optional element of type xsd:QName */
struct SOAP_ENV__Code *SOAP_ENV__Subcode; /* optional element of type SOAP-ENV:Code */
public:
int soap_type() const { return 42; } /* = unique id SOAP_TYPE_paylid_SOAP_ENV__Code */
};
#endif
#endif
#ifndef WITH_NOGLOBAL
#ifndef SOAP_TYPE_paylid_SOAP_ENV__Detail
#define SOAP_TYPE_paylid_SOAP_ENV__Detail (44)
/* SOAP-ENV:Detail */
struct SOAP_ENV__Detail
{
public:
char *__any;
int __type; /* any type of element <fault> (defined below) */
void *fault; /* transient */
char *__any;
public:
int soap_type() const { return 44; } /* = unique id SOAP_TYPE_paylid_SOAP_ENV__Detail */
};
#endif
#endif
#ifndef WITH_NOGLOBAL
#ifndef SOAP_TYPE_paylid_SOAP_ENV__Reason
#define SOAP_TYPE_paylid_SOAP_ENV__Reason (47)
/* SOAP-ENV:Reason */
@@ -281,9 +340,15 @@ struct SOAP_ENV__Reason
{
public:
char *SOAP_ENV__Text; /* optional element of type xsd:string */
public:
int soap_type() const { return 47; } /* = unique id SOAP_TYPE_paylid_SOAP_ENV__Reason */
};
#endif
#endif
#ifndef WITH_NOGLOBAL
#ifndef SOAP_TYPE_paylid_SOAP_ENV__Fault
#define SOAP_TYPE_paylid_SOAP_ENV__Fault (48)
/* SOAP Fault: */
@@ -299,9 +364,13 @@ public:
char *SOAP_ENV__Node; /* optional element of type xsd:string */
char *SOAP_ENV__Role; /* optional element of type xsd:string */
struct SOAP_ENV__Detail *SOAP_ENV__Detail; /* optional element of type SOAP-ENV:Detail */
public:
int soap_type() const { return 48; } /* = unique id SOAP_TYPE_paylid_SOAP_ENV__Fault */
};
#endif
#endif
/******************************************************************************\
* *
* Typedefs *
@@ -1,8 +1,11 @@
/* paylidpaylidwsdlBindingProxy.cpp
Generated by gSOAP 2.7.16 from PaylidService.h
Copyright(C) 2000-2010, Robert van Engelen, Genivia Inc. All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for commercial use.
Generated by gSOAP 2.8.16 from PaylidService.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 "paylidpaylidwsdlBindingProxy.h"
@@ -13,17 +16,30 @@ paylidwsdlBindingProxy::paylidwsdlBindingProxy()
{ paylidwsdlBindingProxy_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT);
}
paylidwsdlBindingProxy::paylidwsdlBindingProxy(const struct soap &_soap) :soap(_soap)
paylidwsdlBindingProxy::paylidwsdlBindingProxy(const struct soap &_soap) : soap(_soap)
{ }
paylidwsdlBindingProxy::paylidwsdlBindingProxy(const char *url)
{ paylidwsdlBindingProxy_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT);
soap_endpoint = url;
}
paylidwsdlBindingProxy::paylidwsdlBindingProxy(soap_mode iomode)
{ paylidwsdlBindingProxy_init(iomode, iomode);
}
paylidwsdlBindingProxy::paylidwsdlBindingProxy(const char *url, soap_mode iomode)
{ paylidwsdlBindingProxy_init(iomode, iomode);
soap_endpoint = url;
}
paylidwsdlBindingProxy::paylidwsdlBindingProxy(soap_mode imode, soap_mode omode)
{ paylidwsdlBindingProxy_init(imode, omode);
}
paylidwsdlBindingProxy::~paylidwsdlBindingProxy()
{ }
void paylidwsdlBindingProxy::paylidwsdlBindingProxy_init(soap_mode imode, soap_mode omode)
{ soap_imode(this, imode);
soap_omode(this, omode);
@@ -37,23 +53,31 @@ void paylidwsdlBindingProxy::paylidwsdlBindingProxy_init(soap_mode imode, soap_m
{"paylid", "urn:paylidwsdl", NULL, NULL},
{NULL, NULL, NULL, NULL}
};
this->namespaces = namespaces;
soap_set_namespaces(this, namespaces);
}
paylidwsdlBindingProxy::~paylidwsdlBindingProxy()
{ }
void paylidwsdlBindingProxy::destroy()
{ soap_destroy(this);
soap_end(this);
}
void paylidwsdlBindingProxy::reset()
{ destroy();
soap_done(this);
soap_initialize(this);
paylidwsdlBindingProxy_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT);
}
void paylidwsdlBindingProxy::soap_noheader()
{ header = NULL;
{ this->header = NULL;
}
const SOAP_ENV__Header *paylidwsdlBindingProxy::soap_header()
{ return this->header;
}
const SOAP_ENV__Fault *paylidwsdlBindingProxy::soap_fault()
{ return (const paylid::SOAP_ENV__Fault*)this->fault;
{ return this->fault;
}
const char *paylidwsdlBindingProxy::soap_fault_string()
@@ -68,31 +92,40 @@ int paylidwsdlBindingProxy::soap_close_socket()
{ return soap_closesock(this);
}
int paylidwsdlBindingProxy::soap_force_close_socket()
{ return soap_force_closesock(this);
}
void paylidwsdlBindingProxy::soap_print_fault(FILE *fd)
{ ::soap_print_fault(this, fd);
}
#ifndef WITH_LEAN
#ifndef WITH_COMPAT
void paylidwsdlBindingProxy::soap_stream_fault(std::ostream& os)
{ ::soap_stream_fault(this, os);
}
#endif
char *paylidwsdlBindingProxy::soap_sprint_fault(char *buf, size_t len)
{ return ::soap_sprint_fault(this, buf, len);
}
#endif
int paylidwsdlBindingProxy::getAccountBalance(std::string terminalID, std::string hmac, struct paylid__getAccountBalanceResponse &_param_1)
int paylidwsdlBindingProxy::getAccountBalance(const char *endpoint, const char *soap_action, std::string terminalID, std::string hmac, struct paylid__getAccountBalanceResponse &_param_1)
{ struct soap *soap = this;
struct paylid__getAccountBalance soap_tmp_paylid__getAccountBalance;
const char *soap_action = NULL;
if (!soap_endpoint)
if (endpoint)
soap_endpoint = endpoint;
if (soap_endpoint == NULL)
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
soap_action = "urn:paylidwsdl#getAccountBalance";
if (soap_action == NULL)
soap_action = "urn:paylidwsdl#getAccountBalance";
soap_begin(soap);
soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
soap_tmp_paylid__getAccountBalance.terminalID = terminalID;
soap_tmp_paylid__getAccountBalance.hmac = hmac;
soap_begin(soap);
soap_set_version(soap, 1); /* SOAP1.1 */
soap_serializeheader(soap);
soap_serialize_paylid__getAccountBalance(soap, &soap_tmp_paylid__getAccountBalance);
if (soap_begin_count(soap))
@@ -108,7 +141,7 @@ int paylidwsdlBindingProxy::getAccountBalance(std::string terminalID, std::strin
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
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)
@@ -137,18 +170,21 @@ int paylidwsdlBindingProxy::getAccountBalance(std::string terminalID, std::strin
return soap_closesock(soap);
}
int paylidwsdlBindingProxy::transferFund(std::string terminalID, std::string toDestination, std::string hmac, struct paylid__transferFundResponse &_param_2)
int paylidwsdlBindingProxy::transferFund(const char *endpoint, const char *soap_action, std::string terminalID, std::string toDestination, std::string hmac, struct paylid__transferFundResponse &_param_2)
{ struct soap *soap = this;
struct paylid__transferFund soap_tmp_paylid__transferFund;
const char *soap_action = NULL;
if (!soap_endpoint)
if (endpoint)
soap_endpoint = endpoint;
if (soap_endpoint == NULL)
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
soap_action = "urn:paylidwsdl#transferFund";
if (soap_action == NULL)
soap_action = "urn:paylidwsdl#transferFund";
soap_begin(soap);
soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
soap_tmp_paylid__transferFund.terminalID = terminalID;
soap_tmp_paylid__transferFund.toDestination = toDestination;
soap_tmp_paylid__transferFund.hmac = hmac;
soap_begin(soap);
soap_set_version(soap, 1); /* SOAP1.1 */
soap_serializeheader(soap);
soap_serialize_paylid__transferFund(soap, &soap_tmp_paylid__transferFund);
if (soap_begin_count(soap))
@@ -164,7 +200,7 @@ int paylidwsdlBindingProxy::transferFund(std::string terminalID, std::string toD
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
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)
@@ -193,18 +229,21 @@ int paylidwsdlBindingProxy::transferFund(std::string terminalID, std::string toD
return soap_closesock(soap);
}
int paylidwsdlBindingProxy::checkTransferStatus(std::string terminalID, std::string transactionRef, std::string hmac, struct paylid__checkTransferStatusResponse &_param_3)
int paylidwsdlBindingProxy::checkTransferStatus(const char *endpoint, const char *soap_action, std::string terminalID, std::string transactionRef, std::string hmac, struct paylid__checkTransferStatusResponse &_param_3)
{ struct soap *soap = this;
struct paylid__checkTransferStatus soap_tmp_paylid__checkTransferStatus;
const char *soap_action = NULL;
if (!soap_endpoint)
if (endpoint)
soap_endpoint = endpoint;
if (soap_endpoint == NULL)
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
soap_action = "urn:paylidwsdl#checkTransferStatus";
if (soap_action == NULL)
soap_action = "urn:paylidwsdl#checkTransferStatus";
soap_begin(soap);
soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
soap_tmp_paylid__checkTransferStatus.terminalID = terminalID;
soap_tmp_paylid__checkTransferStatus.transactionRef = transactionRef;
soap_tmp_paylid__checkTransferStatus.hmac = hmac;
soap_begin(soap);
soap_set_version(soap, 1); /* SOAP1.1 */
soap_serializeheader(soap);
soap_serialize_paylid__checkTransferStatus(soap, &soap_tmp_paylid__checkTransferStatus);
if (soap_begin_count(soap))
@@ -220,7 +259,7 @@ int paylidwsdlBindingProxy::checkTransferStatus(std::string terminalID, std::str
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
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)
@@ -249,18 +288,21 @@ int paylidwsdlBindingProxy::checkTransferStatus(std::string terminalID, std::str
return soap_closesock(soap);
}
int paylidwsdlBindingProxy::directAirTimeTopUp(std::string terminalID, std::string topupData, std::string hmac, struct paylid__directAirTimeTopUpResponse &_param_4)
int paylidwsdlBindingProxy::directAirTimeTopUp(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__directAirTimeTopUpResponse &_param_4)
{ struct soap *soap = this;
struct paylid__directAirTimeTopUp soap_tmp_paylid__directAirTimeTopUp;
const char *soap_action = NULL;
if (!soap_endpoint)
if (endpoint)
soap_endpoint = endpoint;
if (soap_endpoint == NULL)
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
soap_action = "urn:paylidwsdl#checkTransferStatus";
if (soap_action == NULL)
soap_action = "urn:paylidwsdl#checkTransferStatus";
soap_begin(soap);
soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
soap_tmp_paylid__directAirTimeTopUp.terminalID = terminalID;
soap_tmp_paylid__directAirTimeTopUp.topupData = topupData;
soap_tmp_paylid__directAirTimeTopUp.hmac = hmac;
soap_begin(soap);
soap_set_version(soap, 1); /* SOAP1.1 */
soap_serializeheader(soap);
soap_serialize_paylid__directAirTimeTopUp(soap, &soap_tmp_paylid__directAirTimeTopUp);
if (soap_begin_count(soap))
@@ -276,7 +318,7 @@ int paylidwsdlBindingProxy::directAirTimeTopUp(std::string terminalID, std::stri
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
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)
@@ -305,18 +347,21 @@ int paylidwsdlBindingProxy::directAirTimeTopUp(std::string terminalID, std::stri
return soap_closesock(soap);
}
int paylidwsdlBindingProxy::currentXrate(std::string terminalID, std::string topupData, std::string hmac, struct paylid__currentXrateResponse &_param_5)
int paylidwsdlBindingProxy::currentXrate(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__currentXrateResponse &_param_5)
{ struct soap *soap = this;
struct paylid__currentXrate soap_tmp_paylid__currentXrate;
const char *soap_action = NULL;
if (!soap_endpoint)
if (endpoint)
soap_endpoint = endpoint;
if (soap_endpoint == NULL)
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
soap_action = "urn:paylidwsdl#currentXrate";
if (soap_action == NULL)
soap_action = "urn:paylidwsdl#currentXrate";
soap_begin(soap);
soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
soap_tmp_paylid__currentXrate.terminalID = terminalID;
soap_tmp_paylid__currentXrate.topupData = topupData;
soap_tmp_paylid__currentXrate.hmac = hmac;
soap_begin(soap);
soap_set_version(soap, 1); /* SOAP1.1 */
soap_serializeheader(soap);
soap_serialize_paylid__currentXrate(soap, &soap_tmp_paylid__currentXrate);
if (soap_begin_count(soap))
@@ -332,7 +377,7 @@ int paylidwsdlBindingProxy::currentXrate(std::string terminalID, std::string top
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
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)
@@ -361,18 +406,21 @@ int paylidwsdlBindingProxy::currentXrate(std::string terminalID, std::string top
return soap_closesock(soap);
}
int paylidwsdlBindingProxy::getAccount(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getAccountResponse &_param_6)
int paylidwsdlBindingProxy::getAccount(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__getAccountResponse &_param_6)
{ struct soap *soap = this;
struct paylid__getAccount soap_tmp_paylid__getAccount;
const char *soap_action = NULL;
if (!soap_endpoint)
if (endpoint)
soap_endpoint = endpoint;
if (soap_endpoint == NULL)
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
soap_action = "urn:paylidwsdl#getAccount";
if (soap_action == NULL)
soap_action = "urn:paylidwsdl#getAccount";
soap_begin(soap);
soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
soap_tmp_paylid__getAccount.terminalID = terminalID;
soap_tmp_paylid__getAccount.topupData = topupData;
soap_tmp_paylid__getAccount.hmac = hmac;
soap_begin(soap);
soap_set_version(soap, 1); /* SOAP1.1 */
soap_serializeheader(soap);
soap_serialize_paylid__getAccount(soap, &soap_tmp_paylid__getAccount);
if (soap_begin_count(soap))
@@ -388,7 +436,7 @@ int paylidwsdlBindingProxy::getAccount(std::string terminalID, std::string topup
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
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)
@@ -417,18 +465,21 @@ int paylidwsdlBindingProxy::getAccount(std::string terminalID, std::string topup
return soap_closesock(soap);
}
int paylidwsdlBindingProxy::getTrxStatus(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getTrxStatusResponse &_param_7)
int paylidwsdlBindingProxy::getTrxStatus(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__getTrxStatusResponse &_param_7)
{ struct soap *soap = this;
struct paylid__getTrxStatus soap_tmp_paylid__getTrxStatus;
const char *soap_action = NULL;
if (!soap_endpoint)
if (endpoint)
soap_endpoint = endpoint;
if (soap_endpoint == NULL)
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
soap_action = "urn:paylidwsdl#getTrxStatus";
if (soap_action == NULL)
soap_action = "urn:paylidwsdl#getTrxStatus";
soap_begin(soap);
soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
soap_tmp_paylid__getTrxStatus.terminalID = terminalID;
soap_tmp_paylid__getTrxStatus.topupData = topupData;
soap_tmp_paylid__getTrxStatus.hmac = hmac;
soap_begin(soap);
soap_set_version(soap, 1); /* SOAP1.1 */
soap_serializeheader(soap);
soap_serialize_paylid__getTrxStatus(soap, &soap_tmp_paylid__getTrxStatus);
if (soap_begin_count(soap))
@@ -444,7 +495,7 @@ int paylidwsdlBindingProxy::getTrxStatus(std::string terminalID, std::string top
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
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)
@@ -473,18 +524,21 @@ int paylidwsdlBindingProxy::getTrxStatus(std::string terminalID, std::string top
return soap_closesock(soap);
}
int paylidwsdlBindingProxy::getSupportedBanks(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getSupportedBanksResponse &_param_8)
int paylidwsdlBindingProxy::getSupportedBanks(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__getSupportedBanksResponse &_param_8)
{ struct soap *soap = this;
struct paylid__getSupportedBanks soap_tmp_paylid__getSupportedBanks;
const char *soap_action = NULL;
if (!soap_endpoint)
if (endpoint)
soap_endpoint = endpoint;
if (soap_endpoint == NULL)
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
soap_action = "urn:paylidwsdl#getSupportedBanks";
if (soap_action == NULL)
soap_action = "urn:paylidwsdl#getSupportedBanks";
soap_begin(soap);
soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
soap_tmp_paylid__getSupportedBanks.terminalID = terminalID;
soap_tmp_paylid__getSupportedBanks.topupData = topupData;
soap_tmp_paylid__getSupportedBanks.hmac = hmac;
soap_begin(soap);
soap_set_version(soap, 1); /* SOAP1.1 */
soap_serializeheader(soap);
soap_serialize_paylid__getSupportedBanks(soap, &soap_tmp_paylid__getSupportedBanks);
if (soap_begin_count(soap))
@@ -500,7 +554,7 @@ int paylidwsdlBindingProxy::getSupportedBanks(std::string terminalID, std::strin
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
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)
@@ -1,8 +1,11 @@
/* paylidpaylidwsdlBindingProxy.h
Generated by gSOAP 2.7.16 from PaylidService.h
Copyright(C) 2000-2010, Robert van Engelen, Genivia Inc. All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for commercial use.
Generated by gSOAP 2.8.16 from PaylidService.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.
*/
#ifndef paylidpaylidwsdlBindingProxy_H
@@ -17,60 +20,81 @@ class SOAP_CMAC paylidwsdlBindingProxy : public soap
const char *soap_endpoint;
/// Constructor
paylidwsdlBindingProxy();
/// Constructor with copy of another engine state
/// Construct from another engine state
paylidwsdlBindingProxy(const struct soap&);
/// Constructor with endpoint URL
paylidwsdlBindingProxy(const char *url);
/// Constructor with engine input+output mode control
paylidwsdlBindingProxy(soap_mode iomode);
/// Constructor with URL and input+output mode control
paylidwsdlBindingProxy(const char *url, soap_mode iomode);
/// Constructor with engine input and output mode control
paylidwsdlBindingProxy(soap_mode imode, soap_mode omode);
/// Destructor frees deserialized data
virtual ~paylidwsdlBindingProxy();
/// Initializer used by constructors
virtual void paylidwsdlBindingProxy_init(soap_mode imode, soap_mode omode);
/// Delete all deserialized data (uses soap_destroy and soap_end)
/// Delete all deserialized data (with soap_destroy and soap_end)
virtual void destroy();
/// Delete all deserialized data and reset to default
virtual void reset();
/// Disables and removes SOAP Header from message
virtual void soap_noheader();
/// Get SOAP Header structure (NULL when absent)
virtual const SOAP_ENV__Header *soap_header();
/// Get SOAP Fault structure (NULL when absent)
virtual const SOAP_ENV__Fault *soap_fault();
/// Get SOAP Fault string (NULL when absent)
virtual const char *soap_fault_string();
/// Get SOAP Fault detail as string (NULL when absent)
virtual const char *soap_fault_detail();
/// Force close connection (normally automatic, except for send_X ops)
/// Close connection (normally automatic, except for send_X ops)
virtual int soap_close_socket();
/// Force close connection (can kill a thread blocked on IO)
virtual int soap_force_close_socket();
/// Print fault
virtual void soap_print_fault(FILE*);
#ifndef WITH_LEAN
/// Print fault to stream
#ifndef WITH_COMPAT
virtual void soap_stream_fault(std::ostream&);
#endif
/// Put fault into buffer
virtual char *soap_sprint_fault(char *buf, size_t len);
#endif
/// Web service operation 'getAccountBalance' (returns error code or SOAP_OK)
virtual int getAccountBalance(std::string terminalID, std::string hmac, struct paylid__getAccountBalanceResponse &_param_1);
virtual int getAccountBalance(std::string terminalID, std::string hmac, struct paylid__getAccountBalanceResponse &_param_1) { return this->getAccountBalance(NULL, NULL, terminalID, hmac, _param_1); }
virtual int getAccountBalance(const char *endpoint, const char *soap_action, std::string terminalID, std::string hmac, struct paylid__getAccountBalanceResponse &_param_1);
/// Web service operation 'transferFund' (returns error code or SOAP_OK)
virtual int transferFund(std::string terminalID, std::string toDestination, std::string hmac, struct paylid__transferFundResponse &_param_2);
virtual int transferFund(std::string terminalID, std::string toDestination, std::string hmac, struct paylid__transferFundResponse &_param_2) { return this->transferFund(NULL, NULL, terminalID, toDestination, hmac, _param_2); }
virtual int transferFund(const char *endpoint, const char *soap_action, std::string terminalID, std::string toDestination, std::string hmac, struct paylid__transferFundResponse &_param_2);
/// Web service operation 'checkTransferStatus' (returns error code or SOAP_OK)
virtual int checkTransferStatus(std::string terminalID, std::string transactionRef, std::string hmac, struct paylid__checkTransferStatusResponse &_param_3);
virtual int checkTransferStatus(std::string terminalID, std::string transactionRef, std::string hmac, struct paylid__checkTransferStatusResponse &_param_3) { return this->checkTransferStatus(NULL, NULL, terminalID, transactionRef, hmac, _param_3); }
virtual int checkTransferStatus(const char *endpoint, const char *soap_action, std::string terminalID, std::string transactionRef, std::string hmac, struct paylid__checkTransferStatusResponse &_param_3);
/// Web service operation 'directAirTimeTopUp' (returns error code or SOAP_OK)
virtual int directAirTimeTopUp(std::string terminalID, std::string topupData, std::string hmac, struct paylid__directAirTimeTopUpResponse &_param_4);
virtual int directAirTimeTopUp(std::string terminalID, std::string topupData, std::string hmac, struct paylid__directAirTimeTopUpResponse &_param_4) { return this->directAirTimeTopUp(NULL, NULL, terminalID, topupData, hmac, _param_4); }
virtual int directAirTimeTopUp(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__directAirTimeTopUpResponse &_param_4);
/// Web service operation 'currentXrate' (returns error code or SOAP_OK)
virtual int currentXrate(std::string terminalID, std::string topupData, std::string hmac, struct paylid__currentXrateResponse &_param_5);
virtual int currentXrate(std::string terminalID, std::string topupData, std::string hmac, struct paylid__currentXrateResponse &_param_5) { return this->currentXrate(NULL, NULL, terminalID, topupData, hmac, _param_5); }
virtual int currentXrate(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__currentXrateResponse &_param_5);
/// Web service operation 'getAccount' (returns error code or SOAP_OK)
virtual int getAccount(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getAccountResponse &_param_6);
virtual int getAccount(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getAccountResponse &_param_6) { return this->getAccount(NULL, NULL, terminalID, topupData, hmac, _param_6); }
virtual int getAccount(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__getAccountResponse &_param_6);
/// Web service operation 'getTrxStatus' (returns error code or SOAP_OK)
virtual int getTrxStatus(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getTrxStatusResponse &_param_7);
virtual int getTrxStatus(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getTrxStatusResponse &_param_7) { return this->getTrxStatus(NULL, NULL, terminalID, topupData, hmac, _param_7); }
virtual int getTrxStatus(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__getTrxStatusResponse &_param_7);
/// Web service operation 'getSupportedBanks' (returns error code or SOAP_OK)
virtual int getSupportedBanks(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getSupportedBanksResponse &_param_8);
virtual int getSupportedBanks(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getSupportedBanksResponse &_param_8) { return this->getSupportedBanks(NULL, NULL, terminalID, topupData, hmac, _param_8); }
virtual int getSupportedBanks(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__getSupportedBanksResponse &_param_8);
};
} // namespace paylid
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:paylid="urn:paylidwsdl">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:paylid="urn:paylidwsdl">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<paylid:checkTransferStatus>
<terminalID></terminalID>
<transactionRef></transactionRef>
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:paylid="urn:paylidwsdl">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:paylid="urn:paylidwsdl">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<paylid:checkTransferStatusResponse>
<Code></Code>
<Data></Data>
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:paylid="urn:paylidwsdl">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:paylid="urn:paylidwsdl">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<paylid:currentXrate>
<terminalID></terminalID>
<topupData></topupData>
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:paylid="urn:paylidwsdl">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:paylid="urn:paylidwsdl">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<paylid:currentXrateResponse>
<Code></Code>
<Data></Data>
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:paylid="urn:paylidwsdl">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:paylid="urn:paylidwsdl">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<paylid:directAirTimeTopUp>
<terminalID></terminalID>
<topupData></topupData>
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:paylid="urn:paylidwsdl">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:paylid="urn:paylidwsdl">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<paylid:directAirTimeTopUpResponse>
<Code></Code>
<Data></Data>
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:paylid="urn:paylidwsdl">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:paylid="urn:paylidwsdl">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<paylid:getAccount>
<terminalID></terminalID>
<topupData></topupData>
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:paylid="urn:paylidwsdl">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:paylid="urn:paylidwsdl">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<paylid:getAccountResponse>
<Code></Code>
<Data></Data>
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:paylid="urn:paylidwsdl">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:paylid="urn:paylidwsdl">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<paylid:getAccountBalance>
<terminalID></terminalID>
<hmac></hmac>
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:paylid="urn:paylidwsdl">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:paylid="urn:paylidwsdl">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<paylid:getAccountBalanceResponse>
<Code></Code>
<Data></Data>
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:paylid="urn:paylidwsdl">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:paylid="urn:paylidwsdl">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<paylid:getSupportedBanks>
<terminalID></terminalID>
<topupData></topupData>
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:paylid="urn:paylidwsdl">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:paylid="urn:paylidwsdl">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<paylid:getSupportedBanksResponse>
<Code></Code>
<Data></Data>
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:paylid="urn:paylidwsdl">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:paylid="urn:paylidwsdl">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<paylid:getTrxStatus>
<terminalID></terminalID>
<topupData></topupData>
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:paylid="urn:paylidwsdl">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:paylid="urn:paylidwsdl">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<paylid:getTrxStatusResponse>
<Code></Code>
<Data></Data>
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:paylid="urn:paylidwsdl">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:paylid="urn:paylidwsdl">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<paylid:transferFund>
<terminalID></terminalID>
<toDestination></toDestination>
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:paylid="urn:paylidwsdl">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:paylid="urn:paylidwsdl">
<SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<paylid:transferFundResponse>
<Code></Code>
<Data></Data>
File diff suppressed because it is too large Load Diff
@@ -1,8 +1,11 @@
/* paylidpaylidwsdlBindingProxy.cpp
Generated by gSOAP 2.7.16 from PaylidService.h
Copyright(C) 2000-2010, Robert van Engelen, Genivia Inc. All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for commercial use.
Generated by gSOAP 2.8.16 from PaylidService.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 "paylidpaylidwsdlBindingProxy.h"
@@ -13,17 +16,30 @@ paylidwsdlBindingProxy::paylidwsdlBindingProxy()
{ paylidwsdlBindingProxy_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT);
}
paylidwsdlBindingProxy::paylidwsdlBindingProxy(const struct soap &_soap) :soap(_soap)
paylidwsdlBindingProxy::paylidwsdlBindingProxy(const struct soap &_soap) : soap(_soap)
{ }
paylidwsdlBindingProxy::paylidwsdlBindingProxy(const char *url)
{ paylidwsdlBindingProxy_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT);
soap_endpoint = url;
}
paylidwsdlBindingProxy::paylidwsdlBindingProxy(soap_mode iomode)
{ paylidwsdlBindingProxy_init(iomode, iomode);
}
paylidwsdlBindingProxy::paylidwsdlBindingProxy(const char *url, soap_mode iomode)
{ paylidwsdlBindingProxy_init(iomode, iomode);
soap_endpoint = url;
}
paylidwsdlBindingProxy::paylidwsdlBindingProxy(soap_mode imode, soap_mode omode)
{ paylidwsdlBindingProxy_init(imode, omode);
}
paylidwsdlBindingProxy::~paylidwsdlBindingProxy()
{ }
void paylidwsdlBindingProxy::paylidwsdlBindingProxy_init(soap_mode imode, soap_mode omode)
{ soap_imode(this, imode);
soap_omode(this, omode);
@@ -37,23 +53,31 @@ void paylidwsdlBindingProxy::paylidwsdlBindingProxy_init(soap_mode imode, soap_m
{"paylid", "urn:paylidwsdl", NULL, NULL},
{NULL, NULL, NULL, NULL}
};
this->namespaces = namespaces;
soap_set_namespaces(this, namespaces);
}
paylidwsdlBindingProxy::~paylidwsdlBindingProxy()
{ }
void paylidwsdlBindingProxy::destroy()
{ soap_destroy(this);
soap_end(this);
}
void paylidwsdlBindingProxy::reset()
{ destroy();
soap_done(this);
soap_initialize(this);
paylidwsdlBindingProxy_init(SOAP_IO_DEFAULT, SOAP_IO_DEFAULT);
}
void paylidwsdlBindingProxy::soap_noheader()
{ header = NULL;
{ this->header = NULL;
}
const SOAP_ENV__Header *paylidwsdlBindingProxy::soap_header()
{ return this->header;
}
const SOAP_ENV__Fault *paylidwsdlBindingProxy::soap_fault()
{ return (const paylid::SOAP_ENV__Fault*)this->fault;
{ return this->fault;
}
const char *paylidwsdlBindingProxy::soap_fault_string()
@@ -68,31 +92,40 @@ int paylidwsdlBindingProxy::soap_close_socket()
{ return soap_closesock(this);
}
int paylidwsdlBindingProxy::soap_force_close_socket()
{ return soap_force_closesock(this);
}
void paylidwsdlBindingProxy::soap_print_fault(FILE *fd)
{ ::soap_print_fault(this, fd);
}
#ifndef WITH_LEAN
#ifndef WITH_COMPAT
void paylidwsdlBindingProxy::soap_stream_fault(std::ostream& os)
{ ::soap_stream_fault(this, os);
}
#endif
char *paylidwsdlBindingProxy::soap_sprint_fault(char *buf, size_t len)
{ return ::soap_sprint_fault(this, buf, len);
}
#endif
int paylidwsdlBindingProxy::getAccountBalance(std::string terminalID, std::string hmac, struct paylid__getAccountBalanceResponse &_param_1)
int paylidwsdlBindingProxy::getAccountBalance(const char *endpoint, const char *soap_action, std::string terminalID, std::string hmac, struct paylid__getAccountBalanceResponse &_param_1)
{ struct soap *soap = this;
struct paylid__getAccountBalance soap_tmp_paylid__getAccountBalance;
const char *soap_action = NULL;
if (!soap_endpoint)
if (endpoint)
soap_endpoint = endpoint;
if (soap_endpoint == NULL)
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
soap_action = "urn:paylidwsdl#getAccountBalance";
if (soap_action == NULL)
soap_action = "urn:paylidwsdl#getAccountBalance";
soap_begin(soap);
soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
soap_tmp_paylid__getAccountBalance.terminalID = terminalID;
soap_tmp_paylid__getAccountBalance.hmac = hmac;
soap_begin(soap);
soap_set_version(soap, 1); /* SOAP1.1 */
soap_serializeheader(soap);
soap_serialize_paylid__getAccountBalance(soap, &soap_tmp_paylid__getAccountBalance);
if (soap_begin_count(soap))
@@ -108,7 +141,7 @@ int paylidwsdlBindingProxy::getAccountBalance(std::string terminalID, std::strin
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
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)
@@ -137,18 +170,21 @@ int paylidwsdlBindingProxy::getAccountBalance(std::string terminalID, std::strin
return soap_closesock(soap);
}
int paylidwsdlBindingProxy::transferFund(std::string terminalID, std::string toDestination, std::string hmac, struct paylid__transferFundResponse &_param_2)
int paylidwsdlBindingProxy::transferFund(const char *endpoint, const char *soap_action, std::string terminalID, std::string toDestination, std::string hmac, struct paylid__transferFundResponse &_param_2)
{ struct soap *soap = this;
struct paylid__transferFund soap_tmp_paylid__transferFund;
const char *soap_action = NULL;
if (!soap_endpoint)
if (endpoint)
soap_endpoint = endpoint;
if (soap_endpoint == NULL)
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
soap_action = "urn:paylidwsdl#transferFund";
if (soap_action == NULL)
soap_action = "urn:paylidwsdl#transferFund";
soap_begin(soap);
soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
soap_tmp_paylid__transferFund.terminalID = terminalID;
soap_tmp_paylid__transferFund.toDestination = toDestination;
soap_tmp_paylid__transferFund.hmac = hmac;
soap_begin(soap);
soap_set_version(soap, 1); /* SOAP1.1 */
soap_serializeheader(soap);
soap_serialize_paylid__transferFund(soap, &soap_tmp_paylid__transferFund);
if (soap_begin_count(soap))
@@ -164,7 +200,7 @@ int paylidwsdlBindingProxy::transferFund(std::string terminalID, std::string toD
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
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)
@@ -193,18 +229,21 @@ int paylidwsdlBindingProxy::transferFund(std::string terminalID, std::string toD
return soap_closesock(soap);
}
int paylidwsdlBindingProxy::checkTransferStatus(std::string terminalID, std::string transactionRef, std::string hmac, struct paylid__checkTransferStatusResponse &_param_3)
int paylidwsdlBindingProxy::checkTransferStatus(const char *endpoint, const char *soap_action, std::string terminalID, std::string transactionRef, std::string hmac, struct paylid__checkTransferStatusResponse &_param_3)
{ struct soap *soap = this;
struct paylid__checkTransferStatus soap_tmp_paylid__checkTransferStatus;
const char *soap_action = NULL;
if (!soap_endpoint)
if (endpoint)
soap_endpoint = endpoint;
if (soap_endpoint == NULL)
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
soap_action = "urn:paylidwsdl#checkTransferStatus";
if (soap_action == NULL)
soap_action = "urn:paylidwsdl#checkTransferStatus";
soap_begin(soap);
soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
soap_tmp_paylid__checkTransferStatus.terminalID = terminalID;
soap_tmp_paylid__checkTransferStatus.transactionRef = transactionRef;
soap_tmp_paylid__checkTransferStatus.hmac = hmac;
soap_begin(soap);
soap_set_version(soap, 1); /* SOAP1.1 */
soap_serializeheader(soap);
soap_serialize_paylid__checkTransferStatus(soap, &soap_tmp_paylid__checkTransferStatus);
if (soap_begin_count(soap))
@@ -220,7 +259,7 @@ int paylidwsdlBindingProxy::checkTransferStatus(std::string terminalID, std::str
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
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)
@@ -249,18 +288,21 @@ int paylidwsdlBindingProxy::checkTransferStatus(std::string terminalID, std::str
return soap_closesock(soap);
}
int paylidwsdlBindingProxy::directAirTimeTopUp(std::string terminalID, std::string topupData, std::string hmac, struct paylid__directAirTimeTopUpResponse &_param_4)
int paylidwsdlBindingProxy::directAirTimeTopUp(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__directAirTimeTopUpResponse &_param_4)
{ struct soap *soap = this;
struct paylid__directAirTimeTopUp soap_tmp_paylid__directAirTimeTopUp;
const char *soap_action = NULL;
if (!soap_endpoint)
if (endpoint)
soap_endpoint = endpoint;
if (soap_endpoint == NULL)
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
soap_action = "urn:paylidwsdl#checkTransferStatus";
if (soap_action == NULL)
soap_action = "urn:paylidwsdl#checkTransferStatus";
soap_begin(soap);
soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
soap_tmp_paylid__directAirTimeTopUp.terminalID = terminalID;
soap_tmp_paylid__directAirTimeTopUp.topupData = topupData;
soap_tmp_paylid__directAirTimeTopUp.hmac = hmac;
soap_begin(soap);
soap_set_version(soap, 1); /* SOAP1.1 */
soap_serializeheader(soap);
soap_serialize_paylid__directAirTimeTopUp(soap, &soap_tmp_paylid__directAirTimeTopUp);
if (soap_begin_count(soap))
@@ -276,7 +318,7 @@ int paylidwsdlBindingProxy::directAirTimeTopUp(std::string terminalID, std::stri
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
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)
@@ -305,18 +347,21 @@ int paylidwsdlBindingProxy::directAirTimeTopUp(std::string terminalID, std::stri
return soap_closesock(soap);
}
int paylidwsdlBindingProxy::currentXrate(std::string terminalID, std::string topupData, std::string hmac, struct paylid__currentXrateResponse &_param_5)
int paylidwsdlBindingProxy::currentXrate(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__currentXrateResponse &_param_5)
{ struct soap *soap = this;
struct paylid__currentXrate soap_tmp_paylid__currentXrate;
const char *soap_action = NULL;
if (!soap_endpoint)
if (endpoint)
soap_endpoint = endpoint;
if (soap_endpoint == NULL)
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
soap_action = "urn:paylidwsdl#currentXrate";
if (soap_action == NULL)
soap_action = "urn:paylidwsdl#currentXrate";
soap_begin(soap);
soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
soap_tmp_paylid__currentXrate.terminalID = terminalID;
soap_tmp_paylid__currentXrate.topupData = topupData;
soap_tmp_paylid__currentXrate.hmac = hmac;
soap_begin(soap);
soap_set_version(soap, 1); /* SOAP1.1 */
soap_serializeheader(soap);
soap_serialize_paylid__currentXrate(soap, &soap_tmp_paylid__currentXrate);
if (soap_begin_count(soap))
@@ -332,7 +377,7 @@ int paylidwsdlBindingProxy::currentXrate(std::string terminalID, std::string top
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
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)
@@ -361,18 +406,21 @@ int paylidwsdlBindingProxy::currentXrate(std::string terminalID, std::string top
return soap_closesock(soap);
}
int paylidwsdlBindingProxy::getAccount(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getAccountResponse &_param_6)
int paylidwsdlBindingProxy::getAccount(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__getAccountResponse &_param_6)
{ struct soap *soap = this;
struct paylid__getAccount soap_tmp_paylid__getAccount;
const char *soap_action = NULL;
if (!soap_endpoint)
if (endpoint)
soap_endpoint = endpoint;
if (soap_endpoint == NULL)
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
soap_action = "urn:paylidwsdl#getAccount";
if (soap_action == NULL)
soap_action = "urn:paylidwsdl#getAccount";
soap_begin(soap);
soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
soap_tmp_paylid__getAccount.terminalID = terminalID;
soap_tmp_paylid__getAccount.topupData = topupData;
soap_tmp_paylid__getAccount.hmac = hmac;
soap_begin(soap);
soap_set_version(soap, 1); /* SOAP1.1 */
soap_serializeheader(soap);
soap_serialize_paylid__getAccount(soap, &soap_tmp_paylid__getAccount);
if (soap_begin_count(soap))
@@ -388,7 +436,7 @@ int paylidwsdlBindingProxy::getAccount(std::string terminalID, std::string topup
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
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)
@@ -417,18 +465,21 @@ int paylidwsdlBindingProxy::getAccount(std::string terminalID, std::string topup
return soap_closesock(soap);
}
int paylidwsdlBindingProxy::getTrxStatus(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getTrxStatusResponse &_param_7)
int paylidwsdlBindingProxy::getTrxStatus(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__getTrxStatusResponse &_param_7)
{ struct soap *soap = this;
struct paylid__getTrxStatus soap_tmp_paylid__getTrxStatus;
const char *soap_action = NULL;
if (!soap_endpoint)
if (endpoint)
soap_endpoint = endpoint;
if (soap_endpoint == NULL)
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
soap_action = "urn:paylidwsdl#getTrxStatus";
if (soap_action == NULL)
soap_action = "urn:paylidwsdl#getTrxStatus";
soap_begin(soap);
soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
soap_tmp_paylid__getTrxStatus.terminalID = terminalID;
soap_tmp_paylid__getTrxStatus.topupData = topupData;
soap_tmp_paylid__getTrxStatus.hmac = hmac;
soap_begin(soap);
soap_set_version(soap, 1); /* SOAP1.1 */
soap_serializeheader(soap);
soap_serialize_paylid__getTrxStatus(soap, &soap_tmp_paylid__getTrxStatus);
if (soap_begin_count(soap))
@@ -444,7 +495,7 @@ int paylidwsdlBindingProxy::getTrxStatus(std::string terminalID, std::string top
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
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)
@@ -473,18 +524,21 @@ int paylidwsdlBindingProxy::getTrxStatus(std::string terminalID, std::string top
return soap_closesock(soap);
}
int paylidwsdlBindingProxy::getSupportedBanks(std::string terminalID, std::string topupData, std::string hmac, struct paylid__getSupportedBanksResponse &_param_8)
int paylidwsdlBindingProxy::getSupportedBanks(const char *endpoint, const char *soap_action, std::string terminalID, std::string topupData, std::string hmac, struct paylid__getSupportedBanksResponse &_param_8)
{ struct soap *soap = this;
struct paylid__getSupportedBanks soap_tmp_paylid__getSupportedBanks;
const char *soap_action = NULL;
if (!soap_endpoint)
if (endpoint)
soap_endpoint = endpoint;
if (soap_endpoint == NULL)
soap_endpoint = "https://www.paylid.com:443/rsl/service.php";
soap_action = "urn:paylidwsdl#getSupportedBanks";
if (soap_action == NULL)
soap_action = "urn:paylidwsdl#getSupportedBanks";
soap_begin(soap);
soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
soap_tmp_paylid__getSupportedBanks.terminalID = terminalID;
soap_tmp_paylid__getSupportedBanks.topupData = topupData;
soap_tmp_paylid__getSupportedBanks.hmac = hmac;
soap_begin(soap);
soap_set_version(soap, 1); /* SOAP1.1 */
soap_serializeheader(soap);
soap_serialize_paylid__getSupportedBanks(soap, &soap_tmp_paylid__getSupportedBanks);
if (soap_begin_count(soap))
@@ -500,7 +554,7 @@ int paylidwsdlBindingProxy::getSupportedBanks(std::string terminalID, std::strin
}
if (soap_end_count(soap))
return soap->error;
if (soap_connect(soap, soap_endpoint, soap_action)
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)