10 references to BodyMapping
System.ServiceModel (10)
System\ServiceModel\Description\MessageContractExporter.cs (2)
1109
membersMapping = operationReflector.Request.
BodyMapping
;
1113
membersMapping = operationReflector.Reply.
BodyMapping
;
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (8)
205
if (OperationReflector.Request != null && OperationReflector.Request.
BodyMapping
!= null)
206
mappings.Add(OperationReflector.Request.
BodyMapping
);
209
if (OperationReflector.Reply != null && OperationReflector.Reply.
BodyMapping
!= null)
210
mappings.Add(OperationReflector.Reply.
BodyMapping
);
393
if (this.request != null && this.IsRpc && this.Operation.IsValidateRpcWrapperName && this.request.
BodyMapping
.XsdElementName != this.Operation.Name)
394
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxRpcMessageBodyPartNameInvalid, Operation.Name, this.Operation.Messages[0].MessageName, request.
BodyMapping
.XsdElementName, this.Operation.Name)));
399
if (this.reply != null && this.IsRpc && this.Operation.IsValidateRpcWrapperName && this.reply.
BodyMapping
.XsdElementName != responseName.EncodedName)
400
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxRpcMessageBodyPartNameInvalid, Operation.Name, this.Operation.Messages[1].MessageName, reply.
BodyMapping
.XsdElementName, responseName.EncodedName)));