I am having problems trying to use a URL returned in the XML response
with the Jersey Client:
------- The server response (example):
http://fgaucho.dyndns.org:8080/arena-http/institution
<ns3:pujInstitutionEntity acronym="CEFET-CE" name="Instituto Federal
de Educação, Ciência e Tecnologia do Ceará" version="1">
<ns3:links href="institution/CEFET-CE" rel="itself" version="0"/>
<ns3:links href="competition?institution=CEFET-CE" rel="next" version="0"/>
</ns3:pujInstitutionEntity>
------- The client code:
Object ret = arena.path(URLDecoder.decode(link.getHref(),
"UTF-8")).get(new
GenericType<Collection<PujCompetitionDetailsEntity>>() {});
------- The exception:
GET
http://localhost:8080/arena-http/competition%3Finstitution=CEJUG
returned a response status of 404
------- The server code:
links.add(new PujLinkEntity("competition?institution=" +
institution.getAcronym(), "details"));
???