Worked more on getting the response from the JPA-server to work.