axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Zurke <>
Subject Re: support of xml attributes
Date Thu, 12 Jun 2003 19:45:56 GMT
mike: using axis 1-1RC2 i had no problem using WSDL2Java even if there were 
attributes in my schema. are you're sure that axis has problems with that?

Am Donnerstag 12 Juni 2003 21:15 schrieb Herrick, Mike:
> My understanding is that attributes get converted to SOAPElements as
> defined by the JAX-RPC spec.
> "The JAX-RPC specification does not specify a standard Java mapping for a
> xsd:complexType with the xsd:attribute. So the message part in the
> DoAnotherExample message is mapped as a SOAPElement." see page 58 of the
> 1.0 spec.
> So there isn't anything really from stopping you from using them, you'll
> just have to write more code.
> I just stay away from attributes so that I can use WSDL2Java and be done
> with it ... I don't want to have to write the serialization/deserialization
> stuff, have better things to do. What is the point of using an IDL language
> (WSDL) if you can't even have it autogen for you?
> Anyway, would be nice if some day the spec changed on this, but until then
> I'd recommend staying away from attributes. You'll get more sleep.
> Mike
> -----Original Message-----
> From: Michael Zurke []
> Sent: Thursday, June 12, 2003 12:05 PM
> To:
> Subject: Re:Re: support of xml attributes
> it's not that i already got a problem with axis. as i said..i just heard
> about that direction of lacking support of attributes for releases in the
> future. how about that?
> mischa
> Can you send me the XML schema sample you have that may not
> work with AXIS WSDL/Java ?
> Michael Zurke <> wrote:
> hello,
> i heard that some ws-tool-vendors do not support attributes in xml schema.
> i also heard that axis will go in the same direction. does anybody have
> some information about how the future will look like regarding this point.
> in need that information to keep the compatibility of my xml-schemas with
> further versions of axis.
> thanx,
> mischa
> ---------------------------------
> Do you Yahoo!?
> Free online calendar with sync to Outlook(TM).

View raw message