CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
soap_client_message.h
1
2#pragma once
3#include <system/object.h>
4#include <system/shared_ptr.h>
5
6#include "soap_message.h"
7
8namespace System { namespace Web { namespace Services { namespace Protocols {
9
10class SoapHttpClientProtocol;
11class SoapClientMethod;
12class SoapMethodStubInfo;
13
18class ASPOSECPP_SHARED_CLASS SoapClientMessage final : public System::Web::Services::Protocols::SoapMessage
19{
24
26 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
28 RTTI_INFO_DECL();
29
30public:
35
37 ASPOSECPP_SHARED_API String get_Action() override;
43 ASPOSECPP_SHARED_API virtual bool get_OneWay();
45 ASPOSECPP_SHARED_API String get_Url() override;
46
48 ASPOSECPP_SHARED_API SoapProtocolVersion get_SoapVersion() override;
56
57protected:
59 void EnsureInStage() override;
61 void EnsureOutStage() override;
62
63private:
67 String url;
68};
69
70}}}} // namespace System::Web::Services::Protocols
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 the data in a SOAP request sent or a SOAP response received. Objects of this class should ...
Definition: soap_client_message.h:19
String get_Url() override
Returns the XML Web service URL.
System::SharedPtr< SoapMethodStubInfo > MethodStubInfo
Method stub information.
Definition: soap_client_message.h:32
SoapClientMessage(System::SharedPtr< SoapHttpClientProtocol > client, System::SharedPtr< SoapMethodStubInfo > msi, String url, System::ArrayPtr< System::SharedPtr< Object > > parameters)
Constructs a new instance.
virtual bool get_OneWay()
Returns a value that indicates if a client doesn't wait for a server to finish processing a method.
SoapProtocolVersion get_SoapVersion() override
Returns the SOAP version that is used.
System::SharedPtr< SoapHttpClientProtocol > get_Client()
Returns an instance of the client proxy class.
String get_Action() override
Returns a value of the 'SOAPAction' attribute.
void EnsureOutStage() override
Checks if the current stage contains output parameters.
System::ArrayPtr< System::SharedPtr< Object > > Parameters
A collection of parameters.
Definition: soap_client_message.h:34
void EnsureInStage() override
Checks if the current stage contains input parameters.
Represent the SOAP message. Objects of this class should only be allocated using System::MakeObject()...
Definition: soap_message.h:28
SoapProtocolVersion
Enumerates the versions of SOAP.
Definition: soap_protocol_version.h:7
Definition: db_command.h:9