Hello all. I have used Apache CXF with SOAP earlier with success.
Now I need to write a client for a REST service. The service has
object's attribute names in Finnish language, and they contain illegal
characters for Java source code. Also there are other reasons that I
want to rename the attribute names.
CXF web site and tutorials refer to BookService and Book.class but there
is nowhere to find a definition for that Book.java. For JSON. I have
seen a Book.java using XML-annotations but I have never seen a Book.java
for JSON.
How does the Book.java looks like? I need something like this
class Book {
@JsonProperty(name="tunnus")
long id;
}
Is there such? Must be?
--
jarif.bit
signature.asc
Description: OpenPGP digital signature
