Hello everyone,
I have a server in Java and a client in Ruby. My Java application has this code:
@XStreamAlias("local")
public class Local implements HypermediaResource {
// gets and sets
public void configureRelations( RelationBuilder builder ) {
builder.relation( "self" ).uses( LocalController.class ).get( id );
}
}
When I get a register by id and try to access link "self", this doesn't exist. Here is my Ruby code:
After this error, I tried to access the URL on my browser and I can't see the "atom" attribute on the XML generated.
What's wrong with my code?
Thanks in advance!
--
Fabiano Almeida