This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Web Services and the fly likes need to add namespace to <result> tag from a .jca file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Bookmark "need to add namespace to <result> tag from a .jca file" Watch "need to add namespace to <result> tag from a .jca file" New topic
Author

need to add namespace to <result> tag from a .jca file

Matt Kohanek
Village Idiot
Ranch Hand

Joined: Apr 04, 2009
Posts: 483

I have an xml response from a bpel process. It has a <result> tag that includes all of the xml I need to parse. I need to make that <result> tag have an attribute - xmlns="http://..." - That means it would look like <result xmlns="http://...">

Here is the result <tag> in part of the actual response:



I need it to have an attribute xmlns="http://..." <result xmlns="htp://....">

Here is my .xsd file which has the only reference to the <result> tag I can seem to find (It is at the bottom):



So is there a new tag I will need to add nested within that <element name="result" type="string"/> tag, or do I need to add a new attribute to it? Or is there another way

It would be great if someone could help me with this one.

Thanks very much


True wisdom is in knowing you know nothing - Socrates
 
GeeCON Prague 2014
 
subject: need to add namespace to <result> tag from a .jca file