|
Envelope Body Element Namespaces: msg#00323text.xml.soap.user
I'm implementing a messaging interface and I have had some success. Thanks to a previous thread, I started using the messaging router. So that works now. I am able to peal off the XML in the body element, but w/ one prob. The root element of what I grab has an xmlns="" and I believe this is breaking a Xalan transform later in the method. I grab the element like this: Element bodyNode = (Element) env.getBody().getBodyEntries().elementAt(0); Element source = (Element) bodyNode.getElementsByTagName("source").item(0).getFirstChild(); Sample XML: <Statement xmlns=""> <Parameters> ...filler... </Parameters> <Accounts> ... stuff ... <Accounts> </Account> </Accounts> </Statement> So, my question is how do I get this element w/o a namespace declaration, or if that is not possible, how can I get Xalan to ignore it? -- David B. Bitton david@xxxxxxxxxxxxxx www.codenoevil.com Code Made Fresh DailyT |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: About using TcpTunnelGui tool: 00323, Rufeng Liu |
|---|---|
| Next by Date: | Fault handling and maintaining sessions?: 00323, Richard Bolen |
| Previous by Thread: | How to throw a server-side exception at application level ?i: 00323, Michael Kempf |
| Next by Thread: | Fault handling and maintaining sessions?: 00323, Richard Bolen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |