Hi Gabo
Thanks for the comments - will get thing fixed

Cheers, Sergey

Hi Sergey,

Well done! :D

Some very minor things I noticed while studying:

1. Under "Filters" :

InputStream is = message.getContent(InputStream.class);
message.setContent(new MyFilterInputStream(is));
message.put(*m.put(*Message.ACCEPT_CONTENT_TYPE, "custom/media");

The "m" is not a declared variable and the parentheses doesn't add up.

2. Under "Dealing with contexts", just before "JAX-RS and Spring AOP":
@WebMethod public void doItSoap(String b) { isUserInRole(jaxwsContext.getSecurityContext().getPrincipal()); }; @POST public void *doItSoap*(String b) { isUserInRole(jaxrsContext.getSecurityContext().getPrincipal()); }

doItSoap -> doItRest, ryt?

Hth.

Gabo


Reply via email to