26 writes to Name
dotnet-svcutil-lib (26)
FrameworkFork\System.ServiceModel\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;
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (15)
5234
o.
@Name
= Reader.Value;
5342
o.
@Name
= Reader.Value;
5423
o.
@Name
= Reader.Value;
5701
o.
@Name
= Reader.Value;
5800
o.
@Name
= Reader.Value;
5903
o.
@Name
= Reader.Value;
6160
o.
@Name
= Reader.Value;
7190
o.
@Name
= Reader.Value;
7831
o.
@Name
= Reader.Value;
7914
o.
@Name
= Reader.Value;
8008
o.
@Name
= Reader.Value;
8090
o.
@Name
= Reader.Value;
8172
o.
@Name
= Reader.Value;
8255
o.
@Name
= Reader.Value;
8336
o.
@Name
= Reader.Value;
160 references to Name
dotnet-svcutil-lib (160)
CodeSerializer.cs (4)
141
if (!string.IsNullOrEmpty(wsdl.
Name
))
143
fileName = XmlConvert.DecodeName(wsdl.
Name
);
155
if (wsdl.Services.Count > 0 && !string.IsNullOrEmpty(wsdl.Services[0].
Name
))
157
fileName = XmlConvert.DecodeName(wsdl.Services[0].
Name
);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportBindingElementImporter.cs (2)
211
XmlQualifiedName wsdlBindingQName = new XmlQualifiedName(context.WsdlBinding.
Name
, context.WsdlBinding.ServiceDescription.TargetNamespace);
217
XmlQualifiedName key = new XmlQualifiedName(context.WsdlBinding.
Name
, context.WsdlBinding.ServiceDescription.TargetNamespace);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (55)
311
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxWsdlOperationInputNeedsMessageAttribute2, wsdlOperation.
Name
, wsdlOperation.PortType.
Name
)));
313
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxWsdlOperationOutputNeedsMessageAttribute2, wsdlOperation.
Name
, wsdlOperation.PortType.
Name
)));
332
AddError(string.Format(SRServiceModel.SFxInconsistentWsdlOperationUseInBindingMessages, messageBinding.OperationBinding.
Name
, messageBinding.OperationBinding.Binding.
Name
));
344
AddError(string.Format(SRServiceModel.SFxInconsistentWsdlOperationUseInBindingFaults, faultBinding.OperationBinding.
Name
, faultBinding.OperationBinding.Binding.
Name
));
361
operation.Name, operationBinding.Binding.
Name
, GetUse(operationStyleAndUse), GetStyle(operationStyleAndUse),
362
prevOperationBinding.Binding.
Name
, GetUse(styleAndUse.Value), GetStyle(styleAndUse.Value)));
381
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxWsdlOperationInputNeedsMessageAttribute2, wsdlOperation.
Name
, wsdlOperation.PortType.
Name
)));
383
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxWsdlOperationOutputNeedsMessageAttribute2, wsdlOperation.
Name
, wsdlOperation.PortType.
Name
)));
388
if (!CanImportMessage(wsdlMessage, wsdlOperationMessage.
Name
, out inferredMessageStyle, ref areAllMessagesWrapped))
444
if (bodyPartsFromBindings != null && !bodyPartsFromBindings.Contains(part.
Name
))
485
if (bodyPartsFromBindings != null && !bodyPartsFromBindings.Contains(part.
Name
))
489
isReturn = Array.IndexOf<string>(parameterOrder, part.
Name
) == -1;
608
TraceFaultCannotBeImported(fault.
Name
, description.Name, string.Format(SRServiceModel.SFxWsdlOperationFaultNeedsMessageAttribute2, fault.
Name
, fault.Operation.PortType.
Name
));
617
TraceFaultCannotBeImported(fault.
Name
, description.Name, SRServiceModel.UnsupportedWSDLOnlyOneMessage);
627
TraceFaultCannotBeImported(fault.
Name
, description.Name, SRServiceModel.UnsupportedWSDLTheFault);
644
return CheckAndAddPart(part.Type, DataContractSerializerMessageContractImporter.GenericMessageTypeName, part.
Name
, string.Empty, typeof(Message), description, isReply);
708
return CheckAndAddPart(typeName, DataContractSerializerMessageContractImporter.StreamBodyTypeName, part.
Name
, ns, typeof(Stream), description, isReply);
755
return wsdlPart.
Name
== "parameters" && !IsNullOrEmpty(wsdlPart.Element) && !wrapFlag;
777
if (part.
Name
== name)
780
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxWsdlMessageDoesNotContainPart3, name, message.
Name
, message.ServiceDescription.TargetNamespace)));
1074
string messageName = part.Message.
Name
;
1083
if (message.Message.Equals(new XmlQualifiedName(part.Message.
Name
, description.TargetNamespace)))
1100
if (operation != null && !new XmlQualifiedName(operation.PortType.
Name
, targetNamespace).Equals(binding.Type))
1299
AddError(string.Format(SRServiceModel.SFxInconsistentWsdlOperationUseInBindingExtensions, messageBinding.OperationBinding.
Name
, messageBinding.OperationBinding.Binding.
Name
));
1311
AddError(string.Format(SRServiceModel.SFxInconsistentWsdlOperationUseInBindingExtensions, messageBinding.OperationBinding.
Name
, messageBinding.OperationBinding.Binding.
Name
));
1317
messageParts[i] = wsdlMessage.Parts[i].
Name
;
1335
AddError(string.Format(SRServiceModel.SFxInconsistentBindingBodyParts, messageBinding.OperationBinding.
Name
, messageBinding.OperationBinding.Binding.
Name
, partName));
1372
AddError(string.Format(SRServiceModel.SFxInconsistentWsdlOperationUseInBindingExtensions, faultBinding.OperationBinding.
Name
, faultBinding.OperationBinding.Binding.
Name
));
1395
AddError(string.Format(SRServiceModel.SFxInconsistentWsdlOperationStyleInHeader, part.
Name
, headerStyle, style));
1407
ImportMessageHeaderBinding(soapHeaderBinding, wsdlMessage, description, style, isEncoded, messageBinding.OperationBinding.
Name
);
1414
ImportMessageBodyBinding(soapBodyBinding, wsdlMessage, description, style, isEncoded, messageBinding.OperationBinding.
Name
);
1455
return new XmlQualifiedName(part.
Name
, String.Empty);
1456
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxWsdlPartMustHaveElementOrType, part.
Name
, part.Message.
Name
, part.Message.Namespaces)));
1479
bodyPart = isHeader ? (MessagePartDescription)new MessageHeaderDescription(part.
Name
, String.Empty) : new MessagePartDescription(part.
Name
, String.Empty);
1483
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxWsdlPartMustHaveElementOrType, part.
Name
, part.Message.
Name
, part.Message.Namespaces)));
2185
string warning = string.Format(SRServiceModel.IgnoreSoapHeaderBinding3, messageBinding.OperationBinding.
Name
, messageBinding.OperationBinding.Binding.ServiceDescription.TargetNamespace, reason);
2193
string warning = string.Format(SRServiceModel.IgnoreSoapHeaderBinding3, messageBinding.OperationBinding.
Name
, messageBinding.OperationBinding.Binding.ServiceDescription.TargetNamespace, reason);
2205
string warning = string.Format(SRServiceModel.IgnoreSoapFaultBinding3, faultBinding.OperationBinding.
Name
, faultBinding.OperationBinding.Binding.ServiceDescription.TargetNamespace, reason);
2215
if (string.IsNullOrEmpty(part.
Name
))
2218
string warning = string.Format(SRServiceModel.IgnoreMessagePart3, message.
Name
, message.ServiceDescription.TargetNamespace, reason);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlContractConversionContext.cs (1)
152
if (wsdlBinding.Type.Name == WsdlPortType.
Name
&& wsdlBinding.Type.Namespace == WsdlPortType.ServiceDescription.TargetNamespace)
FrameworkFork\System.ServiceModel\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
);
1080
if (port.
Name
== portName)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (42)
304
XmlQualifiedName wsdlPortTypeQName = new XmlQualifiedName(wsdlPortType.
Name
, wsdlPortType.ServiceDescription.TargetNamespace);
364
XmlQualifiedName wsdlBindingQName = new XmlQualifiedName(wsdlBinding.
Name
, wsdlBinding.ServiceDescription.TargetNamespace);
520
if (string.IsNullOrEmpty(wsdlOperationFault.
Name
))
528
faultDescription.SetNameOnly(new XmlName(wsdlOperationFault.
Name
, true /*isEncoded*/));
864
if (faultBinding.
Name
== fault.Name)
873
string wsdlOperationBindingName = wsdlOperationBinding.
Name
;
877
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxInvalidWsdlBindingOpNoName, wsdlOperationBinding.Binding.
Name
)));
906
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxInvalidWsdlBindingOpMismatch2, wsdlOperationBinding.Binding.
Name
, wsdlOperationBinding.
Name
)));
923
if (wsdlOperationBinding.
Name
!= wsdlOperation.
Name
)
958
string wsdlOperationMessageName = wsdlOperationMessage.
Name
;
959
string wsdlMessageBindingName = wsdlMessageBinding.
Name
;
989
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.UnableToLocateOperation2, wsdlOperationBinding.
Name
, contract.Name)));
996
if (wsdlOperationName != wsdlOperationBinding.
Name
)
1060
string portTypeName = wsdlOperationMessage.Operation.PortType.
Name
;
1180
XmlName xmlName = new XmlName(wsdlBinding.
Name
, true /*isEncoded*/);
1187
XmlName xmlName = new XmlName(string.Format(CultureInfo.InvariantCulture, "{0}_{1}", wsdlPort.Service.
Name
, wsdlPort.
Name
), true /*isEncoded*/);
1193
return new XmlName(wsdlPort.
Name
, true /*isEncoded*/);
1203
return wsdlOperation.
Name
;
1209
if (!string.IsNullOrEmpty(wsdlOperationMessage.
Name
))
1211
messageName = wsdlOperationMessage.
Name
;
1215
messageName = wsdlOperationMessage.Operation.
Name
;
1220
messageName = wsdlOperationMessage.Operation.
Name
+ "Request";
1222
messageName = wsdlOperationMessage.Operation.
Name
+ "Solicit";
1226
messageName = wsdlOperationMessage.Operation.
Name
+ "Response";
1317
XmlQualifiedName wsdlBindingQName = new XmlQualifiedName(wsdlBinding.
Name
, wsdlBinding.ServiceDescription.TargetNamespace);
1348
string id = string.Format(System.Globalization.CultureInfo.InvariantCulture, "{0}_{1}_BindingAdHocPolicy", wsdlBinding.
Name
, name);
1505
if (wsdlBinding.Type.Name == wsdlPortType.
Name
1526
if (wsdlPort.Binding.Name == binding.
Name
&& wsdlPort.Binding.Namespace == binding.ServiceDescription.TargetNamespace)
1629
XmlQualifiedName bindingQName = new XmlQualifiedName(endpointContext.WsdlBinding.
Name
, endpointContext.WsdlBinding.ServiceDescription.TargetNamespace);
1761
string nameValue = item.
Name
;
1814
nameValue = wsdlService.
Name
;
1816
rest = string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, "port", item.
Name
);
1822
nameValue = wsdlPortType.
Name
;
1824
rest = string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, "operation", item.
Name
);
1830
nameValue = wsdlOperationBinding.Binding.
Name
;
1832
rest = string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, "operation", item.
Name
);
1839
nameValue = wsdlOperationBinding.Binding.
Name
;
1840
string messageName = item.
Name
;
1852
rest = string.Format(CultureInfo.InvariantCulture, xPathNamedItemSubFormatString, "operation", wsdlOperationBinding.
Name
);
FrameworkFork\System.Web.Services\Services\Description\ServiceDescription.cs (20)
1281
if (operationBinding.
Name
!=
Name
) return false;
1287
string portTypeInputName = GetMessageName(
Name
, input.
Name
, true);
1288
string bindingInputName = GetMessageName(operationBinding.
Name
, operationBinding.Input.
Name
, true);
1299
string portTypeOutputName = GetMessageName(
Name
, output.
Name
, false);
1300
string bindingOutputName = GetMessageName(operationBinding.
Name
, operationBinding.Output.
Name
, false);
1449
if (part.
Name
== partName) return part;
1451
throw new ArgumentException(string.Format(ResWebServices.MissingMessagePartForMessageFromNamespace3, partName,
Name
, ServiceDescription.TargetNamespace), "partName");
2218
return ((Message)value).
Name
;
2318
return ((Port)value).
Name
;
2418
return ((PortType)value).
Name
;
2518
return ((Binding)value).
Name
;
2618
return ((Service)value).
Name
;
2718
return ((MessagePart)value).
Name
;
2900
return ((FaultBinding)value).
Name
;
3082
return ((OperationFault)value).
Name
;
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (15)
52
WriteAttribute(@"name", @"", ((global::System.String)o.
@Name
));
164
WriteAttribute(@"name", @"", ((global::System.String)o.
@Name
));
234
WriteAttribute(@"name", @"", ((global::System.String)o.
@Name
));
405
WriteAttribute(@"name", @"", ((global::System.String)o.
@Name
));
502
WriteAttribute(@"name", @"", ((global::System.String)o.
@Name
));
600
WriteAttribute(@"name", @"", ((global::System.String)o.
@Name
));
780
WriteAttribute(@"name", @"", ((global::System.String)o.
@Name
));
1390
WriteAttribute(@"name", @"", ((global::System.String)o.
@Name
));
1770
WriteAttribute(@"name", @"", ((global::System.String)o.
@Name
));
1840
WriteAttribute(@"name", @"", ((global::System.String)o.
@Name
));
1941
WriteAttribute(@"name", @"", ((global::System.String)o.
@Name
));
2002
WriteAttribute(@"name", @"", ((global::System.String)o.
@Name
));
2063
WriteAttribute(@"name", @"", ((global::System.String)o.
@Name
));
2124
WriteAttribute(@"name", @"", ((global::System.String)o.
@Name
));
2194
WriteAttribute(@"name", @"", ((global::System.String)o.
@Name
));
ImportModule.cs (1)
393
XmlQualifiedName wsdlBindingQName = new XmlQualifiedName(context.WsdlBinding.
Name
, context.WsdlBinding.ServiceDescription.TargetNamespace);
Metadata\ServiceDescriptor.cs (1)
214
services.Add(new ServiceInfo(wsdlService.
Name
, contracts));