diff --git a/labs/dmtf/src/main/java/org/jclouds/dmtf/ovf/DeploymentOptionSection.java b/labs/dmtf/src/main/java/org/jclouds/dmtf/ovf/DeploymentOptionSection.java index 8cb3161d47..39cf441a4d 100644 --- a/labs/dmtf/src/main/java/org/jclouds/dmtf/ovf/DeploymentOptionSection.java +++ b/labs/dmtf/src/main/java/org/jclouds/dmtf/ovf/DeploymentOptionSection.java @@ -25,6 +25,7 @@ import java.util.Set; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; import com.google.common.base.Objects; import com.google.common.collect.ImmutableSet; @@ -41,6 +42,7 @@ import com.google.common.collect.Sets; * @author Adam Lowe */ @XmlRootElement(name = "DeploymentOptionSection") +@XmlType(name = "DeploymentOptionSection_Type") public class DeploymentOptionSection extends SectionType { public static Builder builder() { diff --git a/labs/dmtf/src/main/java/org/jclouds/dmtf/ovf/NetworkSection.java b/labs/dmtf/src/main/java/org/jclouds/dmtf/ovf/NetworkSection.java index c165436a1a..5e8698b602 100644 --- a/labs/dmtf/src/main/java/org/jclouds/dmtf/ovf/NetworkSection.java +++ b/labs/dmtf/src/main/java/org/jclouds/dmtf/ovf/NetworkSection.java @@ -23,6 +23,7 @@ import static com.google.common.base.Preconditions.checkNotNull; import java.util.Set; import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; import com.google.common.base.Objects; import com.google.common.collect.ImmutableSet; @@ -35,6 +36,7 @@ import com.google.common.collect.Sets; * @author Adam Lowe */ @XmlRootElement(name = "NetworkSection") +@XmlType(name = "NetworkSection_Type") public class NetworkSection extends SectionType { public static Builder builder() { diff --git a/labs/dmtf/src/main/java/org/jclouds/dmtf/ovf/OperatingSystemSection.java b/labs/dmtf/src/main/java/org/jclouds/dmtf/ovf/OperatingSystemSection.java index 14e8dd6a5b..724eb9fa21 100644 --- a/labs/dmtf/src/main/java/org/jclouds/dmtf/ovf/OperatingSystemSection.java +++ b/labs/dmtf/src/main/java/org/jclouds/dmtf/ovf/OperatingSystemSection.java @@ -23,7 +23,6 @@ import static org.jclouds.dmtf.DMTFConstants.OVF_NS; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; import com.google.common.base.Objects; @@ -34,7 +33,6 @@ import com.google.common.base.Objects; * @author Adrian Cole * @author Adam Lowe */ -@XmlRootElement(name = "OperatingSystemSection") @XmlType(name = "OperatingSystemSection_Type") public class OperatingSystemSection extends SectionType { diff --git a/labs/dmtf/src/main/java/org/jclouds/dmtf/ovf/StartupSection.java b/labs/dmtf/src/main/java/org/jclouds/dmtf/ovf/StartupSection.java index 7fd5071789..03f70b95ff 100644 --- a/labs/dmtf/src/main/java/org/jclouds/dmtf/ovf/StartupSection.java +++ b/labs/dmtf/src/main/java/org/jclouds/dmtf/ovf/StartupSection.java @@ -26,6 +26,7 @@ import java.util.List; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; import com.google.common.base.Objects; import com.google.common.base.Objects.ToStringHelper; @@ -40,6 +41,7 @@ import com.google.common.collect.Lists; * */ @XmlRootElement(name = "StartupSection") +@XmlType(name = "StartupSection_Type") public class StartupSection extends SectionType { public static Builder builder() { diff --git a/labs/dmtf/src/main/java/org/jclouds/dmtf/ovf/VirtualHardwareSection.java b/labs/dmtf/src/main/java/org/jclouds/dmtf/ovf/VirtualHardwareSection.java index ed3c2c1806..3b5dbadeec 100644 --- a/labs/dmtf/src/main/java/org/jclouds/dmtf/ovf/VirtualHardwareSection.java +++ b/labs/dmtf/src/main/java/org/jclouds/dmtf/ovf/VirtualHardwareSection.java @@ -25,7 +25,6 @@ import java.util.Set; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; import org.jclouds.dmtf.cim.ResourceAllocationSettingData; @@ -47,7 +46,6 @@ import com.google.common.collect.Sets; * @author Adam Lowe * @author grkvlt@apache.org */ -@XmlRootElement(name = "VirtualHardwareSection") @XmlType(name = "VirtualHardwareSection_Type") public class VirtualHardwareSection extends SectionType {