With Aegis, defintely no right now.  :-(   

Aegis always generates qualified schemas so all the elements are 
namespace qualified.

Actually, an "interesting" approach could be to add an interceptor 
immediately after the StaxOutInterceptor that would wrapper the 
XMLStreamWriter with a writer that would discard all namespace related 
events.  

Dan



On Monday 12 November 2007, BrianP wrote:
> Is there a way to suppress the namespace in the response?  I have just
> a simple webservice set up which uses aegis.  For example, my output
> is currently this:
>
> <list>
>   <ns2:Item xmlns:ns2="http://services.mycompany.com";>
>     <ns2:desc xmlns="http://services.mycompany.com";>item
> desc</ns2:desc> <ns2:id
> xmlns="http://services.mycompany.com";>1</ns2:id>
>   </ns2:Item>
>   <ns2:Item xmlns:ns2="http://services.mycompany.com";>
>     <ns2:desc xmlns="http://services.mycompany.com";>item desc
> 2</ns2:desc> <ns2:id xmlns="http://services.mycompany.com";>22</ns2:id>
> </ns2:Item>
> </list>
>
> And I want it to be simply this:
>
> <list>
>   <Item>
>     <desc>item desc</desc>
>     <id>1</id>
>   </Item>
>   <Item>
>     <desc>item desc2</desc>
>     <id>22</id>
>   </Item>
> </list>



-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727    C: 508-380-7194
[EMAIL PROTECTED]
http://www.dankulp.com/blog

Reply via email to