1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
|
// ************************************************************************ //
// Les types déclarés dans ce fichier ont été générés à partir de données lues
// depuis le fichier WSDL décrit ci-dessous :
// WSDL : http://41.204.94.29:8282/Managesms-war/ServiceSMS?WSDL
// >Importer : http://41.204.94.29:8282/Managesms-war/ServiceSMS?WSDL>0
// >Importer : http://41.204.94.29:8282/Managesms-war/ServiceSMS?xsd=1
// >Importer : http://41.204.94.29:8282/Managesms-war/ServiceSMS?xsd=2
// >Importer : http://41.204.94.29:8282/Managesms-war/ServiceSMS?WSDL>1
// Encodage : UTF-8
// Version : 1.0
// (15.07.2019 12:48:04 - - $Rev: 25127 $)
// ************************************************************************ //
#include <vcl.h>
#pragma hdrstop
#if !defined(ServiceSMSH)
#include "ServiceSMS.h"
#endif
namespace NS_ServiceSMS {
_di_ServiceSMS GetServiceSMS(bool useWSDL, AnsiString addr, THTTPRIO* HTTPRIO)
{
static const char* defWSDL= "http://41.204.94.29:8282/Managesms-war/ServiceSMS?WSDL";
static const char* defURL = "http://41.204.94.29:8282/Managesms-war/ServiceSMS";
static const char* defSvc = "ServiceSMS";
static const char* defPrt = "ServiceSMSPort";
if (addr=="")
addr = useWSDL ? defWSDL : defURL;
THTTPRIO* rio = HTTPRIO ? HTTPRIO : new THTTPRIO(0);
if (useWSDL) {
rio->WSDLLocation = addr;
rio->Service = defSvc;
rio->Port = defPrt;
} else {
rio->URL = addr;
}
_di_ServiceSMS service;
rio->QueryInterface(service);
if (!service && !HTTPRIO)
delete rio;
return service;
}
// ************************************************************************ //
// Cette routine enregistre les interfaces et les types exposés par le service Web.
// ************************************************************************ //
static void RegTypes()
{
/* ServiceSMS */
InvRegistry()->RegisterInterface(__delphirtti(ServiceSMS), L"http://service.managesms.nexxys.com/", L"UTF-8");
InvRegistry()->RegisterDefaultSOAPAction(__delphirtti(ServiceSMS), L"");
InvRegistry()->RegisterInvokeOptions(__delphirtti(ServiceSMS), ioDocument);
InvRegistry()->RegisterExternalParamName(__delphirtti(ServiceSMS), L"changePassword", L"return_", L"return");
InvRegistry()->RegisterExternalParamName(__delphirtti(ServiceSMS), L"crypter", L"return_", L"return");
InvRegistry()->RegisterExternalParamName(__delphirtti(ServiceSMS), L"genererPWD", L"return_", L"return");
InvRegistry()->RegisterExternalParamName(__delphirtti(ServiceSMS), L"envoyerSMS", L"return_", L"return");
InvRegistry()->RegisterExternalParamName(__delphirtti(ServiceSMS), L"envoyerSMSAFB", L"return_", L"return");
InvRegistry()->RegisterExternalParamName(__delphirtti(ServiceSMS), L"envoyerSMSNew", L"return_", L"return");
InvRegistry()->RegisterExternalParamName(__delphirtti(ServiceSMS), L"envoyerUnSMS", L"return_", L"return");
InvRegistry()->RegisterExternalParamName(__delphirtti(ServiceSMS), L"consulterSolde", L"return_", L"return");
InvRegistry()->RegisterExternalParamName(__delphirtti(ServiceSMS), L"envoyerSMSURL", L"return_", L"return");
InvRegistry()->RegisterExternalParamName(__delphirtti(ServiceSMS), L"listContactsUser", L"return_", L"return");
InvRegistry()->RegisterExternalParamName(__delphirtti(ServiceSMS), L"emailValidator", L"return_", L"return");
InvRegistry()->RegisterExternalParamName(__delphirtti(ServiceSMS), L"phoneValidator", L"return_", L"return");
InvRegistry()->RegisterExternalParamName(__delphirtti(ServiceSMS), L"formatTel", L"return_", L"return");
/* Array_Of_string */
RemClassRegistry()->RegisterXSInfo(__delphirtti(Array_Of_string), L"http://www.w3.org/2001/XMLSchema", L"Array_Of_string");
RemClassRegistry()->RegisterSerializeOptions(__delphirtti(Array_Of_string), (TSerializationOptions() << xoInlineArrays));
/* stringArray */
RemClassRegistry()->RegisterXSClass(__classid(stringArray), L"http://jaxb.dev.java.net/array", L"stringArray");
/* Array_Of_stringArray */
RemClassRegistry()->RegisterXSInfo(__delphirtti(Array_Of_stringArray), L"http://jaxb.dev.java.net/array", L"Array_Of_stringArray");
RemClassRegistry()->RegisterSerializeOptions(__delphirtti(Array_Of_stringArray), (TSerializationOptions() << xoInlineArrays));
/* Array_Of_int */
RemClassRegistry()->RegisterXSInfo(__delphirtti(Array_Of_int), L"http://www.w3.org/2001/XMLSchema", L"Array_Of_int");
RemClassRegistry()->RegisterSerializeOptions(__delphirtti(Array_Of_int), (TSerializationOptions() << xoInlineArrays));
}
#pragma startup RegTypes 32
}; // NS_ServiceSMS |
Partager