On Oct 26, 2009, at 2:58 PM, Gallagher,Patrick wrote:
> CreateArtifactRequest is annotated with both the @XmlRootElement and
> @XmlType. Here is the definition, which is created by the
> org.jvnet.jaxb2.maven2:maven2-jaxb2-plugin.
>
> @XmlAccessorType(XmlAccessType.FIELD)
> @XmlType(name = "", propOrder = {
> "name",
> "version",
> "releaseInd",
> "repositoryId",
> "repositoryPath",
> "groupId",
> "scmrId",
> "scmrRevision",
> "scmrPath",
> "teamNumber",
> "subType"
> })
> @XmlRootElement(name = "create_artifact_request", namespace = "http://www.example.com
> ")
> public class CreateArtifactRequest
> implements Serializable
>
OK. I suspect that because it was annotated with @XmlRootElement and
@XmlType the old JSON/JAXB stuff got confused. In any case we should
add a test case for this even though it is not working so we do not
regress in the future.
Paul.