The order of the elements is important cause the elements are within a sequence block. It is not important if it was within a all block.
Thanks, Keith. On Fri, Mar 6, 2009 at 8:08 PM, DANIEL, Yves Marie < [email protected]> wrote: > Hi everyone ! > > I am facing a problem of "order". I used that kind of wsdl to generate > client and server side : > > > <xs:complexType name=*"user"* > > > > <xs:sequence> > > <xs:element name=*"tacId"* nillable=*"true"* type=*"xs:long"*/> > > <xs:element name=*"alias"* nillable=*"true"* type=*"xs:long"*/> > > </xs:sequence> > > </xs:complexType> > > > > if the server side sens this response : > > * <user> > <alias>1234</alias> > <tacId>1234</tacId> > </user>* > > I'm got an "unexpected element alias" message. > > I believed the order of elements at the same level had no importance ! Is > the order important or is it the way I generated my code ? > > Yves-Marie > > This message contains information that may be privileged or confidential > and is the property of the Capgemini Group. It is intended only for the > person to whom it is addressed. If you are not the intended recipient, you > are not authorized to read, print, retain, copy, disseminate, distribute, or > use this message or any part thereof. If you receive this message in error, > please notify the sender immediately and delete all copies of this message. > > -- Keith Chapman Senior Software Engineer WSO2 Inc. Oxygenating the Web Service Platform. http://wso2.org/ blog: http://www.keith-chapman.org
