[Mono-bugs] [Bug 51840][Nor] New - WSDL Tool Bug: Should not need CR in WSDL document

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 5 Feb 2004 00:33:09 -0500 (EST)

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 davidandrewtaylor@hotmail.com.


--- shadow/51840	2004-02-05 00:33:09.000000000 -0500
+++ shadow/51840.tmp.21371	2004-02-05 00:33:09.000000000 -0500
@@ -0,0 +1,63 @@
+Bug#: 51840
+Product: Mono/Class Libraries
+Version: unspecified
+OS: unknown
+OS Details: 
+Status: CLOSED   
+Severity: Unknown
+Priority: Normal
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: davidandrewtaylor@hotmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: WSDL Tool Bug: Should not need CR in WSDL document
+Description of Problem:
+When trying to generate a proxy using WSDL from a BEA WebLogic generated
+web service, an exception was thrown because the tool was expecting a '/r'.
+ The WSDL tool should *not* require CR or LF chars to exist in the document
+because the WSDL file is an XML file and Whitespace should be ignored.  it
+should be alright to have the WSDL file as a single line with no CR or LF.
+Steps to reproduce the problem:
+1. Use WSDL tool to generate a proxy against a BEA WebLogic web service.
+Actual Results:
+Exception shown below.
+Expected Results:
+Should produce proxy.
+Additional Information:
+WSDL proxy generator v0.1
+Fetching http://localhost/createuser/CreateUser
+Error: Expecting \r
+ in <0x00091> System.Net.ChunkStream:ReadCRLF (byte[],int&,int)
+in <0x000d2> System.Net.ChunkStream:InternalWrite (byte[],int&,int)
+in <0x00018> System.Net.ChunkStream:Write (byte[],int,int)
+in <0x0001e> System.Net.ChunkStream:WriteAndReadBack (byte[],int,int,int&)
+in <0x000fe> System.Net.WebConnection:EndRead (System.IAsyncResult)
+in <0x00091> System.Net.WebConnectionStream:EndRead (System.IAsyncResult)
+in <0x00088> System.Net.WebConnectionStream:Read (byte[],int,int)
+in <0x000de> Mono.Xml.Native.XmlInputStream:Read (byte[],int,int)
+in <0x00063> System.IO.StreamReader:ReadBuffer ()
+in <0x00050> (wrapper remoting-invoke-with-check)
+System.IO.StreamReader:ReadBuffer ()
+in <0x0005e> System.IO.StreamReader:Read ()
+in <0x00064> System.Xml.XmlTextReader:PeekChar ()
+in <0x0008d> System.Xml.XmlTextReader:ReadContent ()
+in <0x001a0> System.Xml.XmlTextReader:Read ()
+in <0x0008d> System.Xml.XmlReader:MoveToContent ()
+in <0x0011e> Mono.WebServices.Driver:Run (string[])
+------- Additional Comments From lluis@ximian.com  2003-12-08 05:48 -------
+Please, can you attach the wsdl document that fails?
+------- Additional Comments From davidandrewtaylor@hotmail.com  2004-02-05 00:33 -------
+I have tested this against MONO 0.30 and the problem is now resolved.