[Mono-list] wsdl file containg a schemalocation

Lluis Sanchez lluis@ximian.com
Wed, 01 Sep 2004 14:55:43 +0200


On dc, 2004-09-01 at 14:32, Biju Arjunan wrote:
>  > When I said "wsdl url-to-schema", url-to-schema was a replacement for
> > your url, not an option. 
> 
> <biju>I still didn't get what do u meant by url-to-schema, You meant change the
> URL to the xsd file. Does wsdl generate classes for xsd files?
> because when I say wrong file name 

My fault, I meant url-to-wsdl.

> 
> wsdl AuthenticationClient.x
> Mono Web Services Description Language Utility
> Error: Unrecognized file type 'AuthenticationClient.x'. Extension must be one of .wsdl or .xsd
> 
> Then I tried to give correct xsd file
> 
> wsdl Authentication.xsd
> Mono Web Services Description Language Utility
> Error: No WSDL document was found at the url Authentication.xsd

OK, so looks like another problem about the wsdl not correctly accepting
xsd files in the command line. Another bug report about this would be
appreciated.

> 
> Sounds weired?
> 
> I have the following suggestions
> 1) wsdl tool has to report error when giving unrecognized options

It certainly does. However, parameters not starting with '/' are not
interpreted as parameters, but as paths or urls.

> 2) Report more exception if something going wrong when generating proxy classes.
> 
> 
> 
> Imported schemas should be downloaded
> > automatically.
> 
> <biju> Documentation says it but fails to download the schema.
> 
> 
> > 
> > I can't, I had to change the http://pc55.abcinc.com/xns/gen/xns
> > references to local references.
> 
> <biju> Obviously you cannot, cause the URL is not exposed to internet

Then the test case is useless, since I can't use it to reproduce the
bug. I don't get a schema download error if I change the references to
local references.

>  
> > It looks like a bug since MS.NET is able to process that file. Can you
> > please file a bug report in bugzilla.ximian.com?
> 
> <biju> Sure.

Thanks!

> 
> Thanks,
> Biju A