aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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

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:
subject: need to add namespace to <result> tag from a .jca file
Similar Threads
how do I set xsd element attributes?
Using WS-RM with Axis2 1.5?
Please help me with ksoap!
need a point in the right direction using XMLTYPE, dbms_xmlgen.convert, dbms_xmlgen.ENTITY_DECODE
Trying to add xmlns attribute to a <result> tag in my xml response