Thanks Scott, it work. And yes you assume correctly, sorry I should have said it earlier. Thank Paul also.
Appreciate your help. -----Original Message----- From: Scott Nichol [mailto:[EMAIL PROTECTED] Sent: Monday, September 27, 2004 4:44 PM To: [EMAIL PROTECTED] Subject: Re: First row under header return null I assume you are receiving this message using the messaging API, i.e. your service has a method like public void SubmitReq(Envelope env, SOAPContext reqCtx, SOAPContext resCtx) throws Exception { Vector headerEntries = env.getHeader().getHeaderEntries(); Element headerElement = (Element) headerEntries.firstElement(); // get "TransactionID" into elementName String elementName = headerElement.getTagName(); // or... String elementName = headerElement.getLocalName(); NodeList children = headerElement.getChildNodes(); // get "vas00001-sub" into text String text = ""; for (int i = 0; i < children.getLength(); i++) { Node n = children.item(i); if (n.getNodeType() == Node.TEXT_NODE) { s += n.getNodeValue(); } } } Scott Nichol Do not send e-mail directly to this e-mail address, because it is filtered to accept only mail from specific mail lists. ________________________________________________________________________ airwide solutions is changing its email address format to [EMAIL PROTECTED] Any slb.com email addresses will be valid until 30th September 2004. ________________________________________________________________________