Quantcast

remove prefix namespace in JAXB

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

remove prefix namespace in JAXB

metro-3
Hello guys,

How to remove all prefix namespace in JAXB?

I tried use NameSpacePrefixMapper, but not working

my xml like this:

<cteDadosMsg xmlns="http://www.portalfiscal.inf.br/cte/wsdl/CteRetRecepcao">
<ns1:consReciCTe xmlns:ns1="http://www.portalfiscal.inf.br/cte" ns1:versao="1.00">
<ns1:tpAmb>2</ns1:tpAmb>
<ns1:nRec>03000000000887</ns1:nRec>
</ns1:consReciCTe>
</cteDadosMsg>

instead of:

<cteDadosMsg xmlns="http://www.portalfiscal.inf.br/cte/wsdl/CteRetRecepcao">
<consReciCTe xmlns="http://www.portalfiscal.inf.br/cte" versao="1.00">
<tpAmb>2</tpAmb>
<nRec>03000000000887</nRec>
</consReciCTe>
</cteDadosMsg>

Any idea?

Thanks in Advance
[Message sent by forum member 'cristiano_andade' (cristiano_andade)]

http://forums.java.net/jive/thread.jspa?messageID=284422

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: remove prefix namespace in JAXB

metro-3
Did you found out how to solve this problem?
I'm facing the same issue.
[Message sent by forum member 'andrefariagomes']

http://forums.java.net/jive/thread.jspa?messageID=477111

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...