4 writes to TargetNamespace
System.ServiceModel (1)
System\ServiceModel\Description\WsdlExporter.cs (1)
489
wsdl.
TargetNamespace
= ns;
System.Web.Services (3)
System\Web\Services\Description\ProtocolReflector.cs (1)
355
description.
TargetNamespace
= ns;
System\Web\Services\Description\ServiceDescriptionReflector.cs (1)
145
description.
TargetNamespace
= serviceAttr.Namespace;
System\Web\Services\Description\ServiceDescriptionSerializer.cs (1)
4159
o.
@TargetNamespace
= Reader.Value;
102 references to TargetNamespace
System.ServiceModel (51)
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 (1)
336
XmlQualifiedName serviceName = new XmlQualifiedName(name, wsdl.
TargetNamespace
);
System\ServiceModel\ComIntegration\MexServiceChannelBuilder.cs (1)
486
if (wsdl.
TargetNamespace
== portTypeQName.Namespace)
System\ServiceModel\ComIntegration\WsdlServiceChannelBuilder.cs (2)
255
contractNamespace = wsdl.
TargetNamespace
;
258
bindingNamespace = wsdl.
TargetNamespace
;
System\ServiceModel\Description\MessageContractExporter.cs (8)
222
operationFault.Message = new XmlQualifiedName(faultMessage.Name, faultMessage.ServiceDescription.
TargetNamespace
);
305
string refNs = wsdl.
TargetNamespace
;
311
refNs = wsdl.
TargetNamespace
;
466
wsdlOperationMessage.Message = new XmlQualifiedName(wsdlMessage.Name, wsdlMessage.ServiceDescription.
TargetNamespace
);
692
XmlQualifiedName wsdlHeaderMessageName = new XmlQualifiedName(headerMessage.Name, headerMessage.ServiceDescription.
TargetNamespace
);
1069
string portTypeNs = contractContext.WsdlPortType.ServiceDescription.
TargetNamespace
;
1101
string portTypeNs = contractContext.WsdlPortType.ServiceDescription.
TargetNamespace
;
1157
operationFault.Message = new XmlQualifiedName(faultMessage.Name, faultMessage.ServiceDescription.
TargetNamespace
);
System\ServiceModel\Description\MessageContractImporter.cs (7)
792
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxWsdlMessageDoesNotContainPart3, name, message.Name, message.ServiceDescription.
TargetNamespace
)));
1095
if (message.Message.Equals(new XmlQualifiedName(part.Message.Name, description.
TargetNamespace
)))
1109
string targetNamespace = description.
TargetNamespace
;
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);
2231
string warning = SR.GetString(SR.IgnoreMessagePart3, message.Name, message.ServiceDescription.
TargetNamespace
, reason);
System\ServiceModel\Description\MetadataSection.cs (1)
132
section.Identifier = serviceDescription.
TargetNamespace
;
System\ServiceModel\Description\WsdlContractConversionContext.cs (1)
155
if (wsdlBinding.Type.Name == WsdlPortType.Name && wsdlBinding.Type.Namespace == WsdlPortType.ServiceDescription.
TargetNamespace
)
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)
System\ServiceModel\Description\WsdlHelper.cs (4)
121
new XmlQualifiedName(binding.Name, binding.ServiceDescription.
TargetNamespace
),
122
new XmlQualifiedName(uniqueBindingName, singleWsdl.
TargetNamespace
));
229
IEnumerable<string> namespaces = contractWsdls.Select<WsdlNS.ServiceDescription, string>(wsdl => wsdl.
TargetNamespace
);
237
string targetNamespace = wsdl.
TargetNamespace
;
System\ServiceModel\Description\WsdlImporter.cs (19)
303
XmlQualifiedName wsdlPortTypeQName = new XmlQualifiedName(wsdlPortType.Name, wsdlPortType.ServiceDescription.
TargetNamespace
);
365
XmlQualifiedName wsdlBindingQName = new XmlQualifiedName(wsdlBinding.Name, wsdlBinding.ServiceDescription.
TargetNamespace
);
1064
string ns = wsdlOperationMessage.Operation.PortType.ServiceDescription.
TargetNamespace
?? string.Empty;
1187
return new XmlQualifiedName(xmlName.EncodedName, wsdlBinding.ServiceDescription.
TargetNamespace
);
1194
return new XmlQualifiedName(xmlName.EncodedName, wsdlPort.Service.ServiceDescription.
TargetNamespace
);
1323
XmlQualifiedName wsdlBindingQName = new XmlQualifiedName(wsdlBinding.Name, wsdlBinding.ServiceDescription.
TargetNamespace
);
1518
&& wsdlBinding.Type.Namespace == wsdlPortType.ServiceDescription.
TargetNamespace
)
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
);
1796
wsdlNs = ((WsdlNS.ServiceDescription)item).
TargetNamespace
?? String.Empty;
1801
wsdlNs = ((WsdlNS.PortType)item).ServiceDescription.
TargetNamespace
?? String.Empty;
1806
wsdlNs = ((WsdlNS.Binding)item).ServiceDescription.
TargetNamespace
?? String.Empty;
1811
wsdlNs = ((WsdlNS.ServiceDescription)item).
TargetNamespace
?? String.Empty;
1816
wsdlNs = ((WsdlNS.Service)item).ServiceDescription.
TargetNamespace
?? String.Empty;
1821
wsdlNs = ((WsdlNS.Message)item).ServiceDescription.
TargetNamespace
?? String.Empty;
1828
wsdlNs = wsdlService.ServiceDescription.
TargetNamespace
?? String.Empty;
1836
wsdlNs = wsdlPortType.ServiceDescription.
TargetNamespace
?? String.Empty;
1844
wsdlNs = wsdlOperationBinding.Binding.ServiceDescription.
TargetNamespace
?? String.Empty;
1851
wsdlNs = wsdlOperationBinding.Binding.ServiceDescription.
TargetNamespace
?? String.Empty;
System.Web.Extensions (2)
Compilation\WCFModel\MetadataFile.cs (1)
786
m_TargetNamespace = serviceDescription.
TargetNamespace
;
Compilation\WCFModel\WsdlInspector.cs (1)
67
string targetNamespace = wsdl.
TargetNamespace
;
System.Web.Services (49)
System\Web\Services\Description\ProtocolImporter.cs (6)
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));
544
operation.PortType.ServiceDescription.
TargetNamespace
,
553
return new Exception(Res.GetString(Res.TheOperationBindingFromNamespaceHadInvalid3, operationBinding.Name, operationBinding.Binding.ServiceDescription.
TargetNamespace
, text));
System\Web\Services\Description\ProtocolReflector.cs (3)
205
input.Message = new XmlQualifiedName(inputMessage.Name, bindingServiceDescription.
TargetNamespace
);
230
output.Message = new XmlQualifiedName(outputMessage.Name, bindingServiceDescription.
TargetNamespace
);
365
if (bindingNamespace.Length == 0) bindingNamespace = ServiceDescription.
TargetNamespace
;
System\Web\Services\Description\ServiceDescription.cs (5)
440
if (this.
TargetNamespace
!= null && this.
TargetNamespace
.Length != 0) {
441
ns.Add("tns", this.
TargetNamespace
);
445
if (tns != null && tns.Length > 0 && tns != this.
TargetNamespace
&& tns != ServiceDescription.Namespace) {
1298
throw new ArgumentException(Res.GetString(Res.MissingMessagePartForMessageFromNamespace3, partName, Name, ServiceDescription.
TargetNamespace
), "partName");
System\Web\Services\Description\ServiceDescriptionImporter.cs (2)
330
if (message.Message.Equals(new XmlQualifiedName(part.Message.Name, description.
TargetNamespace
))) {
342
string targetNamespace = description.
TargetNamespace
;
System\Web\Services\Description\ServiceDescriptions.cs (1)
98
string ns = ((ServiceDescription)value).
TargetNamespace
;
System\Web\Services\Description\ServiceDescriptionSerializer.cs (1)
40
WriteAttribute(@"targetNamespace", @"", ((global::System.String)o.
@TargetNamespace
));
System\Web\Services\Description\SoapProtocolImporter.cs (3)
449
string targetNs = Service != null ? Service.ServiceDescription.
TargetNamespace
: Binding.ServiceDescription.
TargetNamespace
;
456
attribute.Arguments.Add(new CodeAttributeArgument("Namespace", new CodePrimitiveExpression(Binding.ServiceDescription.
TargetNamespace
)));
System\Web\Services\Description\SoapProtocolReflector.cs (1)
128
ServiceDescriptionFormatExtension soapHeaderBinding = CreateSoapHeaderBinding(new XmlQualifiedName(message.Name, Binding.ServiceDescription.
TargetNamespace
), part.Name, rpc ? member.Namespace : null, use);
System\Web\Services\Description\WebServicesInteroperability.cs (25)
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));
125
violations.Add("R2304", Res.GetString(Res.OperationBinding, operationBinding.Name, operationBinding.Parent.Name, description.
TargetNamespace
));
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
));
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));
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
));
293
violations.Add("R2007", Res.GetString(Res.Description, description.
TargetNamespace
));
300
violations.Add("R2803", Res.GetString(Res.Description, description.
TargetNamespace
));
312
violations.Add("R2105", Res.GetString(Res.Element, "schema", description.
TargetNamespace
));
525
violations.Add("R2026", Res.GetString(Res.BindingInvalidAttribute, binding.Name, description.
TargetNamespace
, "wsdl:required", "true"));
539
violations.Add("R2026", Res.GetString(Res.Element, "wsdl:types", description.
TargetNamespace
));
546
violations.Add("R2026", Res.GetString(Res.Port, port.Name, service.Name, description.
TargetNamespace
));
System\Web\Services\Protocols\DiscoveryServerProtocol.cs (2)
75
import.Namespace = description.
TargetNamespace
;
155
top.TargetNamespace = description.
TargetNamespace
;