java - how to read soap response header from JAX-WS -
this makes soap header content
private list getheaders() {
messagecontext messagecontext = context.getmessagecontext(); if (messagecontext == null || !(messagecontext instanceof wrappedmessagecontext)) { return null; } message message = ((wrappedmessagecontext) messagecontext).getwrappedmessage(); list<header> headers = castutils.cast((list<?>) message.get(header.header_list)); return headers; }
Comments
Post a Comment