/* soapGeoIPServiceSoap12Proxy.h
   Generated by gSOAP 2.8.8 from GeoIPService.h

Copyright(C) 2000-2012, Robert van Engelen, Genivia Inc. All Rights Reserved.
The generated code is released under one of the following licenses:
1) GPL or 2) 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 soapGeoIPServiceSoap12Proxy_H
#define soapGeoIPServiceSoap12Proxy_H
#include "soapH.h"

class SOAP_CMAC GeoIPServiceSoap12Proxy : public soap
{ public:
	/// Endpoint URL of service 'GeoIPServiceSoap12Proxy' (change as needed)
	const char *soap_endpoint;
	/// Constructor
	GeoIPServiceSoap12Proxy();
	/// Construct from another engine state
	GeoIPServiceSoap12Proxy(const struct soap&);
	/// Constructor with endpoint URL
	GeoIPServiceSoap12Proxy(const char *url);
	/// Constructor with engine input+output mode control
	GeoIPServiceSoap12Proxy(soap_mode iomode);
	/// Constructor with URL and input+output mode control
	GeoIPServiceSoap12Proxy(const char *url, soap_mode iomode);
	/// Constructor with engine input and output mode control
	GeoIPServiceSoap12Proxy(soap_mode imode, soap_mode omode);
	/// Destructor frees deserialized data
	virtual	~GeoIPServiceSoap12Proxy();
	/// Initializer used by constructors
	virtual	void GeoIPServiceSoap12Proxy_init(soap_mode imode, soap_mode omode);
	/// Delete all deserialized data (uses 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();
	/// 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 'GetGeoIP' (returns error code or SOAP_OK)
	virtual	int GetGeoIP(_ns1__GetGeoIP *ns1__GetGeoIP, _ns1__GetGeoIPResponse *ns1__GetGeoIPResponse) { return GetGeoIP(NULL, NULL, ns1__GetGeoIP, ns1__GetGeoIPResponse); }
	virtual	int GetGeoIP(const char *endpoint, const char *soap_action, _ns1__GetGeoIP *ns1__GetGeoIP, _ns1__GetGeoIPResponse *ns1__GetGeoIPResponse);

	/// Web service operation 'GetGeoIPContext' (returns error code or SOAP_OK)
	virtual	int GetGeoIPContext(_ns1__GetGeoIPContext *ns1__GetGeoIPContext, _ns1__GetGeoIPContextResponse *ns1__GetGeoIPContextResponse) { return GetGeoIPContext(NULL, NULL, ns1__GetGeoIPContext, ns1__GetGeoIPContextResponse); }
	virtual	int GetGeoIPContext(const char *endpoint, const char *soap_action, _ns1__GetGeoIPContext *ns1__GetGeoIPContext, _ns1__GetGeoIPContextResponse *ns1__GetGeoIPContextResponse);
};
#endif
