55 writes to Name
System.ServiceModel (18)
System\ServiceModel\Description\MessageContractExporter.cs (5)
213
faultMessage.
Name
= GetFaultMessageName(fault.Name);
295
part.
Name
= partName;
456
wsdlMessage.
Name
= GetMessageName(message);
493
wsdlMessage.
Name
= messageName;
1148
faultMessage.
Name
= GetFaultMessageName(fault.Name);
System\ServiceModel\Description\WsdlExporter.cs (11)
260
wsdlPortType.
Name
= wsdlPortTypeQName.Name;
272
wsdlOperation.
Name
= WsdlNamingHelper.GetWsdlOperationName(operation, contract);
287
wsdlOperationMessage.
Name
= message.MessageName.EncodedName;
300
wsdlOperationFault.
Name
= fault.Name;
321
wsdlBinding.
Name
= wsdlBindingQName.Name;
351
wsdlPort.
Name
= wsdlPortName;
378
wsdlOperationBinding.
Name
= WsdlNamingHelper.GetWsdlOperationName(operation, contract);
397
wsdlMessageBinding.
Name
= messageDescription.MessageName.EncodedName;
407
wsdlFaultBinding.
Name
= faultDescription.Name;
513
wsdlService.
Name
= wsdlServiceQName.Name;
516
wsdl.
Name
= wsdlService.Name;
System\ServiceModel\Description\WsdlHelper.cs (2)
112
singleWsdl.
Name
= wsdl.Name;
124
binding.
Name
= uniqueBindingName;
System.Web.Services (37)
System\Web\Services\Description\HttpProtocolReflector.cs (1)
68
part.
Name
= XmlConvert.EncodeLocalName(parameterInfo.Name);
System\Web\Services\Description\MimeXmlReflector.cs (1)
25
part.
Name
= "Body";
System\Web\Services\Description\ProtocolReflector.cs (11)
201
inputMessage.
Name
= messageName + ProtocolName + "In";
204
if (diffNames) input.
Name
= messageName;
209
if (diffNames) OperationBinding.Input.
Name
= messageName;
226
outputMessage.
Name
= messageName + ProtocolName + "Out";
229
if (diffNames) output.
Name
= messageName;
234
if (diffNames) OperationBinding.Output.
Name
= messageName;
384
portType.
Name
= bindingName;
385
binding.
Name
= bindingName;
403
port.
Name
= portNames.AddUnique(bindingName, port);
414
operation.
Name
= XmlConvert.EncodeLocalName(method.Name);
419
operationBinding.
Name
= operation.Name;
System\Web\Services\Description\ServiceDescriptionReflector.cs (1)
152
service.
Name
= XmlConvert.EncodeLocalName(name);
System\Web\Services\Description\ServiceDescriptionSerializer.cs (15)
4155
o.
@Name
= Reader.Value;
4243
o.
@Name
= Reader.Value;
4310
o.
@Name
= Reader.Value;
4538
o.
@Name
= Reader.Value;
4619
o.
@Name
= Reader.Value;
4703
o.
@Name
= Reader.Value;
4913
o.
@Name
= Reader.Value;
5749
o.
@Name
= Reader.Value;
6272
o.
@Name
= Reader.Value;
6341
o.
@Name
= Reader.Value;
6418
o.
@Name
= Reader.Value;
6486
o.
@Name
= Reader.Value;
6554
o.
@Name
= Reader.Value;
6623
o.
@Name
= Reader.Value;
6690
o.
@Name
= Reader.Value;
System\Web\Services\Description\SoapProtocolReflector.cs (8)
118
part.
Name
= member.XsdElementName;
124
message.
Name
= identifiers.AddUnique(methodName + part.Name, message);
158
part.
Name
= "parameters";
166
part.
Name
= member.XsdElementName;
179
part.
Name
= members[0].MemberName;
187
part.
Name
= "parameters";
200
part.
Name
= member.XsdElementName;
204
part.
Name
= XmlConvert.EncodeLocalName(member.MemberName);
319 references to Name
System.ServiceModel (159)
System\ServiceModel\Channels\TransportBindingElementImporter.cs (2)
220
XmlQualifiedName wsdlBindingQName = new XmlQualifiedName(context.WsdlBinding.
Name
, context.WsdlBinding.ServiceDescription.TargetNamespace);
226
XmlQualifiedName key = new XmlQualifiedName(context.WsdlBinding.
Name
, context.WsdlBinding.ServiceDescription.TargetNamespace);
System\ServiceModel\ComIntegration\ComPlusDiagnosticTraceRecords.cs (2)
332
if (wsdl.
Name
!= null)
333
name = wsdl.
Name
;
System\ServiceModel\Description\MessageContractExporter.cs (15)
187
part.UniquePartName = wsdlPart.
Name
;
222
operationFault.Message = new XmlQualifiedName(faultMessage.
Name
, faultMessage.ServiceDescription.TargetNamespace);
466
wsdlOperationMessage.Message = new XmlQualifiedName(wsdlMessage.
Name
, wsdlMessage.ServiceDescription.TargetNamespace);
510
string portTypeName = contractContext.WsdlPortType.
Name
;
511
string operationName = contractContext.GetOperation(operation).
Name
;
532
"{0}_Headers", wsdlBodyMessage.
Name
);
540
string portTypeName = contractContext.WsdlPortType.
Name
;
541
string operationName = contractContext.GetOperation(operation).
Name
;
587
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxAnonymousTypeNotSupported, message.
Name
, partName)));
593
part.UniquePartName = wsdlPart.
Name
;
692
XmlQualifiedName wsdlHeaderMessageName = new XmlQualifiedName(headerMessage.
Name
, headerMessage.ServiceDescription.TargetNamespace);
1068
string portTypeName = contractContext.WsdlPortType.
Name
;
1100
string portTypeName = contractContext.WsdlPortType.
Name
;
1157
operationFault.Message = new XmlQualifiedName(faultMessage.
Name
, faultMessage.ServiceDescription.TargetNamespace);
1235
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxAnonymousTypeNotSupported, message.
Name
, partName)));
System\ServiceModel\Description\MessageContractImporter.cs (55)
322
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxWsdlOperationInputNeedsMessageAttribute2, wsdlOperation.
Name
, wsdlOperation.PortType.
Name
)));
324
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxWsdlOperationOutputNeedsMessageAttribute2, wsdlOperation.
Name
, wsdlOperation.PortType.
Name
)));
343
AddError(SR.GetString(SR.SFxInconsistentWsdlOperationUseInBindingMessages, messageBinding.OperationBinding.
Name
, messageBinding.OperationBinding.Binding.
Name
));
355
AddError(SR.GetString(SR.SFxInconsistentWsdlOperationUseInBindingFaults, faultBinding.OperationBinding.
Name
, faultBinding.OperationBinding.Binding.
Name
));
372
operation.Name, operationBinding.Binding.
Name
, GetUse(operationStyleAndUse), GetStyle(operationStyleAndUse),
373
prevOperationBinding.Binding.
Name
, GetUse(styleAndUse.Value), GetStyle(styleAndUse.Value)));
392
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxWsdlOperationInputNeedsMessageAttribute2, wsdlOperation.
Name
, wsdlOperation.PortType.
Name
)));
394
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxWsdlOperationOutputNeedsMessageAttribute2, wsdlOperation.
Name
, wsdlOperation.PortType.
Name
)));
399
if (!CanImportMessage(wsdlMessage, wsdlOperationMessage.
Name
, out inferredMessageStyle, ref areAllMessagesWrapped))
455
if (bodyPartsFromBindings != null && !bodyPartsFromBindings.Contains(part.
Name
))
496
if (bodyPartsFromBindings != null && !bodyPartsFromBindings.Contains(part.
Name
))
500
isReturn = Array.IndexOf<string>(parameterOrder, part.
Name
) == -1;
619
TraceFaultCannotBeImported(fault.
Name
, description.Name, SR.GetString(SR.SFxWsdlOperationFaultNeedsMessageAttribute2, fault.
Name
, fault.Operation.PortType.
Name
));
628
TraceFaultCannotBeImported(fault.
Name
, description.Name, SR.GetString(SR.UnsupportedWSDLOnlyOneMessage));
638
TraceFaultCannotBeImported(fault.
Name
, description.Name, SR.GetString(SR.UnsupportedWSDLTheFault));
655
return CheckAndAddPart(part.Type, DataContractSerializerMessageContractImporter.GenericMessageTypeName, part.
Name
, string.Empty, typeof(Message), description, isReply);
719
return CheckAndAddPart(typeName, DataContractSerializerMessageContractImporter.StreamBodyTypeName, part.
Name
, ns, typeof(Stream), description, isReply);
767
return wsdlPart.
Name
== "parameters" && !IsNullOrEmpty(wsdlPart.Element) && !wrapFlag;
789
if (part.
Name
== name)
792
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxWsdlMessageDoesNotContainPart3, name, message.
Name
, message.ServiceDescription.TargetNamespace)));
1086
string messageName = part.Message.
Name
;
1095
if (message.Message.Equals(new XmlQualifiedName(part.Message.
Name
, description.TargetNamespace)))
1112
if (operation != null && !new XmlQualifiedName(operation.PortType.
Name
, targetNamespace).Equals(binding.Type))
1311
AddError(SR.GetString(SR.SFxInconsistentWsdlOperationUseInBindingExtensions, messageBinding.OperationBinding.
Name
, messageBinding.OperationBinding.Binding.
Name
));
1323
AddError(SR.GetString(SR.SFxInconsistentWsdlOperationUseInBindingExtensions, messageBinding.OperationBinding.
Name
, messageBinding.OperationBinding.Binding.
Name
));
1329
messageParts[i] = wsdlMessage.Parts[i].
Name
;
1347
AddError(SR.GetString(SR.SFxInconsistentBindingBodyParts, messageBinding.OperationBinding.
Name
, messageBinding.OperationBinding.Binding.
Name
, partName));
1384
AddError(SR.GetString(SR.SFxInconsistentWsdlOperationUseInBindingExtensions, faultBinding.OperationBinding.
Name
, faultBinding.OperationBinding.Binding.
Name
));
1407
AddError(SR.GetString(SR.SFxInconsistentWsdlOperationStyleInHeader, part.
Name
, headerStyle, style));
1419
ImportMessageHeaderBinding(soapHeaderBinding, wsdlMessage, description, style, isEncoded, messageBinding.OperationBinding.
Name
);
1426
ImportMessageBodyBinding(soapBodyBinding, wsdlMessage, description, style, isEncoded, messageBinding.OperationBinding.
Name
);
1467
return new XmlQualifiedName(part.
Name
, String.Empty);
1468
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxWsdlPartMustHaveElementOrType, part.
Name
, part.Message.
Name
, part.Message.Namespaces)));
1491
bodyPart = isHeader ? (MessagePartDescription)new MessageHeaderDescription(part.
Name
, String.Empty) : new MessagePartDescription(part.
Name
, String.Empty);
1495
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxWsdlPartMustHaveElementOrType, part.
Name
, part.Message.
Name
, part.Message.Namespaces)));
2198
string warning = SR.GetString(SR.IgnoreSoapHeaderBinding3, messageBinding.OperationBinding.
Name
, messageBinding.OperationBinding.Binding.ServiceDescription.TargetNamespace, reason);
2206
string warning = SR.GetString(SR.IgnoreSoapHeaderBinding3, messageBinding.OperationBinding.
Name
, messageBinding.OperationBinding.Binding.ServiceDescription.TargetNamespace, reason);
2218
string warning = SR.GetString(SR.IgnoreSoapFaultBinding3, faultBinding.OperationBinding.
Name
, faultBinding.OperationBinding.Binding.ServiceDescription.TargetNamespace, reason);
2228
if (string.IsNullOrEmpty(part.
Name
))
2231
string warning = SR.GetString(SR.IgnoreMessagePart3, message.
Name
, message.ServiceDescription.TargetNamespace, reason);
System\ServiceModel\Description\ServiceMetadataExtension.cs (2)
1278
if (!String.IsNullOrEmpty(wsdl.
Name
))
1280
return wsdl.
Name
;
System\ServiceModel\Description\WsdlContractConversionContext.cs (1)
155
if (wsdlBinding.Type.Name == WsdlPortType.
Name
&& wsdlBinding.Type.Namespace == WsdlPortType.ServiceDescription.TargetNamespace)
System\ServiceModel\Description\WsdlExporter.cs (19)
261
if (wsdl.PortTypes[wsdlPortType.
Name
] != null)
325
wsdlPortTypeQName = new XmlQualifiedName(wsdlPortType.
Name
, wsdlPortType.ServiceDescription.TargetNamespace);
335
wsdlBindingQName = new XmlQualifiedName(bindingConversionContext.WsdlBinding.
Name
, bindingConversionContext.WsdlBinding.ServiceDescription.TargetNamespace);
515
if (string.IsNullOrEmpty(wsdl.
Name
))
516
wsdl.Name = wsdlService.
Name
;
874
return string.Format(CultureInfo.InvariantCulture, "{0}_policy", wsdlBinding.
Name
);
880
wsdlOperationBinding.Binding.
Name
,
881
wsdlOperationBinding.
Name
);
890
return string.Format(CultureInfo.InvariantCulture, "{0}_{1}_Input_policy", wsdlBinding.
Name
, wsdlOperationBinding.
Name
);
892
return string.Format(CultureInfo.InvariantCulture, "{0}_{1}_output_policy", wsdlBinding.
Name
, wsdlOperationBinding.
Name
);
899
if (string.IsNullOrEmpty(wsdlFaultBinding.
Name
))
901
return string.Format(CultureInfo.InvariantCulture, "{0}_{1}_Fault", wsdlBinding.
Name
, wsdlOperationBinding.
Name
);
905
return string.Format(CultureInfo.InvariantCulture, "{0}_{1}_{2}_Fault", wsdlBinding.
Name
, wsdlOperationBinding.
Name
, wsdlFaultBinding.
Name
);
1082
if (port.
Name
== portName)
System\ServiceModel\Description\WsdlHelper.cs (6)
112
singleWsdl.Name = wsdl.
Name
;
117
string uniqueBindingName = NamingHelper.GetUniqueName(binding.
Name
, WsdlHelper.IsBindingNameUsed, singleWsdl.Bindings);
118
if (binding.
Name
!= uniqueBindingName)
121
new XmlQualifiedName(binding.
Name
, binding.ServiceDescription.TargetNamespace),
153
string oldBindingName = binding.
Name
;
294
if (binding.
Name
== name)
System\ServiceModel\Description\WsdlImporter.cs (42)
303
XmlQualifiedName wsdlPortTypeQName = new XmlQualifiedName(wsdlPortType.
Name
, wsdlPortType.ServiceDescription.TargetNamespace);
365
XmlQualifiedName wsdlBindingQName = new XmlQualifiedName(wsdlBinding.
Name
, wsdlBinding.ServiceDescription.TargetNamespace);
519
if (string.IsNullOrEmpty(wsdlOperationFault.
Name
))
527
faultDescription.SetNameOnly(new XmlName(wsdlOperationFault.
Name
, true /*isEncoded*/));
867
if (faultBinding.
Name
== fault.Name)
876
string wsdlOperationBindingName = wsdlOperationBinding.
Name
;
880
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxInvalidWsdlBindingOpNoName, wsdlOperationBinding.Binding.
Name
)));
909
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxInvalidWsdlBindingOpMismatch2, wsdlOperationBinding.Binding.
Name
, wsdlOperationBinding.
Name
)));
926
if (wsdlOperationBinding.
Name
!= wsdlOperation.
Name
)
961
string wsdlOperationMessageName = wsdlOperationMessage.
Name
;
962
string wsdlMessageBindingName = wsdlMessageBinding.
Name
;
992
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.UnableToLocateOperation2, wsdlOperationBinding.
Name
, contract.Name)));
999
if (wsdlOperationName != wsdlOperationBinding.
Name
)
1065
string portTypeName = wsdlOperationMessage.Operation.PortType.
Name
;
1186
XmlName xmlName = new XmlName(wsdlBinding.
Name
, true /*isEncoded*/);
1193
XmlName xmlName = new XmlName(string.Format(CultureInfo.InvariantCulture, "{0}_{1}", wsdlPort.Service.
Name
, wsdlPort.
Name
), true /*isEncoded*/);
1199
return new XmlName(wsdlPort.
Name
, true /*isEncoded*/);
1209
return wsdlOperation.
Name
;
1215
if (!string.IsNullOrEmpty(wsdlOperationMessage.
Name
))
1217
messageName = wsdlOperationMessage.
Name
;
1221
messageName = wsdlOperationMessage.Operation.
Name
;
1226
messageName = wsdlOperationMessage.Operation.
Name
+ "Request";
1228
messageName = wsdlOperationMessage.Operation.
Name
+ "Solicit";
1232
messageName = wsdlOperationMessage.Operation.
Name
+ "Response";
1323
XmlQualifiedName wsdlBindingQName = new XmlQualifiedName(wsdlBinding.
Name
, wsdlBinding.ServiceDescription.TargetNamespace);
1354
string id = string.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}_{1}_BindingAdHocPolicy", wsdlBinding.
Name
, name);
1517
if (wsdlBinding.Type.Name == wsdlPortType.
Name
1538
if (wsdlPort.Binding.Name == binding.
Name
&& wsdlPort.Binding.Namespace == binding.ServiceDescription.TargetNamespace)
1641
XmlQualifiedName bindingQName = new XmlQualifiedName(endpointContext.WsdlBinding.
Name
, endpointContext.WsdlBinding.ServiceDescription.TargetNamespace);
1774
string nameValue = item.
Name
;
1827
nameValue = wsdlService.
Name
;
1829
rest = string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, "port", item.
Name
);
1835
nameValue = wsdlPortType.
Name
;
1837
rest = string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, "operation", item.
Name
);
1843
nameValue = wsdlOperationBinding.Binding.
Name
;
1845
rest = string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, "operation", item.
Name
);
1852
nameValue = wsdlOperationBinding.Binding.
Name
;
1853
string messageName = item.
Name
;
1865
rest = string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, "operation", wsdlOperationBinding.
Name
);
System\ServiceModel\Security\WSTrustServiceContract.cs (15)
1700
if (StringComparer.Ordinal.Equals(portType.
Name
, WSTrustServiceContractConstants.Contracts.IWSTrustFeb2005Sync))
1752
else if (StringComparer.OrdinalIgnoreCase.Equals(portType.
Name
, WSTrustServiceContractConstants.Contracts.IWSTrust13Sync))
1805
else if (StringComparer.OrdinalIgnoreCase.Equals(portType.
Name
, WSTrustServiceContractConstants.Contracts.IWSTrustFeb2005Async))
1858
else if (StringComparer.OrdinalIgnoreCase.Equals(portType.
Name
, WSTrustServiceContractConstants.Contracts.IWSTrust13Async))
2135
if (StringComparer.Ordinal.Equals(op.
Name
, operationName))
2142
if (StringComparer.Ordinal.Equals(message.
Name
, op.Messages.Input.Message.Name))
2147
SR.GetString(SR.ID3144, portType.
Name
, op.
Name
, message.
Name
, message.Parts.Count));
2151
else if (StringComparer.Ordinal.Equals(message.
Name
, op.Messages.Output.Message.Name))
2156
SR.GetString(SR.ID3144, portType.
Name
, op.
Name
, message.
Name
, message.Parts.Count));
2184
SR.GetString(SR.ID3149, portType.
Name
, portType.Namespaces, operationName));
2189
SR.GetString(SR.ID3150, portType.
Name
, portType.Namespaces, operationName));
System.Web.Extensions (19)
Compilation\WCFModel\AsmxEndpointPickerExtension.cs (1)
89
if (String.Equals(binding.
Name
, portToDelete.Binding.Name, StringComparison.Ordinal))
Compilation\WCFModel\WsdlInspector.cs (18)
76
XmlQualifiedName portTypeName = new XmlQualifiedName(portType.
Name
, targetNamespace);
91
XmlQualifiedName messageName = new XmlQualifiedName(message.
Name
, targetNamespace);
124
int nameDifferent = String.Compare(operationX.
Name
, operationY.
Name
, StringComparison.Ordinal);
238
int nameDifferent = String.Compare(partX.
Name
, partY.
Name
, StringComparison.Ordinal);
308
portType1.
Name
,
311
operation.
Name
)
328
x.
Name
,
329
x.PortType.
Name
,
348
message1.
Name
,
351
part.
Name
)
368
part.
Name
,
369
x.
Name
,
386
return String.Compare(x.
Name
, y.
Name
, StringComparison.Ordinal);
418
return String.Compare(x.
Name
, y.
Name
, StringComparison.Ordinal);
System.Web.Services (141)
System\Web\Services\Description\HttpProtocolImporter.cs (1)
104
parameter.Name = CodeIdentifier.MakeValid(XmlConvert.DecodeName(part.
Name
));
System\Web\Services\Description\MimeTextImporter.cs (1)
35
methodName = CodeIdentifier.MakeValid(ImportContext.OperationBinding.
Name
);
System\Web\Services\Description\MimeXmlImporter.cs (1)
50
throw new InvalidOperationException(Res.GetString(Res.MessageHasNoParts1, ImportContext.InputMessage.
Name
));
System\Web\Services\Description\MimeXmlReflector.cs (2)
31
mimeContentBinding.Part = part.
Name
;
36
mimeXmlBinding.Part = part.
Name
;
System\Web\Services\Description\ProtocolImporter.cs (11)
146
return CodeIdentifier.MakeValid(XmlConvert.DecodeName(Operation.
Name
));
374
className = XmlConvert.DecodeName(service.
Name
);
378
className = binding.
Name
;
418
throw new InvalidOperationException(Res.GetString(Res.UnableToImportOperation1, operation.
Name
), e);
461
throw new InvalidOperationException(Res.GetString(Res.UnableToImportBindingFromNamespace2, binding.
Name
, binding.ServiceDescription.TargetNamespace), e);
505
AddWarningComment(codeClass == null ? codeNamespace.Comments : codeClass.Comments, Res.GetString(Res.TheBinding0FromNamespace1WasIgnored2, Binding.
Name
, Binding.ServiceDescription.TargetNamespace, text));
514
AddWarningComment(codeClass == null ? codeNamespace.Comments : codeClass.Comments, Res.GetString(Res.TheOperation0FromNamespace1WasIgnored2, operation.
Name
, operation.PortType.ServiceDescription.TargetNamespace, text));
523
AddWarningComment(codeClass == null ? codeNamespace.Comments : codeClass.Comments, Res.GetString(Res.TheOperationBinding0FromNamespace1WasIgnored, operationBinding.
Name
, operationBinding.Binding.ServiceDescription.TargetNamespace, text));
542
operation.
Name
,
543
operation.PortType.
Name
,
553
return new Exception(Res.GetString(Res.TheOperationBindingFromNamespaceHadInvalid3, operationBinding.
Name
, operationBinding.Binding.ServiceDescription.TargetNamespace, text));
System\Web\Services\Description\ProtocolReflector.cs (7)
205
input.Message = new XmlQualifiedName(inputMessage.
Name
, bindingServiceDescription.TargetNamespace);
230
output.Message = new XmlQualifiedName(outputMessage.
Name
, bindingServiceDescription.TargetNamespace);
364
if (bindingName.Length == 0) bindingName = Service.
Name
+ ProtocolName;
378
bindingNames.AddReserved(b.
Name
);
386
binding.Type = new XmlQualifiedName(portType.
Name
, bindingNamespace);
398
portNames.AddReserved(p.
Name
);
419
operationBinding.Name = operation.
Name
;
System\Web\Services\Description\ServiceDescription.cs (20)
1146
if (operationBinding.
Name
!=
Name
) return false;
1151
string portTypeInputName = GetMessageName(
Name
, input.
Name
, true);
1152
string bindingInputName = GetMessageName(operationBinding.
Name
, operationBinding.Input.
Name
, true);
1162
string portTypeOutputName = GetMessageName(
Name
, output.
Name
, false);
1163
string bindingOutputName = GetMessageName(operationBinding.
Name
, operationBinding.Output.
Name
, false);
1296
if (part.
Name
== partName) return part;
1298
throw new ArgumentException(Res.GetString(Res.MissingMessagePartForMessageFromNamespace3, partName,
Name
, ServiceDescription.TargetNamespace), "partName");
1972
return ((Message)value).
Name
;
2061
return ((Port)value).
Name
;
2150
return ((PortType)value).
Name
;
2239
return ((Binding)value).
Name
;
2328
return ((Service)value).
Name
;
2417
return ((MessagePart)value).
Name
;
2579
return ((FaultBinding)value).
Name
;
2741
return ((OperationFault)value).
Name
;
System\Web\Services\Description\ServiceDescriptionImporter.cs (5)
324
string messageName = part.Message.
Name
;
330
if (message.Message.Equals(new XmlQualifiedName(part.Message.
Name
, description.TargetNamespace))) {
344
if (operation != null && !new XmlQualifiedName(operation.PortType.
Name
, targetNamespace).Equals(binding.Type))
445
if (isEncoded) throw new InvalidOperationException(Res.GetString(Res.CanTSpecifyElementOnEncodedMessagePartsPart, part.
Name
, message.
Name
));
System\Web\Services\Description\ServiceDescriptionSerializer.cs (15)
39
WriteAttribute(@"name", @"", ((global::System.String)o.
@Name
));
128
WriteAttribute(@"name", @"", ((global::System.String)o.
@Name
));
183
WriteAttribute(@"name", @"", ((global::System.String)o.
@Name
));
317
WriteAttribute(@"name", @"", ((global::System.String)o.
@Name
));
393
WriteAttribute(@"name", @"", ((global::System.String)o.
@Name
));
470
WriteAttribute(@"name", @"", ((global::System.String)o.
@Name
));
612
WriteAttribute(@"name", @"", ((global::System.String)o.
@Name
));
1088
WriteAttribute(@"name", @"", ((global::System.String)o.
@Name
));
1385
WriteAttribute(@"name", @"", ((global::System.String)o.
@Name
));
1440
WriteAttribute(@"name", @"", ((global::System.String)o.
@Name
));
1519
WriteAttribute(@"name", @"", ((global::System.String)o.
@Name
));
1567
WriteAttribute(@"name", @"", ((global::System.String)o.
@Name
));
1615
WriteAttribute(@"name", @"", ((global::System.String)o.
@Name
));
1663
WriteAttribute(@"name", @"", ((global::System.String)o.
@Name
));
1718
WriteAttribute(@"name", @"", ((global::System.String)o.
@Name
));
System\Web\Services\Description\SoapProtocolImporter.cs (19)
455
attribute.Arguments.Add(new CodeAttributeArgument("Name", new CodePrimitiveExpression(XmlConvert.DecodeName(Binding.
Name
))));
568
if (part == null) throw new InvalidOperationException(Res.GetString(Res.MissingMessagePartForMessageFromNamespace3, part.
Name
, header.Message.Name, header.Message.Namespace));
573
if (part.Type.IsEmpty) throw new InvalidOperationException(Res.GetString(Res.WebDescriptionPartTypeRequired, part.
Name
, header.Message.Name, header.Message.Namespace));
574
if (!part.Element.IsEmpty) UnsupportedOperationBindingWarning(Res.GetString(Res.WebDescriptionPartElementWarning, part.
Name
, header.Message.Name, header.Message.Namespace));
579
if (part.Element.IsEmpty) throw new InvalidOperationException(Res.GetString(Res.WebDescriptionPartElementRequired, part.
Name
, header.Message.Name, header.Message.Namespace));
580
if (!part.Type.IsEmpty) UnsupportedOperationBindingWarning(Res.GetString(Res.WebDescriptionPartTypeWarning, part.
Name
, header.Message.Name, header.Message.Namespace));
681
requestMessageName = !String.IsNullOrEmpty(requestBinding.
Name
) && soapBindingStyle != SoapBindingStyle.Rpc ? requestBinding.
Name
: this.Operation.
Name
; // per WSDL 1.1 sec 3.5
685
responseMessageName = !String.IsNullOrEmpty(responseBinding.
Name
) && soapBindingStyle != SoapBindingStyle.Rpc ? responseBinding.
Name
: this.Operation.
Name
+ "Response"; // per WSDL 1.1 sec 3.5
722
string methodName = CodeIdentifier.MakeValid(XmlConvert.DecodeName(this.Operation.
Name
));
1038
XmlMembersMapping membersMapping = xmlImporter.ImportAnyType(parts[0].Type, parts[0].
Name
);
1082
hasWrapper = (parts.Length == 1 && string.Compare(parts[0].
Name
, "parameters", StringComparison.Ordinal) == 0);
1128
schemaMember.MemberName = parts[0].
Name
;
1137
schemaMember.MemberName = part.
Name
;
1154
schemaMember.MemberName = part.
Name
;
1167
membersMapping = xmlImporter.ImportAnyType(parts[0].Type, parts[0].
Name
);
System\Web\Services\Description\SoapProtocolReflector.cs (3)
124
message.Name = identifiers.AddUnique(methodName + part.
Name
, message);
128
ServiceDescriptionFormatExtension soapHeaderBinding = CreateSoapHeaderBinding(new XmlQualifiedName(message.
Name
, Binding.ServiceDescription.TargetNamespace), part.
Name
, rpc ? member.Namespace : null, use);
System\Web\Services\Description\WebServicesInteroperability.cs (55)
99
violations.Add("R2701", Res.GetString(Res.BindingMissingAttribute, binding.
Name
, description.TargetNamespace, "transport"));
104
violations.Add("R2702", Res.GetString(Res.BindingInvalidAttribute, binding.
Name
, description.TargetNamespace, "transport", soapBinding.Transport));
112
violations.Add("R2303", Res.GetString(Res.OperationFlowNotification, op.
Name
, binding.Type.Namespace, binding.Type.Namespace));
114
violations.Add("R2303", Res.GetString(Res.OperationFlowSolicitResponse, op.
Name
, binding.Type.Namespace, binding.Type.Namespace));
117
if (operations[op.
Name
] != null) {
118
violations.Add("R2304", Res.GetString(Res.Operation, op.
Name
, binding.Type.Name, binding.Type.Namespace));
125
violations.Add("R2304", Res.GetString(Res.OperationBinding, operationBinding.
Name
, operationBinding.Parent.Name, description.TargetNamespace));
132
violations.Add("R2718", Res.GetString(Res.OperationMissingBinding, op.
Name
, binding.Type.Name, binding.Type.Namespace));
135
operations.Add(op.
Name
, op);
144
string name = bindingOperation.
Name
;
150
violations.Add("R2718", Res.GetString(Res.PortTypeOperationMissing, bindingOperation.
Name
, binding.
Name
, description.TargetNamespace, binding.Type.Name, binding.Type.Namespace));
165
SoapBodyBinding soapBodyBinding = FindSoapBodyBinding(true, bindingOperation.Input.Extensions, violations, opStyle == SoapBindingStyle.Document, bindingOperation.
Name
, binding.
Name
, description.TargetNamespace);
170
CheckMessageParts(message, soapBodyBinding.Parts, false, bindingOperation.
Name
, binding.
Name
, description.TargetNamespace, wireSignatures, violations);
175
CheckMessageParts(message, soapBodyBinding.Parts, true, bindingOperation.
Name
, binding.
Name
, description.TargetNamespace, wireSignatures, violations);
178
violations.Add("R2210", Res.GetString(Res.OperationBinding, bindingOperation.
Name
, binding.
Name
, description.TargetNamespace));
185
SoapBodyBinding soapBodyBinding = FindSoapBodyBinding(false, bindingOperation.Output.Extensions, violations, opStyle == SoapBindingStyle.Document, bindingOperation.
Name
, binding.
Name
, description.TargetNamespace);
190
CheckMessageParts(message, soapBodyBinding.Parts, false, bindingOperation.
Name
, binding.
Name
, description.TargetNamespace, null, violations);
195
CheckMessageParts(message, soapBodyBinding.Parts, true, bindingOperation.
Name
, binding.
Name
, description.TargetNamespace, null, violations);
198
violations.Add("R2210", Res.GetString(Res.OperationBinding, bindingOperation.
Name
, binding.
Name
, description.TargetNamespace));
210
violations.Add("R2706", MessageString(fault, bindingOperation.
Name
, binding.
Name
, description.TargetNamespace, false, null));
215
violations.Add("R2721", Res.GetString(Res.FaultBinding, faultBinding.
Name
, bindingOperation.
Name
, binding.
Name
, description.TargetNamespace));
217
else if (fault.Name != faultBinding.
Name
) {
219
violations.Add("R2754", Res.GetString(Res.FaultBinding, faultBinding.
Name
, bindingOperation.
Name
, binding.
Name
, description.TargetNamespace));
224
violations.Add(opStyle == SoapBindingStyle.Document ? "R2716" : "R2726", MessageString(fault, bindingOperation.
Name
, binding.
Name
, description.TargetNamespace, false, null));
231
if (operations[bindingOperation.
Name
] == null) {
232
violations.Add("R2718", Res.GetString(Res.PortTypeOperationMissing, bindingOperation.
Name
, binding.
Name
, description.TargetNamespace, binding.Type.Name, binding.Type.Namespace));
238
violations.Add("R2201", Res.GetString(Res.BindingMultipleParts, binding.
Name
, description.TargetNamespace, "parts"));
242
violations.Add("R2705", Res.GetString(Res.Binding, binding.
Name
, description.TargetNamespace));
334
violations.Add("R2306", Res.GetString(Res.Part, part.
Name
, message, ns));
341
violations.Add("R1014", Res.GetString(Res.Part, part.
Name
, message, ns));
346
violations.Add("R2203", Res.GetString(Res.Part, part.
Name
, message, ns));
351
violations.Add("R2204", Res.GetString(Res.Part, part.
Name
, message, ns));
391
AddSignature(wireSignatures, operation, ns, message.
Name
, ns, violations);
394
AddSignature(wireSignatures, null, null, message.
Name
, ns, violations);
400
CheckMessagePart(message.Parts[i], element, message.
Name
, operation, binding, ns, i == 0 ? wireSignatures : null, violations);
408
CheckMessagePart(message.Parts[i], element, message.
Name
, operation, binding, ns, i == 0 ? wireSignatures : null, violations);
525
violations.Add("R2026", Res.GetString(Res.BindingInvalidAttribute, binding.
Name
, description.TargetNamespace, "wsdl:required", "true"));
546
violations.Add("R2026", Res.GetString(Res.Port, port.
Name
, service.
Name
, description.TargetNamespace));
System\Web\Services\Discovery\ContractReference.cs (1)
158
string fileName = MakeValidFilename(Contract.
Name
);