W3C home > Mailing lists > Public > www-xkms@w3.org > March 2005

RE: WSDL file for XKMS

From: Blair Dillaway <blaird@exchange.microsoft.com>
Date: Thu, 10 Mar 2005 14:22:34 -0800
Message-ID: <23AA05B1B7171647BC38C5D761900EA401790C68@DF-SEADOG-MSG.exchange.corp.microsoft.com>
To: <spouliot@videotron.ca>, "Rich Salz" <rsalz@datapower.com>, "W3C XKMS WG" <www-xkms@w3.org>
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 
  <message name="PendingResult">
    <part name="body" element="xkms:PendingResult"/>
With
  <message name="PendingResult">
    <part name="body" element="xkms:Result"/>

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 
  <message name="RegisterRequest">
    <part name="body" element="xkms:Register"/>
With 
  <message name="RegisterRequest">
    <part name="body" element="xkms:RegisterRequest"/>

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


Received on Thursday, 10 March 2005 22:23:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:39:24 GMT