Hi,
I think it could be caused by some issue in the "test form" in the doc
page. As the /agents/{name}/capabilities path contains the {name}
parameter, the test form may not construct the path properly. Can you try
calling the endpoint directly (not using the doc page) to verify whether
that is a doc page problem or endpoint problem?
Cheers,
Kenneth
On Tue, Jun 28, 2011 at 10:06, Pawel Fic <[email protected]> wrote:
> Well... I investigated it a bit.
> When demo capture agent is initialized from the bundle, or rest point is
> called, then:
>
>
> CaptureAgentStateRestService.java,
> public Response setCapabilities(@PathParam("name") String agentName,
> InputStream reqBody) {
>
> when Demo capture agent is calling it - reqBody contains the properties.
>
> When I call this from my script or from
> http://localhost:8080/capture-admin/docs
>
> reqBody is empty.
>
>
> ---------
> Error is / as a result of empty stream in "reqBody":
> "unexpected end of input" - from XML Parser ...
>
>
> Does it works with any other Matterhorn installation?
> Can somebody repeat it? Try registering capture agent via
> /capture-admin/docs
>
> -Pawel
>
>
>
> > Are there any errors on the server side? At least
> > then you'd know that
> > the endpoint is getting *something* :)
> >
> > G
> >
> _______________________________________________
> Matterhorn mailing list
> [email protected]
> http://lists.opencastproject.org/mailman/listinfo/matterhorn
>
>
> To unsubscribe please email
> [email protected]
> _______________________________________________
>
--
*Kenneth Lui*
Computer Science Major (Class of 2012)
University of British Columbia, Vancouver, Canada
Email: [email protected]
Phone number: 778 - 319 - 4321 (Canada)
Website: http://ca.linkedin.com/in/hkkenneth
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn
To unsubscribe please email
[email protected]
_______________________________________________