W3C home > Mailing lists > Public > xml-dist-app@w3.org > February 2002

Re: Issue with soap-rpc:result

From: Simon Fell <soap@zaks.demon.co.uk>
Date: Wed, 06 Feb 2002 10:45:26 -0800
To: xml-dist-app@w3.org
Message-ID: <54u26uo9869aqeg1l96ejma97e9a37dmmv@4ax.com>
On Wed, 6 Feb 2002 13:22:15 -0500, in soap you wrote:

>> This also appears to be a potential issue when using the soap
>> encoding, If i understand correctly, the SOAP message will have to
>> include an xsi:type on the result element to indicate its type, yet
>> the rules for encoding state
>> "For each element containing a value, the type of the value MUST be
>> represented by at least one of the following conditions: (a) the
>> containing element instance contains an xsi:type attribute, (b) the
>> containing element instance is itself contained within an element
>> containing a (possibly defaulted) enc:arrayType attribute or (c) or
>> the name of the element bears a definite relation to the type, that
>> type then determinable from a schema."
>> In this case neither options (b) nor (c) appear possible for the
>> result element.
>Why would this be an issue? Since b and c are not possible, that only leaves
>xsi:type and different implementations have no way of doing different

Its an issue because the encoding spec says i can choose to do one of
three things, whilst later the RPC spec ties me to doing (a), which if
you are trying to do (c), is a problem [as is the fact that arrays are
special cased to also include type information on the wire]

Received on Wednesday, 6 February 2002 13:45:33 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 22:01:18 UTC