on 06-15-2009 3:00 PM
Hi,
Here is my scenario - NWCE 7.1, EJB as a WebService and I want to access the SOAP Header, what would be the best way. I'm thinking of using handler-chains, appreciate any suggestions.
Rajiv.
ApplicationWebServiceContext wsContext = (ApplicationWebServiceContext) new InitialContext(p).lookup("/wsContext/" + ApplicationWebServiceContext.APPLICATION_WSCONTEXT);
this thing provides methods to access the soap header blocks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think you better post that question to Java programming.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Probably the easiest way is to insert
@Resource
WebServiceContext wsc;
in your @WebService annotated class.
Depending what you want to do a SOAPHandler might be appropriate.
also possible:
http://www.khapre.org/blog/archives/2008_08_01_index.aspx
Edited by: Konrad KRENTZ on Dec 1, 2009 8:56 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.