Thanx. It works. -yogen
-----Original Message----- From: Daniel Kulp [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2008 3:22 PM To: [email protected] Cc: Yadav, Yogendra (IT) Subject: Re: Extracting SOAP header element They are just DOM elements so the normal (kind of crappy) DOM API's would apply. We have some utilities that can help in our DOMUtils class. In your case, it would just be: String id = DOMUtils.getChildContent(abcElement, "UserID"); Dan On Monday 22 September 2008 3:06:22 pm Yadav, Yogendra (IT) wrote: > Hi, > The SOAP header looks like this: > <SOAP-ENV:Header> > <Timestamp>1221214447756</Timestamp> > <ABCContext> > <UserID>userid</UserID> > </ABCContext> > </SOAP-ENV:Header> > > I want your suggestion on how to extract <UserID> element. > > I tried with an Interceptor extending AbstractSoapInterceptor, I could > get <ABCContext>; don't know how to extract <UserId>, child of > <ABCContext> ? > > Appreciate any suggestion. > > thanx > -yogen > -------------------------------------------------------- > > NOTICE: If received in error, please destroy and notify sender. Sender > does not intend to waive confidentiality or privilege. Use of this > email is prohibited when received in error. -- Daniel Kulp [EMAIL PROTECTED] http://www.dankulp.com/blog -------------------------------------------------------- NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.
