xsd:sequence dictates the order of the elements whereas xsd:all child elements can be any order. But I think everyone uses xsd:sequence, although the receiver of messages may be forgiving if the elements are illegally out of order.

http://www.w3schools.com/schema/schema_elements_ref.asp

Tom Klaasen wrote:

Hi all,


We're looking at using openlaszlo (http://www.openlaszlo.org) in combination with an Axis SOAP server. One of the problems we encounter, is that Laszlo doesn't seem to understand <xsd:sequence> tags. In this context, a lot of questions come to my mind:


(1) what's the difference between xsd:all and xsd:sequence? Are they interchangeable?
(2) can we configure axis to generate xsd:all instead of xsd:sequence tags?
(3) if not, can we write our own serializer that would do that?


I've been through the archives, and all that I could find about this problem was http://article.gmane.org/gmane.comp.apache.webservices.axis.user/25464

(I'm pretty new to Axis and SOAP, and I'm having trouble seeing the trees through the forest. Any pointers that can help me, would be appreciated.)


Thanks, tomK


Reply via email to