Here is an Order class, may be it will be useful:

  | 
  | package beanservice;
  | 
  | import javax.xml.bind.annotation.XmlAccessType;
  | import javax.xml.bind.annotation.XmlAccessorType;
  | import javax.xml.bind.annotation.XmlElement;
  | import javax.xml.bind.annotation.XmlType;
  | import com.osmoticweb.purchase.ArrayOfXsdInt;
  | import com.osmoticweb.purchase.ArrayOfXsdString;
  | 
  | 
  | /**
  |  * <p>Java class for Order complex type.
  |  * 
  |  * <p>The following schema fragment specifies the expected content 
contained within this class.
  |  * 
  |  * <pre>
  |  * &lt;complexType name="Order">
  |  *   &lt;complexContent>
  |  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType";>
  |  *       &lt;sequence>
  |  *         &lt;element name="customerName" 
type="{http://www.w3.org/2001/XMLSchema}string"/>
  |  *         &lt;element name="itemCodes" 
type="{http://osmoticweb.com/Purchase}ArrayOf_xsd_string"/>
  |  *         &lt;element name="quantities" 
type="{http://osmoticweb.com/Purchase}ArrayOf_xsd_int"/>
  |  *         &lt;element name="shippingAddress" 
type="{http://www.w3.org/2001/XMLSchema}string"/>
  |  *       &lt;/sequence>
  |  *     &lt;/restriction>
  |  *   &lt;/complexContent>
  |  * &lt;/complexType>
  |  * </pre>
  |  * 
  |  * 
  |  */
  | @XmlAccessorType(XmlAccessType.FIELD)
  | @XmlType(name = "Order", propOrder = {
  |     "customerName",
  |     "itemCodes",
  |     "quantities",
  |     "shippingAddress"
  | })
  | public class Order {
  | 
  |     @XmlElement(required = true, nillable = true)
  |     protected String customerName;
  |     @XmlElement(required = true, nillable = true)
  |     protected ArrayOfXsdString itemCodes;
  |     @XmlElement(required = true, nillable = true)
  |     protected ArrayOfXsdInt quantities;
  |     @XmlElement(required = true, nillable = true)
  |     protected String shippingAddress;
  | 
  |     /**
  |      * Gets the value of the customerName property.
  |      * 
  |      * @return
  |      *     possible object is
  |      *     [EMAIL PROTECTED] String }
  |      *     
  |      */
  |     public String getCustomerName() {
  |         return customerName;
  |     }
  | 
  |     /**
  |      * Sets the value of the customerName property.
  |      * 
  |      * @param value
  |      *     allowed object is
  |      *     [EMAIL PROTECTED] String }
  |      *     
  |      */
  |     public void setCustomerName(String value) {
  |         this.customerName = value;
  |     }
  | 
  |     /**
  |      * Gets the value of the itemCodes property.
  |      * 
  |      * @return
  |      *     possible object is
  |      *     [EMAIL PROTECTED] ArrayOfXsdString }
  |      *     
  |      */
  |     public ArrayOfXsdString getItemCodes() {
  |         return itemCodes;
  |     }
  | 
  |     /**
  |      * Sets the value of the itemCodes property.
  |      * 
  |      * @param value
  |      *     allowed object is
  |      *     [EMAIL PROTECTED] ArrayOfXsdString }
  |      *     
  |      */
  |     public void setItemCodes(ArrayOfXsdString value) {
  |         this.itemCodes = value;
  |     }
  | 
  |     /**
  |      * Gets the value of the quantities property.
  |      * 
  |      * @return
  |      *     possible object is
  |      *     [EMAIL PROTECTED] ArrayOfXsdInt }
  |      *     
  |      */
  |     public ArrayOfXsdInt getQuantities() {
  |         return quantities;
  |     }
  | 
  |     /**
  |      * Sets the value of the quantities property.
  |      * 
  |      * @param value
  |      *     allowed object is
  |      *     [EMAIL PROTECTED] ArrayOfXsdInt }
  |      *     
  |      */
  |     public void setQuantities(ArrayOfXsdInt value) {
  |         this.quantities = value;
  |     }
  | 
  |     /**
  |      * Gets the value of the shippingAddress property.
  |      * 
  |      * @return
  |      *     possible object is
  |      *     [EMAIL PROTECTED] String }
  |      *     
  |      */
  |     public String getShippingAddress() {
  |         return shippingAddress;
  |     }
  | 
  |     /**
  |      * Sets the value of the shippingAddress property.
  |      * 
  |      * @param value
  |      *     allowed object is
  |      *     [EMAIL PROTECTED] String }
  |      *     
  |      */
  |     public void setShippingAddress(String value) {
  |         this.shippingAddress = value;
  |     }
  | 
  | }
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149211#4149211

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149211
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to