wood burning stoves*
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: need to add namespace to <result> tag from a .jca file