users@jersey.java.net

What is the "Container-Containee" Error?

From: Woodbury David-R28558 <Dave.Woodbury_at_freescale.com>
Date: Fri, 23 Jan 2009 12:43:43 -0700

Hello:

I'm trying to create a web-service that accepts an XML string and
returns an XML string, similar to XML-RPC.

The code fragment I'm using to learn about Jersey is the following:

    @POST
    @Path("/v1/post")
    @ConsumeMime("text/xml")
    @ProduceMime("text/xml")
    public String postXML(String content) {
         return content;
    }

When I test this within NetBeans using the "Test Restful Web-Services"
facility, I get the following errors:

Under "Tabular View" - Content may not have Container-Containee
Relationship. See Raw View for content.
Under "Raw View" - Post failed: Server returned --> Status: (200)
Response: {Insert content here.}

However, the HTTP Monitor tab shows a message exchange that seems fine.

Can someone explain what these errors mean and if it they are
significant? It seems to me that the post succeeded.

Thank you.

David Woodbury