Sam: The Apache code does not check to see if the <key> and <value> is enclosed inside an <item> element. I have not looked at Axis code but judging from the error it looks like Axis dislikes if the <key> and <value> are enclosed in anything other than <item>. Wingfoot 1.02 serializes a Hashtable as follows:
<mapitem> <key> theKey </key> <value> theValue </value> </mapitem> I am curious as to why Axis insists on an <item>. The other implementations on soapbuilders do not complain on seeing a <mapitem> Kal ----- Original Message ----- From: "Sam Ruby" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, June 21, 2002 3:21 AM Subject: Re: [Wingfoot Interest Group] java.util.Map, List with wingfoot SOAP client and Axis beta 2 server > Kal Iyer wrote: > > > Thanks for pointing this out. I verified that Axis does complain it > > each element of the Hashtable is decorated with mapitem instead of > > item. I am baffled as to why it exhibits this behaviour (Apache does > > not complain); we will change mapitem to item in our next release to > > ensure full compatibility with Axis. > > > I'm baffled too. Apache SOAP appears to have code that verifies that > the names of the elements inside an <item> are <key> and <value>. See > http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-soap/java/src/org/apache/so ap/encoding/soapenc/HashtableSerializer.java > > - Sam Ruby > > > ------- > To unsubscribe from the mailing list, please send an email to > [EMAIL PROTECTED] with the following in the body > unsubscribe wingfoot_interest_group > -------
