RE: Fixes to the test-suite

"Jonathan Marsh" <[email protected]>
Newsgroups gmane.comp.web.services.description
Message-ID <001501c74bbf$1f60c1e0$3501a8c0@DELLICIOUS>
Done as indicated.

More changes to follow shortly.

Jonathan Marsh - http://www.wso2.com - http://auburnmarshes.spaces.live.com
 
> -----Original Message-----
> From: Youenn Fablet [mailto:[email protected]]
> Sent: Friday, February 02, 2007 5:22 AM
> To: Jonathan Marsh; 'keith godwin chapman'
> Cc: www-ws-desc
> Subject: Fixes to the test-suite
> 
>     Dear all,
> 
> Here are some bugs that may need to be fixed in the test-suite wrt to
> message exchange tests:
>     1) MessageTest-2G: ignoreUncited=true is used for EchoName but the
> MiddleName parameter is not optional in the schema and not present in
> the location property. Making it optional in the schema may be a simple
> fix.

MiddleNames are now optional.

>     2) MessageTest-3G: #any is used for the Send function which is bound
> to a GET request. POST or PUT would be better suited.

I moved whttp:method="GET" to GuaranteedFault instead.  Send will default to
PUT, without losing the only GET in the testcase.

>     3) LocationTemplate-1G: ignoreUncited=true is used in the Escaping
> binding. This binding does not allow the serialization of a mandatory
> 'time' parameter. We could either set ignoreUncited to false or change
> the dateSpace element definition so that it is nillable or minOccurs=0.
> These fixes should improve the exchange results, at least ours...

I think I'll change the location to include a time, because the minOccurs=0
maxOccurs=2 has already proved instructive.

> Jonathan, if that is ok with you, can you update the test-suite?
> Keith, can you send messages to our MessageTest-2G endpoint?
> 
> Thanks,
>     Youenn
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.