This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Private Sub TestXMLHTTP() | |
Dim username As String | |
Dim pin As String | |
Dim broadcastType As String | |
Dim phoneNumberSource As String | |
Dim broadcastName As String | |
Dim checkCallingWindow As String | |
Dim commaDelimitedPhoneNumbers As String | |
Dim TTSText As String |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Option Compare Database | |
Private Sub TestXMLHTTP() | |
Dim username As String | |
Dim pin As String | |
Dim AudioType As String | |
Dim BinaryMessage As String | |
Dim AudioDescription As String | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
( | |
cat <<EOF | |
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://wwCw.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> | |
<soap:Body> | |
<GetListContents xmlns="http://call-em-all.com/"> | |
<myRequest> | |
<username>##U##</username> | |
<pin>##P##</pin> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://curl.haxx.se/download/curl-7.21.3.tar.gz | |
gunzip curl-7.21.3.tar.gz | |
tar -xvvf curl-7.21.3.tar | |
cd curl-7.21.3 | |
./configure --prefix=/usr | |
make | |
make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://sourceforge.net/projects/gsoap2/files/gSOAP/gsoap_2.8.1.zip/download | |
unzip gsoap_2.8.1.zip | |
cd gsoap-2.8/ | |
./configure --prefix=/usr | |
make | |
make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir /usr/local/src/CEAAPI | |
cd /usr/local/src/CEAAPI | |
cp /usr/local/src/gsoap-2.8/gsoap/typemap.dat . | |
wsdl2h -o CEAAPI.h http://staging-api.call-em-all.com/webservices/CEAAPI_v2.asmx?WSDL | |
soapcpp2 -i CEAAPI.h -I/usr/share/gsoap/import/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To use regular char* strings instead of std::string, use: | |
xsd__string = | char* | char* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "soapH.h" // include header files | |
#include "soapCEAAPI_USCOREv2Soap12Proxy.h" // get proxy | |
#include "CEAAPI_USCOREv2Soap12.nsmap" // get namespace bindings | |
using namespace std; | |
int main() | |
{ | |
CEAAPI_USCOREv2Soap12Proxy q; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
g++ -o sample sample.cpp soapC.cpp soapCEAAPI_USCOREv2SoapProxy.cpp soapCEAAPI_USCOREv2Soap12Proxy.cpp -lgsoap++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SRV1092:/usr/local/src/CEAAPI# ./sample | |
ErrorCode : 0 | |
ErrorMessage : Operation Successful | |
BroadcastID : 12939 | |
GoodrecordCount : 1 | |
BadRecordCount : 0 |
OlderNewer