I've my webservice running using annotations (with JAXB) but there's still a
problem I can't solve:

- The order of the members of a complex type is alphabetic order in the
generated wsdl; can I maintain the order using annotations in my complex
type?

When I try to use the @XmlElement I get errors that there needs to be an
ObjectFactory but I understood that an ObjectFactory was only needed by
generated client code?

I tried it like this:

...

@XmlType(

   propOrder={ "name", "code" }

)

public class Thing {


   @XmlElement(nillable=true, required=true)

   private String name;

   @XmlElement(nillable=true, required=true)

   private int code;

...

}

-- 
View this message in context: 
http://www.nabble.com/Maintaining-order-of-parameters-in-complex-types-tf3806234.html#a10771728
Sent from the XFire - User mailing list archive at Nabble.com.

Reply via email to