Hi,
I am trying to convert my
Java Objects into XML file.
I got these Objects from XSD's using xjc .
I got the XML file but along with the namespace prefix(ns2) that i have not set.
The resulting XML is like this:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:authenticateAndAuthorize xmlns:ns2="http://www.XXXXX.com/AuthenticateAndAuthorize" xmlns="http://www.XXXXX.com/UserManagement">
<ns2:authentication>
<applicationId>0</applicationId>
</ns2:authentication>
<ns2:user>
<displayName>name</displayName>
<password>personal</password>
<registrationStatus>registered</registrationStatus>
</ns2:user>
</ns2:authenticateAndAuthorize>
Is there any way to remove/change this prefix (ns2)?
Any help would be appreciated.
Sumit