2 writes to TargetNamespace
dotnet-svcutil-lib (2)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (1)
489
wsdl.
TargetNamespace
= ns;
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (1)
5239
o.
@TargetNamespace
= Reader.Value;
44 references to TargetNamespace
dotnet-svcutil-lib (44)
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 (7)
780
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxWsdlMessageDoesNotContainPart3, name, message.Name, message.ServiceDescription.
TargetNamespace
)));
1083
if (message.Message.Equals(new XmlQualifiedName(part.Message.Name, description.
TargetNamespace
)))
1097
string targetNamespace = description.
TargetNamespace
;
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);
2218
string warning = string.Format(SRServiceModel.IgnoreMessagePart3, message.Name, message.ServiceDescription.
TargetNamespace
, reason);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataSection.cs (1)
132
section.Identifier = serviceDescription.
TargetNamespace
;
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 (5)
325
wsdlPortTypeQName = new XmlQualifiedName(wsdlPortType.Name, wsdlPortType.ServiceDescription.
TargetNamespace
);
335
wsdlBindingQName = new XmlQualifiedName(bindingConversionContext.WsdlBinding.Name, bindingConversionContext.WsdlBinding.ServiceDescription.
TargetNamespace
);
492
if (!string.IsNullOrEmpty(wsdl.
TargetNamespace
))
493
namespaces.Add("tns", wsdl.
TargetNamespace
);
525
if (srcWsdl.
TargetNamespace
== target)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (19)
304
XmlQualifiedName wsdlPortTypeQName = new XmlQualifiedName(wsdlPortType.Name, wsdlPortType.ServiceDescription.
TargetNamespace
);
364
XmlQualifiedName wsdlBindingQName = new XmlQualifiedName(wsdlBinding.Name, wsdlBinding.ServiceDescription.
TargetNamespace
);
1059
string ns = wsdlOperationMessage.Operation.PortType.ServiceDescription.
TargetNamespace
?? string.Empty;
1181
return new XmlQualifiedName(xmlName.EncodedName, wsdlBinding.ServiceDescription.
TargetNamespace
);
1188
return new XmlQualifiedName(xmlName.EncodedName, wsdlPort.Service.ServiceDescription.
TargetNamespace
);
1317
XmlQualifiedName wsdlBindingQName = new XmlQualifiedName(wsdlBinding.Name, wsdlBinding.ServiceDescription.
TargetNamespace
);
1506
&& wsdlBinding.Type.Namespace == wsdlPortType.ServiceDescription.
TargetNamespace
)
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
);
1783
wsdlNs = ((WsdlNS.ServiceDescription)item).
TargetNamespace
?? String.Empty;
1788
wsdlNs = ((WsdlNS.PortType)item).ServiceDescription.
TargetNamespace
?? String.Empty;
1793
wsdlNs = ((WsdlNS.Binding)item).ServiceDescription.
TargetNamespace
?? String.Empty;
1798
wsdlNs = ((WsdlNS.ServiceDescription)item).
TargetNamespace
?? String.Empty;
1803
wsdlNs = ((WsdlNS.Service)item).ServiceDescription.
TargetNamespace
?? String.Empty;
1808
wsdlNs = ((WsdlNS.Message)item).ServiceDescription.
TargetNamespace
?? String.Empty;
1815
wsdlNs = wsdlService.ServiceDescription.
TargetNamespace
?? String.Empty;
1823
wsdlNs = wsdlPortType.ServiceDescription.
TargetNamespace
?? String.Empty;
1831
wsdlNs = wsdlOperationBinding.Binding.ServiceDescription.
TargetNamespace
?? String.Empty;
1838
wsdlNs = wsdlOperationBinding.Binding.ServiceDescription.
TargetNamespace
?? String.Empty;
FrameworkFork\System.Web.Services\Services\Description\ServiceDescription.cs (5)
482
if (this.
TargetNamespace
!= null && this.
TargetNamespace
.Length != 0)
484
ns.Add("tns", this.
TargetNamespace
);
489
if (tns != null && tns.Length > 0 && tns != this.
TargetNamespace
&& tns != ServiceDescription.Namespace)
1451
throw new ArgumentException(string.Format(ResWebServices.MissingMessagePartForMessageFromNamespace3, partName, Name, ServiceDescription.
TargetNamespace
), "partName");
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptions.cs (1)
101
string ns = ((ServiceDescription)value).
TargetNamespace
;
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (1)
53
WriteAttribute(@"targetNamespace", @"", ((global::System.String)o.
@TargetNamespace
));
ImportModule.cs (1)
393
XmlQualifiedName wsdlBindingQName = new XmlQualifiedName(context.WsdlBinding.Name, context.WsdlBinding.ServiceDescription.
TargetNamespace
);
Metadata\MetadataDocumentSaver.cs (1)
221
var filePath = AddFilePath(wsdl.RetrievalUrl, wsdl.
TargetNamespace
, ".wsdl");