Author: heiko.braun(a)jboss.com
Date: 2007-02-09 10:44:12 -0500 (Fri, 09 Feb 2007)
New Revision: 2323
Modified:
branches/jbossws-1.2.0/jbossws-tests/src/main/java/org/jboss/test/ws/jaxws/samples/retail/Order.java
Log:
Update retail sample to reflect the quick start guide
Modified:
branches/jbossws-1.2.0/jbossws-tests/src/main/java/org/jboss/test/ws/jaxws/samples/retail/Order.java
===================================================================
---
branches/jbossws-1.2.0/jbossws-tests/src/main/java/org/jboss/test/ws/jaxws/samples/retail/Order.java 2007-02-09
15:34:03 UTC (rev 2322)
+++
branches/jbossws-1.2.0/jbossws-tests/src/main/java/org/jboss/test/ws/jaxws/samples/retail/Order.java 2007-02-09
15:44:12 UTC (rev 2323)
@@ -21,6 +21,7 @@
*/
package org.jboss.test.ws.jaxws.samples.retail;
+import javax.xml.bind.annotation.*;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
@@ -30,6 +31,13 @@
* @version $Id$
* @since Nov 7, 2006
*/
+
+(a)XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(
+ name = "orderType",
+ namespace="http://org.jboss.ws/samples/retail",
+ propOrder = { "orderNum", "state", "customer",
"items" }
+)
public class Order implements Serializable {
public enum OrderState {TRANSIENT, PREPARED, VERIFIED, PROCESSED}