RE: WSDL file for XKMS

Blair,
 
Thanks very much for providing this.
 
/Shivaram

Blair Dillaway <blaird@exchange.microsoft.com> wrote:
I've also taken a look at this and the 'warnings' reported below are
real errors. The wsdl doesn't conform to the xkms schema so it is
doubtful the C# code generated is usable without modification. These
'warnings' are also the cause of the errors Rick reported.

To make the xkms2 wsdl conform to the xkms schema I made two changes in
the file

1. Replace 



With




I think using xkms:Result is correct as its of type ResultType which is
the extension base for all valid results. But someone more versed in
XML schema than I should confirm.

2. Replace 



With 




Once those changes are made the Microsoft .Net wsdl utility will process
the wsdl and schema files without error and generate prototype code.
(BTW, I used the wsdl utility from the Visual Studio 2005 beta). A zip
file is attached with the schemas, corrected wsdl, and output file.

Regards,
Blair


-----Original Message-----
From: www-xkms-request@w3.org [mailto:www-xkms-request@w3.org] On Behalf
Of Sebastien Pouliot
Sent: Monday, March 07, 2005 10:57 AM
To: Rich Salz; W3C XKMS WG
Subject: RE: WSDL file for XKMS

Hello Rich,

> Thanks to Yunhao for providing both the initial document and some
> feedback.
>
> Unfortunately, neither one of us are yet able to get the MSFT wsdl
tool
> to digest this file. :( Any comments/help greatly appreciated.

I tried the attached wsdl file with the Mono WSDL tool (latest 1.1.x). I
didn't look much if the results makes sense (as I must admit I haven't
read
the spec for a few months). Anyway the tool reported two warnings:

// WARNING: Could not generate operation Pending. Schema element
'http://www.w3.org/2002/03/xkms#:PendingResult' not found
// WARNING: Could not generate operation Register. Schema element
'http://www.w3.org/2002/03/xkms#:Register' not found

The generated file is attached to this email.

Sebastien Pouliot
home: spouliot@videotron.ca
blog: http://pages.infinit.net/ctech/poupou.html


--
Secure Web Services, PKI, Software Architecture, Java, 
Product Strategy and Management Consultant:
http://www.geocities.com/shivarammysore/

Received on Friday, 11 March 2005 02:29:59 UTC