CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
soap_document_method_attribute.h
1
2#pragma once
3#include <system/attribute.h>
4
5#include <net/web/services/description/soap_format_extensions.h>
6#include <net/web/services/protocol/soap_parameter_style.h>
7
8namespace System { namespace Web { namespace Services { namespace Protocols {
9
14class ASPOSECPP_SHARED_CLASS SoapDocumentMethodAttribute final : public System::Attribute
15{
20
22 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
24 ASPOSECPP_SHARED_RTTI_INFO_DECL();
25
26public:
29 ASPOSECPP_SHARED_API String get_Action();
32 ASPOSECPP_SHARED_API void set_Action(String value);
35 ASPOSECPP_SHARED_API String get_Binding();
38 ASPOSECPP_SHARED_API void set_Binding(String value);
41 ASPOSECPP_SHARED_API bool get_OneWay();
44 ASPOSECPP_SHARED_API void set_OneWay(bool value);
48 // element.
49 ASPOSECPP_SHARED_API SoapParameterStyle get_ParameterStyle();
53 ASPOSECPP_SHARED_API void set_ParameterStyle(SoapParameterStyle value);
58 ASPOSECPP_SHARED_API String get_RequestElementName();
62 ASPOSECPP_SHARED_API void set_RequestElementName(String value);
65 ASPOSECPP_SHARED_API String get_RequestNamespace();
68 ASPOSECPP_SHARED_API void set_RequestNamespace(String value);
71 ASPOSECPP_SHARED_API String get_ResponseElementName();
74 ASPOSECPP_SHARED_API void set_ResponseElementName(String value);
77 ASPOSECPP_SHARED_API String get_ResponseNamespace();
80 ASPOSECPP_SHARED_API void set_ResponseNamespace(String value);
83 ASPOSECPP_SHARED_API Description::SoapBindingUse get_Use();
86 ASPOSECPP_SHARED_API void set_Use(Description::SoapBindingUse value);
87
89 ASPOSECPP_SHARED_API SoapDocumentMethodAttribute();
92 ASPOSECPP_SHARED_API SoapDocumentMethodAttribute(String action);
93
94private:
96 String action;
98 String binding;
100 bool oneWay;
102 SoapParameterStyle parameterStyle;
105 String requestElementName;
107 String requestNamespace;
109 String responseElementName;
111 String responseNamespace;
114};
115
116}}}} // namespace System::Web::Services::Protocols
A base class for custom attributes. Objects of this class should only be allocated using System::Make...
Definition: attribute.h:16
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:122
Specifies that all SOAP messages passed or returned from the method use the Document formatting....
Definition: soap_document_method_attribute.h:15
void set_RequestElementName(String value)
Sets the name of the XML element associated with the SOAP request, which is defined in a service desc...
void set_ParameterStyle(SoapParameterStyle value)
Sets a value that indicates if parameters are encapsulated within a single XML element beneath the 'B...
void set_Action(String value)
Sets a value of the 'SOAPAction' attribute.
SoapParameterStyle get_ParameterStyle()
Gets a value that indicates if parameters are encapsulated within a single XML element beneath the 'B...
String get_ResponseNamespace()
Gets the namespace associated with the SOAP response.
String get_RequestNamespace()
Gets the namespace associated with the SOAP request.
void set_ResponseNamespace(String value)
Sets the namespace associated with the SOAP response.
void set_OneWay(bool value)
Sets a value that indicates if the client doesn't wait for the server to finish processing a method.
String get_RequestElementName()
Gets the name of the XML element associated with the SOAP request, which is defined in a service desc...
SoapDocumentMethodAttribute(String action)
Constructs a new instance.
String get_Binding()
Gets the binding for which an XML web service method is implementing an operation.
Description::SoapBindingUse get_Use()
Gets a value that determines the message encoding method.
String get_ResponseElementName()
Gets the name of the XML element associated with the SOAP response.
bool get_OneWay()
Gets a value that indicates if a client doesn't wait for a server to finish processing a method.
String get_Action()
Gets a value of the 'SOAPAction' attribute.
void set_Binding(String value)
Sets the binding for which an XML web service method is implementing an operation.
void set_RequestNamespace(String value)
Sets the namespace associated with the SOAP request.
void set_ResponseElementName(String value)
Sets the name of the XML element associated with the SOAP response.
void set_Use(Description::SoapBindingUse value)
Sets a value that determines the message encoding method.
SoapBindingUse
Specifies the message encoding method.
Definition: soap_format_extensions.h:19
SoapParameterStyle
Enumerates the parameters formats in a SOAP message.
Definition: soap_parameter_style.h:8
Definition: db_command.h:9