[Mono-bugs] [Bug 75762][Wis] New - Web Services, WSDL and SSL

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Aug 9 13:51:43 EDT 2005


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 pedromj at gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=75762

--- shadow/75762	2005-08-09 13:51:42.000000000 -0400
+++ shadow/75762.tmp.19233	2005-08-09 13:51:43.000000000 -0400
@@ -0,0 +1,50 @@
+Bug#: 75762
+Product: Mono: Class Libraries
+Version: 1.0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Sys.Web.Services
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: pedromj at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Web Services, WSDL and SSL
+
+WSDL generation if XSP has SSL enabled is wrong (it shows https either than
+https).
+
+In the client side, WSDL tool doesn't generate SSL Socket or something,
+because it fails to connect to the server.
+
+Reproducing de BUG is easy:
+
+- Create certificate an key:
+    makecert -r -eku 1.3.6.1.5.5.7.3.1 -n "CN=localhost" -sv localhost.pvk
+localhost.cer
+
+- Launch a XSP with SSL enabled:
+    xsp --https --cert localhost.cer --pkfile localhost.pvk --pkpwd pass
+
+- Put a .asmx file inside the server root (default is the same directory
+you run XSP), for example "MyWebService.asmx".
+
+- Go to https://localhost:8080/MyWebService.asmx?wsdl or run:
+    wget --no-check-certificate https://localhost:8080/MyWebService.asmx?wsdl
+    mv "MyWebService.asmx?wsdl" MyWebService.wsdl
+(here it can be seen that wsdl doesn't have HTTPS, it has HTTP)
+
+- Edit the file and change "http" by "https" in the references to the service.
+
+- Then, get the ".cs" file and compile it:
+    wsdl MyWebService.wsdl
+    mcs /target:library MyWebService.cs /r:System.Web.Services.dll
+
+- Write a little client app, compile with "/r:MyWebService.dll" and run it.
+
+That's all, here we can see the two errors.


More information about the mono-bugs mailing list