hi guys I need help
I'm working with jaxb, and I need this
<?xml version="1.0" encoding="UTF-8"?>
<enviNFe xmlns="
http://www.portalfiscal.inf.br/nfe" versao="1.10">
but, I have this
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:enviNFe xmlns="
http://www.portalfiscal.inf.br/nfe"
xmlns:ns2="
http://www.w3.org/2000/09/xmldsig#">
In marshall properties I have
JAXBContext jxb = JAXBContext.newInstance("cl.azurian.nfe");
Marshaller format = jxb.createMarshaller();
format = jxb.createMarshaller();
// Set variables de SCHEMA
format.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);
format.setProperty(Marshaller.JAXB_ENCODING,Constantes.encodig_UTF8);
the problem is the prefix ns2,any suggestion??
--
View this message in context: http://www.nabble.com/Problem-with-namespace-tp16824285p16824285.html
Sent from the java.net - jaxb users mailing list archive at Nabble.com.