Tomislav,

Thanks for the detailed report.  See http://scripta.lib.virginia.edu/bugs/show_bug.cgi?id=95

Note the two attachments at the top:  I was able to generate C-sharp code from these using wsdl.exe v1.1.4322.573

- Chris

-----Original Message-----
From: fedora-users-bounces@comm.nsdl.org on behalf of Tomislav Karafilov
Sent: Wed 2/9/2005 8:11 AM
To: fedora-users@comm.nsdl.org
Subject: [Fedora-users] Fedora-API-A.wsdl to C-Sharp Problem

Hi,

I have installed the new Fedora 2.0 Release successfully on a W2k machine.
Now I am trying to write a SOAP client for Fedora 2.0 with Microsoft
C-Sharp. I am using the german version of the Microsoft Visual Studio .NET
2003 and I have downloaded the fedora-api-a.wsdl file from
http://www.fedora.info/definitions/1/0/api/Fedora-API-A.wsdl. At
http://www.fedora.info/resources/faq.shtml#csharpclient I have found an
example of how to write a Microsoft C# client to communicate with a Fedora
repository.

Now, when I try to generate the client code with wsdl.exe (Version
1.1.4322.573) from the Fedora-API-A.wsdl, I got this error message
(translated from german version) :

Error reading 'fedora-api-a.wsdl'
- Error in XML-document (6,5)
- 'Element' is an invalid node type (row6, Position 5)

I am calling wsdl.exe from the command prompt with 'wsdl fedora-api-a.wsdl'.
The file fedora-types.xsd is located in the same directory as the
'fedora-API-A.wsdl' file. Even calling wsdl.exe with given proxy parameters
for internet connection does not help.

What I am doing wrong ? Has anyone tested the generation of an C-Sharp
client on a Windows machine ? It seems, that wsdl.exe has problems with the
element <wsdldoc:type>.

I hope, someone can help me !?

Regards,
Tomislav


_______________________________________________
Fedora-users mailing list
Fedora-users@comm.nsdl.org
http://comm.nsdl.org/mailman/listinfo/fedora-users