[Mono-bugs] [Bug 74578][Nor] New - Web service client proxy https url invalid
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 12 Apr 2005 09:08:08 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by scott.barnham@ifgmgt.com.
http://bugzilla.ximian.com/show_bug.cgi?id=74578
--- shadow/74578 2005-04-12 09:08:08.000000000 -0400
+++ shadow/74578.tmp.18941 2005-04-12 09:08:08.000000000 -0400
@@ -0,0 +1,87 @@
+Bug#: 74578
+Product: Mono: Class Libraries
+Version: 1.1
+OS: Debian Potato
+OS Details: 2.4.29
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Sys.Web.Services
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: scott.barnham@ifgmgt.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Web service client proxy https url invalid
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+The Client Proxy generated for a web service accessed over https contains a
+ url with format http://server:443/test.asmx . This results in a protocol
+violation as the client tries to talk http on port 443. The Client Proxy
+code should contain url like https://server/test.asmx .
+
+Steps to reproduce the problem:
+1. Go to any web service asmx page over https.
+2. Click the Client proxy link.
+3. See the constructor sets this.Url.
+
+Actual Results:
+//
+------------------------------------------------------------------------------
+// <autogenerated>
+// This code was generated by a tool.
+// Mono Runtime Version: 1.1.4322.573
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+// </autogenerated>
+//
+------------------------------------------------------------------------------
+
+
+/// <remarks/>
+[System.Web.Services.WebServiceBinding(Name="TestServiceSoap",Namespace="http://tempuri.org/"),
+System.Diagnostics.DebuggerStepThroughAttribute(),
+System.ComponentModel.DesignerCategoryAttribute("code")]
+public class TestService:
+System.Web.Services.Protocols.SoapHttpClientProtocol {
+
+ public TestService () {
+ this.Url = "http://myserver:443/demo/1.1/webservice/TestService.asmx";
+ }
+
+Expected Results:
+//
+------------------------------------------------------------------------------
+// <autogenerated>
+// This code was generated by a tool.
+// Mono Runtime Version: 1.1.4322.573
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+// </autogenerated>
+//
+------------------------------------------------------------------------------
+
+
+/// <remarks/>
+[System.Web.Services.WebServiceBinding(Name="TestServiceSoap",Namespace="http://tempuri.org/"),
+System.Diagnostics.DebuggerStepThroughAttribute(),
+System.ComponentModel.DesignerCategoryAttribute("code")]
+public class TestService:
+System.Web.Services.Protocols.SoapHttpClientProtocol {
+
+ public TestService () {
+ this.Url = "https://myserver/demo/1.1/webservice/TestService.asmx";
+ }
+
+How often does this happen?
+Always.
+
+Additional Information:
+Using mono version 1.1.7, mod_mono version 1.0.6, apache 2.0.53.