The client proxy services must inherit this class when the SOAP is used. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
More...
|
SoapProtocolVersion | get_SoapVersion () |
| Gets the SOAP version. More...
|
|
void | set_SoapVersion (SoapProtocolVersion value) |
| Sets the SOAP version. More...
|
|
| SoapHttpClientProtocol () |
| Constructs a new instance. More...
|
|
void | Discover () |
| Binds the current instance to the XML Web service. More...
|
|
void | InitializeSerializers (const System::TypeInfo &serviceType, System::SharedPtr< System::Xml::Serialization::XmlSerializerImplementation > impl, String name) |
| Initializes the internal fields. More...
|
|
bool | get_AllowAutoRedirect () |
| Gets a value that indicates if the client follows server redirects. More...
|
|
void | set_AllowAutoRedirect (bool value) |
| Sets a value that indicates if the client follows server redirects. More...
|
|
System::SharedPtr< Security::Cryptography::X509Certificates::X509CertificateCollection > | get_ClientCertificates () |
| Returns the collection of the client certificates. More...
|
|
System::SharedPtr< System::Net::CookieContainer > | get_CookieContainer () |
| Gets a container that is used to store cookies. More...
|
|
void | set_CookieContainer (System::SharedPtr< System::Net::CookieContainer > value) |
| Sets a container that is used to store cookies. More...
|
|
bool | get_EnableDecompression () |
| Gets a value that indicates if decompression is enabled. More...
|
|
void | set_EnableDecompression (bool value) |
| Sets a value that indicates if decompression is enabled. More...
|
|
System::SharedPtr< Net::IWebProxy > | get_Proxy () |
| Gets proxy information. More...
|
|
void | set_Proxy (System::SharedPtr< Net::IWebProxy > value) |
| Sets proxy information. More...
|
|
String | get_UserAgent () |
| Gets a value of the 'User-Agent' header. More...
|
|
void | set_UserAgent (String value) |
| Sets a value of the 'User-Agent' header. More...
|
|
bool | get_UnsafeAuthenticatedConnectionSharing () |
| Gets a value that indicates if the connection sharing is enabled when the client uses NTLM authentication. More...
|
|
void | set_UnsafeAuthenticatedConnectionSharing (bool value) |
| Sets a value that indicates if the connection sharing is enabled when the client uses NTLM authentication. More...
|
|
virtual void | CheckForCookies (System::SharedPtr< Net::HttpWebResponse > response) |
| Appends cookies from the specified request to the internal cookie container. More...
|
|
void | UnregisterMapping (System::SharedPtr< Object > userState) |
|
System::SharedPtr< Uri > | get_Uri () |
| Gets the XML Web service URI. More...
|
|
void | set_Uri (System::SharedPtr< Uri > uri) |
| Sets the XML Web service URI. More...
|
|
String | get_ConnectionGroupName () |
| Gets the name of the connection group. More...
|
|
void | set_ConnectionGroupName (String value) |
| Sets the name of the connection group. More...
|
|
System::SharedPtr< Net::ICredentials > | get_Credentials () |
| Gets the authentication information. More...
|
|
void | set_Credentials (System::SharedPtr< Net::ICredentials > value) |
| Sets the authentication information. More...
|
|
bool | get_PreAuthenticate () |
| Gets a value that indicates if pre-authentication is enabled. More...
|
|
void | set_PreAuthenticate (bool value) |
| Sets a value that indicates if pre-authentication is enabled. More...
|
|
System::SharedPtr< Text::Encoding > | get_RequestEncoding () |
| Gets the encoding that is used to make the client requests. More...
|
|
void | set_RequestEncoding (System::SharedPtr< Text::Encoding > value) |
| Sets the encoding that is used to make the client requests. More...
|
|
int32_t | get_Timeout () |
| Gets the timespan to wait before the request times out. More...
|
|
void | set_Timeout (int32_t value) |
| Sets the timespan to wait before the request times out. More...
|
|
String | get_Url () |
| Gets the XML Web service URL. More...
|
|
void | set_Url (String value) |
| Sets the XML Web service URL. More...
|
|
bool | get_UseDefaultCredentials () |
| Gets a value that indicates if the 'Credential' property is equal to the 'DefaultCredentials' property. More...
|
|
void | set_UseDefaultCredentials (bool value) |
| Sets a value that indicates if the 'Credential' property is equal to the 'DefaultCredentials' property. More...
|
|
virtual void | Abort () |
| Cancels the request. More...
|
|
| Object () |
| Creates object. Initializes all internal data structures. More...
|
|
virtual | ~Object () |
| Destroys object. Frees all internal data structures. More...
|
|
| Object (Object const &x) |
| Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
|
|
Object & | operator= (Object const &x) |
| Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
|
|
Object * | SharedRefAdded () |
| Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
|
|
int | SharedRefRemovedSafe () |
| Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
|
|
int | RemovedSharedRefs (int count) |
| Decreases shared reference count by specified value. More...
|
|
Detail::SmartPtrCounter * | WeakRefAdded () |
| Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
|
|
void | WeakRefRemoved () |
| Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
|
|
Detail::SmartPtrCounter * | GetCounter () |
| Gets reference counter data structure associated with the object. More...
|
|
int | SharedCount () const |
| Gets current value of shared reference counter. More...
|
|
void | Lock () |
| Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
|
|
void | Unlock () |
| Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
|
|
virtual bool | Equals (ptr obj) |
| Compares objects using C# Object.Equals semantics. More...
|
|
virtual int32_t | GetHashCode () const |
| Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
|
|
virtual String | ToString () const |
| Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
|
|
virtual ptr | MemberwiseClone () const |
| Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
|
|
virtual const TypeInfo & | GetType () const |
| Gets actual type of object. Analog of C# System.Object.GetType() call. More...
|
|
virtual bool | Is (const TypeInfo &targetType) const |
| Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
|
|
virtual void | SetTemplateWeakPtr (uint32_t argument) |
| Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
|
|
virtual bool | FastCast (const Details::FastRttiBase &helper, void **out_ptr) const |
| For internal purposes only. More...
|
|
template<> |
bool | ReferenceEquals (String const &str, std::nullptr_t) |
| Specialization of Object::ReferenceEquals for case of string and nullptr. More...
|
|
template<> |
bool | ReferenceEquals (String const &str1, String const &str2) |
| Specialization of Object::ReferenceEquals for case of strings. More...
|
|
|
System::SharedPtr< IAsyncResult > | BeginInvoke (String methodName, System::ArrayPtr< System::SharedPtr< Object > > parameters, AsyncCallback callback, System::SharedPtr< Object > asyncState) |
| Initiates an asynchronous call. More...
|
|
System::ArrayPtr< System::SharedPtr< Object > > | EndInvoke (System::SharedPtr< IAsyncResult > asyncResult) |
| Waits until the specified asynchronous call completes. More...
|
|
virtual System::SharedPtr< Net::WebRequest > | GetWebRequest (System::SharedPtr< System::Uri > uri) |
| Creates a WebRequest-class instance for the specified URI. More...
|
|
virtual System::SharedPtr< Xml::XmlReader > | GetReaderForMessage (System::SharedPtr< SoapClientMessage > message, int32_t bufferSize) |
| Creates an XmlReader-class instance using the specified message. More...
|
|
virtual System::SharedPtr< Xml::XmlWriter > | GetWriterForMessage (System::SharedPtr< SoapClientMessage > message, int32_t bufferSize) |
| Creates an XmlWriter-class instance using the specified message. More...
|
|
System::ArrayPtr< System::SharedPtr< Object > > | Invoke (String method_name, System::ArrayPtr< System::SharedPtr< Object > > parameters) |
| Calls the specified method synchronously. More...
|
|
void | InvokeAsync (String methodName, System::ArrayPtr< System::SharedPtr< Object > > parameters, Threading::SendOrPostCallback callback) |
|
void | InvokeAsync (String methodName, System::ArrayPtr< System::SharedPtr< Object > > parameters, Threading::SendOrPostCallback callback, System::SharedPtr< Object > userState) |
| Calls the specified method asynchronously. More...
|
|
| HttpWebClientProtocol () |
| Constructs a new instance. More...
|
|
System::SharedPtr< Net::WebRequest > | GetWebRequest (System::SharedPtr< Uri > uri) override |
| Creates a WebRequest-class instance for the specified URI. More...
|
|
System::SharedPtr< Net::WebResponse > | GetWebResponse (System::SharedPtr< Net::WebRequest > request) override |
| Creates a WebResponse-class instance for the specified request. More...
|
|
System::SharedPtr< Net::WebResponse > | GetWebResponse (System::SharedPtr< Net::WebRequest > request, System::SharedPtr< IAsyncResult > result) override |
| Creates a WebResponse-class instance for the specified request. More...
|
|
void | CancelAsync (System::SharedPtr< Object > userState) |
|
| WebClientProtocol () |
| Constructs a new instance. More...
|
|
virtual System::SharedPtr< Net::WebRequest > | GetWebRequest (System::SharedPtr< Uri > uri) |
| Creates a WebRequest-class instance for the specified URI. More...
|
|
virtual System::SharedPtr< Net::WebResponse > | GetWebResponse (System::SharedPtr< Net::WebRequest > request) |
| Creates a WebResponse-class instance for the specified request. More...
|
|
virtual System::SharedPtr< Net::WebResponse > | GetWebResponse (System::SharedPtr< Net::WebRequest > request, System::SharedPtr< IAsyncResult > result) |
| Creates a WebResponse-class instance for the specified request. More...
|
|
|
typedef SmartPtr< Object > | ptr |
| Alias for smart pointer type. More...
|
|
static bool | ReferenceEquals (ptr const &objA, ptr const &objB) |
| Compares objects by reference. More...
|
|
template<typename T > |
static std::enable_if<!IsSmartPtr< T >::value, bool >::type | ReferenceEquals (T const &objA, T const &objB) |
| Compares objects by reference. More...
|
|
template<typename T > |
static std::enable_if<!IsSmartPtr< T >::value, bool >::type | ReferenceEquals (T const &objA, std::nullptr_t) |
| Reference-compares value type object with nullptr. More...
|
|
template<typename T1 , typename T2 > |
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type | Equals (T1 const &objA, T2 const &objB) |
| Compares reference type objects in C# style. More...
|
|
template<typename T1 , typename T2 > |
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type | Equals (T1 const &objA, T2 const &objB) |
| Compares value type objects in C# style. More...
|
|
static const TypeInfo & | Type () |
| Implements C# typeof(System.Object) construct. More...
|
|
template<> |
bool | Equals (float const &objA, float const &objB) |
| Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More...
|
|
template<> |
bool | Equals (double const &objA, double const &objB) |
| Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More...
|
|
System::SharedPtr< Uri > | uri |
| The XML Web service URI. More...
|
|
static void | AddToCache (const TypeInfo &type, System::SharedPtr< Object > value) |
| Adds the specified instance of the client protocol handler to the internal cache. More...
|
|
static System::SharedPtr< Object > | GetFromCache (const TypeInfo &type) |
| Gets the client protocol handler from the cache. More...
|
|
The client proxy services must inherit this class when the SOAP is used. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.