The solution?
- When in the Save as... diaglog you select Browse, an explorer window pops up
- Choose Save as type: PDF (*.pdf)
- An Options... button appears. Click this button.
- At the bottom of the window uncheck PDF/A compliant
Sorry, the page you are looking for either doesn't exist or something has gone wrong. Please go back to the home page and try again. Thank you.
private static Map<Integer,Publisher> publisherDao = new HashMap<Integer,Publisher>();
<detail> <canNotCreatePublisher > <reason>No address</reason> <reason>No name</reason> <canNotCreatePublisher> </detail>Note: the canNotCreatePublisher element may contain some extra namespace information.
private ErrorInfo faultInfo;
private static Map<String,Order> orderDao = new HashMap<String,Order>();
context.getMessage().writeTo(System.out);
com.sun.xml.ws.transport.http.HttpAdapter.dump=true
public class MyClient { public static void main(String[] args) { System.out.println("What's the name of this author?: "); String authorId = new Scanner(System.in).next(); Client client = ClientBuilder.newClient(); WebTarget resource = client.target("http://localhost:8080/myrest/webresources"); Response response = resource .path("author") .path(authorId) .request(MediaType.APPLICATION_JSON) .get(); // historically getStatus returns an int, not a Response.Status if (response.getStatus() == Response.Status.OK.getStatusCode()) { Author author = response.readEntity(Author.class); System.out.println("Found author: " + author.getFirstName() + " " + author.getLastName()); }else{ String body = response.readEntity(String.class); System.out.println("Not correct (" + response.getStatusInfo().getReasonPhrase() + ")\n " +body); } } }