Re: [Mono-list] wsdl (mono version) does not generate code

2003-12-28 Thread Atsushi Eno
Hello,

I could reproduce that error on my redhat9 box. And when I adjusted 
System.Xml.XmlStreamReader not to use XmlInputStream, wsdl.exe 
successfully generates bloggyWS.cs.

However, when I tried that URL with mono's wsdl.exe both on mono runtime 
 and on MS .NET runtime (without that xml change), it generated 
bloggyWS.cs successfully.

So there looks a bug somewhere in network stream and/or XmlInputStream, 
which is specific to linux or unix environment. (However, there is no 
code switch in XmlInputStream.)

Anyways, please file a bug as far as you know.

Thanks,
Atsushi Eno
Pablo Fischer wrote:
Ohh..

So, should I report it as a bug? a 'network stream bug'?

Happy new year!
Pablo
El dom, 28-12-2003 a las 17:29, David Sheldon escribió:
On Sun, Dec 28, 2003 at 12:39:11PM -0600, Pablo Fischer wrote:

Hi!

Yep, I know that in .NET Framework I can generate the proxy code, but
I'm not using Windows, I'm using Mono in Linux, and in Mono the wsdl.exe
can't generate the proxy code.
If you save the wsdl to a file, then run wsdl on that file it appears to
generate correct code. Unfortunately I don't have time to work on this
at the moment, but it does look like a bug in reading XML from a network
stream.
Coincidently, the close-tag that is failing is the same one that the IP
packet spilts, but I can't see how that would break it. 

David




___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] wsdl (mono version) does not generate code

2003-12-28 Thread Pablo Fischer
Ohh..

So, should I report it as a bug? a 'network stream bug'?

Happy new year!
Pablo
El dom, 28-12-2003 a las 17:29, David Sheldon escribió:
> On Sun, Dec 28, 2003 at 12:39:11PM -0600, Pablo Fischer wrote:
> > Hi!
> > 
> > Yep, I know that in .NET Framework I can generate the proxy code, but
> > I'm not using Windows, I'm using Mono in Linux, and in Mono the wsdl.exe
> > can't generate the proxy code.
> 
> If you save the wsdl to a file, then run wsdl on that file it appears to
> generate correct code. Unfortunately I don't have time to work on this
> at the moment, but it does look like a bug in reading XML from a network
> stream.
> 
> Coincidently, the close-tag that is failing is the same one that the IP
> packet spilts, but I can't see how that would break it. 
> 
> David
-- 
Pablo Fischer Sandoval (pablo [arroba/at] pablo.com.mx)
http://www.pablo.com.mx
http://www.debianmexico.org
GPG FingerTip: 3D49 4CB8 8951 F2CA 8131 AF7C D1B9 1FB9 6B11 810C
Firma URL: http://www.pablo.com.mx/firmagpg.txt

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] wsdl (mono version) does not generate code

2003-12-28 Thread David Sheldon
On Sun, Dec 28, 2003 at 12:39:11PM -0600, Pablo Fischer wrote:
> Hi!
> 
> Yep, I know that in .NET Framework I can generate the proxy code, but
> I'm not using Windows, I'm using Mono in Linux, and in Mono the wsdl.exe
> can't generate the proxy code.

If you save the wsdl to a file, then run wsdl on that file it appears to
generate correct code. Unfortunately I don't have time to work on this
at the moment, but it does look like a bug in reading XML from a network
stream.

Coincidently, the close-tag that is failing is the same one that the IP
packet spilts, but I can't see how that would break it. 

David
-- 
"You can't hand-over-hand up monomolecular wire; your fingers fall off."
  -- Beauvoir, 'Count Zero'
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] wsdl (mono version) does not generate code

2003-12-28 Thread Pablo Fischer
Hi!

Yep, I know that in .NET Framework I can generate the proxy code, but
I'm not using Windows, I'm using Mono in Linux, and in Mono the wsdl.exe
can't generate the proxy code.

:(
Pablo
El dom, 28-12-2003 a las 09:46, Angel "Java" Lopez escribió:
> Hi people!
> 
> Pablo, from my VS.NET 2000 box, I can generate the VB proxy code It's
> ok
> 
> And from W2003, MS Framework 1.0, MS wsdl command line, it's okIt
> generates the cs code.
> 
> Angel "Java" Lopez
> http://www.ajlopez.com/
> 
> - Original Message - 
> From: "Pablo Fischer" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, December 28, 2003 2:10 AM
> Subject: [Mono-list] wsdl (mono version) does not generate code
> 
> 
> > Hi all!
> >
> > Well, I have a problem, I wrote a webservice in php (I love it) and
> > tested it in wsdl (in Mono/Linux, the CVS version) and seems that this
> > 'wsdl version' does not works, I get:
> >
> > $ wsdl http://ws.pablo.com.mx/bloggy.php?wsdl
> > WSDL proxy generator v0.1
> > Fetching http://ws.pablo.com.mx/bloggy.php?wsdl
> > Error: unmatched closing element: expected xsd:restriction but found
> > xsd:restrictio Line 1, position 1257.
> >
> > Ok seems to be 'syntax' errors, so I ask someone in Mono channel to test
> > it in a pure .NET framework, and uhm.. in .NET it works, it creates the
> > .cs file with the C# code :(.
> >
> > Ideas? maybe a bug?
> >
> > Also, the 'wsdl schema' is in:
> > http://ws.pablo.com.mx/bloggy.php?wsdl
> >
> > Thanks a happy new year!
> > Pablo F.
> > -- 
> > Pablo Fischer Sandoval (pablo [arroba/at] pablo.com.mx)
> > http://www.pablo.com.mx
> > http://www.debianmexico.org
> > GPG FingerTip: 3D49 4CB8 8951 F2CA 8131 AF7C D1B9 1FB9 6B11 810C
> > Firma URL: http://www.pablo.com.mx/firmagpg.txt
> >
> > ___
> > Mono-list maillist  -  [EMAIL PROTECTED]
> > http://lists.ximian.com/mailman/listinfo/mono-list
> 
> ___
> Mono-list maillist  -  [EMAIL PROTECTED]
> http://lists.ximian.com/mailman/listinfo/mono-list
-- 
Pablo Fischer Sandoval (pablo [arroba/at] pablo.com.mx)
http://www.pablo.com.mx
http://www.debianmexico.org
GPG FingerTip: 3D49 4CB8 8951 F2CA 8131 AF7C D1B9 1FB9 6B11 810C
Firma URL: http://www.pablo.com.mx/firmagpg.txt

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] wsdl (mono version) does not generate code

2003-12-28 Thread Angel \"Java\" Lopez
Hi people!

Pablo, from my VS.NET 2000 box, I can generate the VB proxy code It's
ok

And from W2003, MS Framework 1.0, MS wsdl command line, it's okIt
generates the cs code.

Angel "Java" Lopez
http://www.ajlopez.com/

- Original Message - 
From: "Pablo Fischer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, December 28, 2003 2:10 AM
Subject: [Mono-list] wsdl (mono version) does not generate code


> Hi all!
>
> Well, I have a problem, I wrote a webservice in php (I love it) and
> tested it in wsdl (in Mono/Linux, the CVS version) and seems that this
> 'wsdl version' does not works, I get:
>
> $ wsdl http://ws.pablo.com.mx/bloggy.php?wsdl
> WSDL proxy generator v0.1
> Fetching http://ws.pablo.com.mx/bloggy.php?wsdl
> Error: unmatched closing element: expected xsd:restriction but found
> xsd:restrictio Line 1, position 1257.
>
> Ok seems to be 'syntax' errors, so I ask someone in Mono channel to test
> it in a pure .NET framework, and uhm.. in .NET it works, it creates the
> .cs file with the C# code :(.
>
> Ideas? maybe a bug?
>
> Also, the 'wsdl schema' is in:
> http://ws.pablo.com.mx/bloggy.php?wsdl
>
> Thanks a happy new year!
> Pablo F.
> -- 
> Pablo Fischer Sandoval (pablo [arroba/at] pablo.com.mx)
> http://www.pablo.com.mx
> http://www.debianmexico.org
> GPG FingerTip: 3D49 4CB8 8951 F2CA 8131 AF7C D1B9 1FB9 6B11 810C
> Firma URL: http://www.pablo.com.mx/firmagpg.txt
>
> ___
> Mono-list maillist  -  [EMAIL PROTECTED]
> http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] wsdl (mono version) does not generate code

2003-12-27 Thread Pablo Fischer
Hi all!

Well, I have a problem, I wrote a webservice in php (I love it) and
tested it in wsdl (in Mono/Linux, the CVS version) and seems that this
'wsdl version' does not works, I get:

$ wsdl http://ws.pablo.com.mx/bloggy.php?wsdl  
WSDL proxy generator v0.1
Fetching http://ws.pablo.com.mx/bloggy.php?wsdl
Error: unmatched closing element: expected xsd:restriction but found
xsd:restrictio Line 1, position 1257.

Ok seems to be 'syntax' errors, so I ask someone in Mono channel to test
it in a pure .NET framework, and uhm.. in .NET it works, it creates the
.cs file with the C# code :(.

Ideas? maybe a bug?

Also, the 'wsdl schema' is in:
http://ws.pablo.com.mx/bloggy.php?wsdl

Thanks a happy new year!
Pablo F.
-- 
Pablo Fischer Sandoval (pablo [arroba/at] pablo.com.mx)
http://www.pablo.com.mx
http://www.debianmexico.org
GPG FingerTip: 3D49 4CB8 8951 F2CA 8131 AF7C D1B9 1FB9 6B11 810C
Firma URL: http://www.pablo.com.mx/firmagpg.txt

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list