CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
soap.h
1
2#pragma once
3#include <system/object.h>
4#include <system/shared_ptr.h>
5#include <system/string.h>
6
7namespace System { namespace Web { namespace Services {
8
10class Soap
11{
12public:
15 {
16 public:
18 static const String MustUnderstand;
20 static const String Actor;
22 static const String EncodingStyle;
24 static const String Lang;
26 static const String ConformsTo;
27
29 Attribute() = delete;
30 };
31
33 class Element
34 {
35 public:
37 static const String Envelope;
39 static const String Header;
41 static const String Body;
43 static const String Fault;
45 static const String FaultActor;
47 static const String FaultCode;
49 static const String FaultDetail;
51 static const String FaultString;
53 static const String StackTrace;
55 static const String Message;
57 static const String Claim;
58
60 Element() = delete;
61 };
62
64 class Code
65 {
66 public:
68 static const String Server;
70 static const String VersionMismatch;
72 static const String MustUnderstand;
74 static const String Client;
75
77 Code() = delete;
78 };
79
80public:
82 static const String XmlNamespace;
84 static const String Encoding;
86 static const String Namespace;
90 static const String BasicProfile1_1;
92 static const String Action;
94 static const String ArrayType;
96 static const String Prefix;
98 static const String ClaimPrefix;
103
105 Soap() = delete;
106};
107
109class Soap12 final
110{
111public:
114 {
115 public:
119 static const String Role;
121 static const String Relay;
122
124 Attribute() = delete;
125 };
126
128 class Element final
129 {
130 public:
132 static const String Upgrade;
136 static const String FaultRole;
138 static const String FaultReason;
142 static const String FaultCode;
144 static const String FaultNode;
146 static const String FaultCodeValue;
148 static const String FaultSubcode;
150 static const String FaultDetail;
151
153 Element() = delete;
154 };
155
157 class Code final
158 {
159 public:
163 static const String MustUnderstand;
167 static const String Sender;
169 static const String Receiver;
178
180 Code() = delete;
181 };
182
183public:
185 static const String Namespace;
187 static const String Encoding;
189 static const String RpcNamespace;
191 static const String Prefix;
192
194 Soap12() = delete;
195};
196
197}}} // namespace System::Web::Services
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:122
Contains the names of the attributes of SOAP version 1.2.
Definition: soap.h:114
Attribute()=delete
The default constructor is deleted.
static const String Relay
The string representation of the 'relay' attribute name.
Definition: soap.h:121
static const String Role
The string representation of the 'role' attribute name.
Definition: soap.h:119
static const String UpgradeEnvelopeQname
The string representation of the 'qname' attribute name.
Definition: soap.h:117
Contains the names of the codes of SOAP version 1.2.
Definition: soap.h:158
static const String Sender
The string representation of the 'Sender' SOAP version 1.2 code.
Definition: soap.h:167
static const String RpcProcedureNotPresentSubcode
The string representation of the 'ProcedureNotPresent' SOAP version 1.2 code.
Definition: soap.h:171
static const String Receiver
The string representation of the 'Receiver' SOAP version 1.2 code.
Definition: soap.h:169
static const String VersionMismatch
The string representation of the 'VersionMismatch' SOAP version 1.2 code.
Definition: soap.h:161
static const String EncodingUntypedValueFaultSubcode
The string representation of the 'UntypedValue' SOAP version 1.2 code.
Definition: soap.h:177
static const String EncodingMissingIDFaultSubcode
The string representation of the 'MissingID' SOAP version 1.2 code.
Definition: soap.h:175
static const String DataEncodingUnknown
The string representation of the 'DataEncodingUnknown' SOAP version 1.2 code.
Definition: soap.h:165
static const String RpcBadArgumentsSubcode
The string representation of the 'BadArguments' SOAP version 1.2 code.
Definition: soap.h:173
Code()=delete
The default constructor is deleted.
static const String MustUnderstand
The string representation of the 'MustUnderstand' SOAP version 1.2 code.
Definition: soap.h:163
Contains the names of the elements of SOAP version 1.2.
Definition: soap.h:129
static const String Upgrade
The string representation of the 'Upgrade' element name.
Definition: soap.h:132
static const String UpgradeEnvelope
The string representation of the 'SupportedEnvelope' element name.
Definition: soap.h:134
static const String FaultDetail
The string representation of the 'Detail' element name.
Definition: soap.h:150
static const String FaultNode
The string representation of the 'Node' element name.
Definition: soap.h:144
static const String FaultSubcode
The string representation of the 'Subcode' element name.
Definition: soap.h:148
static const String FaultRole
The string representation of the 'Role' element name.
Definition: soap.h:136
static const String FaultReasonText
The string representation of the 'Text' element name.
Definition: soap.h:140
static const String FaultCodeValue
The string representation of the 'Value' element name.
Definition: soap.h:146
Element()=delete
The default constructor is deleted.
static const String FaultCode
The string representation of the 'Code' element name.
Definition: soap.h:142
static const String FaultReason
The string representation of the 'Reason' element name.
Definition: soap.h:138
Contains the string constants of SOAP version 1.2.
Definition: soap.h:110
static const String Encoding
The value of the 'xmlns:SOAP-ENC' attribute.
Definition: soap.h:187
static const String Prefix
The SOAP version 1.2 prefix.
Definition: soap.h:191
Soap12()=delete
The default constructor is deleted.
static const String RpcNamespace
The value of the 'xmlns:rpc' attribute.
Definition: soap.h:189
static const String Namespace
The value of the 'xmlns:soapenv' attribute.
Definition: soap.h:185
Contains the names of the SOAP attributes.
Definition: soap.h:15
static const String EncodingStyle
The string representation of the 'encodingStyle' attribute name.
Definition: soap.h:22
static const String MustUnderstand
The string representation of the 'mustUnderstand' attribute name.
Definition: soap.h:18
static const String Lang
The string representation of the 'lang' attribute name.
Definition: soap.h:24
static const String Actor
The string representation of the 'actor' attribute name.
Definition: soap.h:20
Attribute()=delete
The default constructor is deleted.
static const String ConformsTo
The string representation of the 'conformsTo' attribute name.
Definition: soap.h:26
Contains the names of the SOAP codes.
Definition: soap.h:65
static const String VersionMismatch
The string representation of the 'VersionMismatch' SOAP code.
Definition: soap.h:70
static const String Client
The string representation of the 'Client' SOAP code.
Definition: soap.h:74
static const String Server
The string representation of the 'Server' SOAP code.
Definition: soap.h:68
static const String MustUnderstand
The string representation of the 'MustUnderstand' SOAP code.
Definition: soap.h:72
Code()=delete
The default constructor is deleted.
Contains the names of the SOAP elements.
Definition: soap.h:34
static const String Message
The string representation of the 'Message' element name.
Definition: soap.h:55
static const String FaultCode
The string representation of the 'faultcode' element name.
Definition: soap.h:47
static const String Claim
The string representation of the 'Claim' element name.
Definition: soap.h:57
static const String StackTrace
The string representation of the 'StackTrace' element name.
Definition: soap.h:53
static const String FaultString
The string representation of the 'faultstring' element name.
Definition: soap.h:51
static const String Header
The string representation of the 'Header' element name.
Definition: soap.h:39
static const String Envelope
The string representation of the 'Envelope' element name.
Definition: soap.h:37
static const String Fault
The string representation of the 'Fault' element name.
Definition: soap.h:43
static const String FaultActor
The string representation of the 'faultactor' element name.
Definition: soap.h:45
Element()=delete
The default constructor is deleted.
static const String Body
The string representation of the 'Body' element name.
Definition: soap.h:41
static const String FaultDetail
The string representation of the 'detail' element name.
Definition: soap.h:49
Contains the string constants of SOAP.
Definition: soap.h:11
static const String ClaimPrefix
The WS-I prefix.
Definition: soap.h:98
static const String Namespace
The value of the 'xmlns:soap' attribute.
Definition: soap.h:86
Soap()=delete
The default constructor is deleted.
static const String Prefix
The SOAP prefix.
Definition: soap.h:96
static const String ConformanceClaim
The value of the 'xmlns:wsi' attribute.
Definition: soap.h:88
static const String ArrayType
The string representation of the 'Array' suffix.
Definition: soap.h:94
static const String Encoding
The value of the 'xmlns:soapenc' attribute.
Definition: soap.h:84
static const String BasicProfile1_1
The conformance claim URI.
Definition: soap.h:90
static const String DimeContentType
The string representation of the 'application/dime' MIME type.
Definition: soap.h:100
static const String XmlNamespace
The value of the 'namespace' attribute.
Definition: soap.h:82
static const String SoapContentType
The string representation of the SOAP content type.
Definition: soap.h:102
static const String Action
The string representation of the 'SOAPAction' attribute name.
Definition: soap.h:92
Definition: db_command.h:9