You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Liu, Scott" <SL...@netsuite.com> on 2004/09/13 22:02:21 UTC

The Attributes and the UN-"wrapper" style

This is actually a more dev-list question. Can anyone there enlighten
us?

Thanks,

Scott

-----Original Message-----
From: Liu, Scott=20
Sent: Friday, September 10, 2004 4:32 PM
To: 'axis-user@ws.apache.org'
Subject: The Attributes and the UN-"wrapper" style

Hi, All,

There has been discussion about the "wrapper" style and the attributes
in the past. And Axis does not support wrapper element attributes since
JAX-RPC spec says that the wrapper element should not have attributes. I
have no problem with it. But I do like people to clarify the following
questions.

1. I know that it might be against the spec to have attributes for the
wrapper element. But it is such a simple change on Axis to support
attributes (I made minor change on client code generated with Axis tool
and it worked) I am wondering why the JAX-RPC insists that there is no
attributes for the wrapper element (.NET supports the attributes
anyway)? Does anyone know the story behind this?

2. I did not read the whole JAX-RPC spec and so what I said might be
wrong. Correct me if it is the case.

Since attributes are such a big part of xml schema and if I use the
attributes to go with the UN-wrapped style does Axis support it? My test
revealed that it did not with v1.1. Is there a patch or will it be
supported in Axis 1.2 for un-wrapped style?

Your explanation is highly appreciated,

Thanks,

Scott
 =20