+2008-07-01 Atsushi Enomoto <atsushi@ximian.com>
+
+ * ServiceDescription.cs : fill RetrievalUrl by string.Empty
+ by default.
+
2008-07-01 Atsushi Enomoto <atsushi@ximian.com>
* ProtocolImporter.cs, HttpSimpleProtocolImporter.cs,
string name;
#endif
PortTypeCollection portTypes;
- string retrievalUrl;
+ string retrievalUrl = String.Empty;
ServiceDescriptionCollection serviceDescriptions;
ServiceCollection services;
string targetNamespace;
+2008-07-01 Atsushi Enomoto <atsushi@ximian.com>
+
+ * ServiceDescriptionTest.cs : check RetrievalUrl before/after Read().
+ Sadly it does not provide the actual URL...
+
2008-07-01 Atsushi Enomoto <atsushi@ximian.com>
* test3.wsdl: added missing file (though the test is ignored).
Assert.IsNull (sd.TargetNamespace);
}
+ [Test]
+ public void ReadAndRetrievalUrl ()
+ {
+ Assert.AreEqual (String.Empty, new ServiceDescription ().RetrievalUrl, "#1");
+ ServiceDescription sd = ServiceDescription.Read ("Test/System.Web.Services.Description/test2.wsdl");
+ Assert.AreEqual (String.Empty, sd.RetrievalUrl, "#2");
+ }
+
#if NET_2_0
[Test]
public void Namespaces ()