This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: need to add namespace to <result> tag from a .jca file
 
Similar Threads
Trying to add xmlns attribute to a <result> tag in my xml response
how do I set xsd element attributes?
need a point in the right direction using XMLTYPE, dbms_xmlgen.convert, dbms_xmlgen.ENTITY_DECODE
Using WS-RM with Axis2 1.5?
Please help me with ksoap!