3
* $Id: clientesoapintegracion.h 3066 2010-12-21 10:10:14Z carlos $
6
* Copyright 2008-10 MetaEmotion S.L. All rights reserved.
7
* http://ginkgo-cadx.com
9
* This file is licensed under LGPL v3 license.
10
* See License.txt for details
21
namespace GnkNetwork {
23
class ClienteSOAPException : public std::exception {
25
ClienteSOAPException(const std::string& msg, bool fatal = true) throw()
30
~ClienteSOAPException() throw()
34
const std::string& GetCause() const {
38
bool IsFatal() const {
42
operator const std::string () const;
44
friend std::ostream& operator<<(std::ostream& out, const ClienteSOAPException& ex)
46
out << (const std::string&) ex;
50
friend std::ostream& operator<<(std::ostream& out, const ClienteSOAPException* ex)
67
class ClienteSOAPIntegracion
69
ClienteSOAPIntegracion();
70
~ClienteSOAPIntegracion();
74
static std::string GetXMLPeticion(const std::string& xmlTicket);
76
static void ParseURL(const std::string url,std::string& protocolo, std::string& host, int& puerto, std::string& path);
78
static std::string ConstruirPeticionSOAP(const std::string& ticket);
79
static std::string ParsearSOAPRespuesta(const std::string& respuesta);
80
static bool CompararNombreIgnorandoNamespace(const wxString& nombre,const wxString& comparacion);