18 writes to WrapperNamespace
System.ServiceModel (14)
System\ServiceModel\ComIntegration\ComPlusTypeLoader.cs (1)
299
messageDescription.Body.
WrapperNamespace
= ns;
System\ServiceModel\Description\DispatcherBuilder.cs (1)
73
messageDescription.Body.WrapperName = messageDescription.Body.
WrapperNamespace
= null;
System\ServiceModel\Description\MessageBodyDescription.cs (1)
28
this.
WrapperNamespace
= other.WrapperNamespace;
System\ServiceModel\Description\MessageContractImporter.cs (5)
560
request.Body.
WrapperNamespace
= operation.DeclaringContract.Namespace;
568
response.Body.
WrapperNamespace
= operation.DeclaringContract.Namespace;
698
description.Body.
WrapperNamespace
= part.Element.Namespace;
738
messageDescription.Body.
WrapperNamespace
= elementName.Namespace;
1435
description.Body.
WrapperNamespace
= bodyBinding.Namespace;
System\ServiceModel\Description\OperationGenerator.cs (1)
639
messageDescription.Body.
WrapperNamespace
= null;
System\ServiceModel\Description\TypeLoader.cs (5)
1023
responseDescription.Body.WrapperName = responseDescription.Body.
WrapperNamespace
= null;
1028
requestDescription.Body.WrapperName = requestDescription.Body.
WrapperNamespace
= null;
1193
messageDescription.Body.
WrapperNamespace
= null;
1198
messageDescription.Body.
WrapperNamespace
= wrapperNamespace;
1243
messageDescription.Body.
WrapperNamespace
= messageContractAttribute.WrapperNamespace ?? defaultNS;
System.ServiceModel.Activities (4)
System\ServiceModel\Activities\MessageBuilder.cs (4)
130
result.Body.
WrapperNamespace
= null;
236
message.Body.
WrapperNamespace
= operation.DeclaringContract.Namespace;
250
responseMessage.Body.
WrapperNamespace
= null;
256
requestMessage.Body.
WrapperNamespace
= null;
23 references to WrapperNamespace
System.ServiceModel (20)
System\ServiceModel\ComIntegration\DispatchProxy.cs (2)
125
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new COMException(SR.GetString(SR.CannotResolveTypeForParamInMessageDescription, "ReturnValue", msgDesc.Body.WrapperName, msgDesc.Body.
WrapperNamespace
), HR.DISP_E_MEMBERNOTFOUND));
150
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new COMException(SR.GetString(SR.CannotResolveTypeForParamInMessageDescription, param.Name, msgDesc.Body.WrapperName, msgDesc.Body.
WrapperNamespace
), HR.DISP_E_MEMBERNOTFOUND));
System\ServiceModel\Description\MessageBodyDescription.cs (1)
28
this.WrapperNamespace = other.
WrapperNamespace
;
System\ServiceModel\Description\MessageContractExporter.cs (4)
728
ns = messageDescription.Body.
WrapperNamespace
;
973
wrapperSequence = ExportWrappedPart(wsdlMessage, description.Body.WrapperName, description.Body.
WrapperNamespace
, SchemaSet, false /*isOperationInherited*/);
980
ExportMessagePart(wsdlMessage, description.Body.ReturnValue, typeName, xsdType, true/*isOptional*/, IsTypeNullable(description.Body.ReturnValue.Type), false/*isOperationInherited*/, dataContractFormatAttribute.Style != OperationFormatStyle.Rpc, description.Body.
WrapperNamespace
, wrapperSequence, SchemaSet);
988
ExportMessagePart(wsdlMessage, bodyPart, typeName, xsdType, true/*isOptional*/, IsTypeNullable(bodyPart.Type), false/*isOperationInherited*/, dataContractFormatAttribute.Style != OperationFormatStyle.Rpc, description.Body.
WrapperNamespace
, wrapperSequence, SchemaSet);
System\ServiceModel\Description\OperationGenerator.cs (6)
633
MessagePartDescription wrapperPart = new MessagePartDescription(messageDescription.Body.WrapperName, messageDescription.Body.
WrapperNamespace
);
790
new CodePrimitiveExpression(message.Body.
WrapperNamespace
)));
909
if (!StringEqualOrNull(parent.Request.Body.
WrapperNamespace
, parent.ContractNS))
910
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(SR.GetString(SR.SFxCannotImportAsParameters_DifferentWrapperNs, parent.Request.MessageName, parent.Request.Body.
WrapperNamespace
, parent.ContractNS)));
918
if (!StringEqualOrNull(parent.Response.Body.
WrapperNamespace
, parent.ContractNS))
919
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(SR.GetString(SR.SFxCannotImportAsParameters_DifferentWrapperNs, parent.Response.MessageName, parent.Response.Body.
WrapperNamespace
, parent.ContractNS)));
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (1)
503
wrapperNs = message.Body.
WrapperNamespace
;
System\ServiceModel\Description\XmlSerializerOperationGenerator.cs (2)
132
GeneratePartType(alreadyExported, body.ReturnValue, isWrapped ? body.
WrapperNamespace
: body.ReturnValue.Namespace);
135
GeneratePartType(alreadyExported, part, isWrapped ? body.
WrapperNamespace
: part.Namespace);
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (1)
120
messageInfo.WrapperNamespace = AddToDictionary(body.
WrapperNamespace
);
System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (2)
68
requestWrapperNamespace = AddToDictionary(dictionary, requestMessage.Body.
WrapperNamespace
);
78
responseWrapperNamespace = AddToDictionary(dictionary, responseMessage.Body.
WrapperNamespace
);
System\ServiceModel\Dispatcher\StreamFormatter.cs (1)
41
wrapperNS = messageDescription.Body.
WrapperNamespace
;
System.ServiceModel.Activities (3)
System\ServiceModel\Activities\ContractValidationHelper.cs (3)
339
if (targetMessage.Body.
WrapperNamespace
!= null && targetMessage.Body.
WrapperNamespace
!= String.Empty)
402
if (targetMessageBody.
WrapperNamespace
== null)