3#include <system/iasyncresult.h>
4#include <system/io/stream.h>
5#include <system/object.h>
6#include <system/shared_ptr.h>
7#include <system/string.h>
9#include <xml/xml_writer.h>
11#include <net/web_request.h>
12#include <system/array.h>
13#include <system/async_callback.h>
14#include <system/collections/dictionary.h>
15#include <net/web/services/protocol/http_web_client_protocol.h>
16#include <net/web/services/protocol/soap_protocol_version.h>
17#include <system/threading/send_or_post_callback.h>
18#include <xml/xml_reader.h>
19#include <xml/xml_serializer_implementation.h>
21namespace System {
namespace Web {
namespace Services {
namespace Protocols {
23class SoapTypeStubInfo;
24class SoapClientMessage;
47 ASPOSECPP_SHARED_API
void
Forward declaration of Dictionary class.
Definition: dictionary.h:96
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:122
Represents a particular type and provides information about it.
Definition: type_info.h:109
This base class is used in all XML Web service client proxies that use HTTP. Objects of this class sh...
Definition: http_web_client_protocol.h:21
The client proxy services must inherit this class when the SOAP is used. Objects of this class should...
Definition: soap_http_client_protocol.h:31
SoapHttpClientProtocol()
Constructs a new instance.
void InvokeAsync(String methodName, System::ArrayPtr< System::SharedPtr< Object > > parameters, Threading::SendOrPostCallback callback, System::SharedPtr< Object > userState)
Calls the specified method asynchronously.
virtual System::SharedPtr< Xml::XmlReader > GetReaderForMessage(System::SharedPtr< SoapClientMessage > message, int32_t bufferSize)
Creates an XmlReader-class instance using the specified message.
System::ArrayPtr< System::SharedPtr< Object > > Invoke(String method_name, System::ArrayPtr< System::SharedPtr< Object > > parameters)
Calls the specified method synchronously.
virtual System::SharedPtr< Net::WebRequest > GetWebRequest(System::SharedPtr< System::Uri > uri)
Creates a WebRequest-class instance for the specified URI.
void Discover()
Binds the current instance to the XML Web service.
virtual System::SharedPtr< Xml::XmlWriter > GetWriterForMessage(System::SharedPtr< SoapClientMessage > message, int32_t bufferSize)
Creates an XmlWriter-class instance using the specified message.
System::SharedPtr< IAsyncResult > BeginInvoke(String methodName, System::ArrayPtr< System::SharedPtr< Object > > parameters, AsyncCallback callback, System::SharedPtr< Object > asyncState)
Initiates an asynchronous call.
SoapProtocolVersion get_SoapVersion()
Gets the SOAP version.
void set_SoapVersion(SoapProtocolVersion value)
Sets the SOAP version.
System::ArrayPtr< System::SharedPtr< Object > > EndInvoke(System::SharedPtr< IAsyncResult > asyncResult)
Waits until the specified asynchronous call completes.
void InvokeAsync(String methodName, System::ArrayPtr< System::SharedPtr< Object > > parameters, Threading::SendOrPostCallback callback)
void InitializeSerializers(const System::TypeInfo &serviceType, System::SharedPtr< System::Xml::Serialization::XmlSerializerImplementation > impl, String name)
Initializes the internal fields.
System::MulticastDelegate< void(System::SharedPtr< Object >)> SendOrPostCallback
Definition: send_or_post_callback.h:12
SoapProtocolVersion
Enumerates the versions of SOAP.
Definition: soap_protocol_version.h:7
Definition: db_command.h:9
System::MulticastDelegate< void(SharedPtr< IAsyncResult >)> AsyncCallback
A delegate type that represents a method to be called when asynchronous operation completes.
Definition: async_callback.h:13