Hi,
On Wed, Jun 16, 2010 at 9:51 AM, Rochak Gupta <rochak005_at_gmail.com> wrote:
> HI ALl,
>
> we have following xml response generated.
>
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <ns2:message timeToLive="30" clientID="EREPAIR40FZX2EIDNZW7XLKWMKK94J0UBT"
> messageID="" cuid="pjrghmn" systemInstance="region" system="erepair"
> xmlns:ns2="http://www.bellsouth.com/IDM">
> <responsePayload>
> <returnStatus>Success</returnStatus>
> <returnText>Port is now locked</returnText>
> <respData>
> <lockPortResp>
> <portID>SANITY78H01-1-1-1-1</portID>
> <dslTN>1002003004</dslTN>
> </lockPortResp>
> </respData>t
> </responsePayload>
> </ns2:message>
>
> i donot want namespace ns2. What should i do?
You can tune namespace prefixes with a namespace prefix mapper.
https://jaxb.dev.java.net/guide/Changing_prefixes.html
Bye.
/lexi