JAX-WS - a: prefix in XML tag for Lists

93 Views Asked by At

we are upgrading webservices from Java 6 to Java 8 and from JAX-RS to JAX-WS.

After the code upgrade, we noticed that the responses changes when the object involved is a List.

Old responses are like this:

<ListObject>
<item></item>
<item></item>

New responses are:

<a:ListObject>
<item></item>
<item></item>

we have an 'a:' prefix before the tag name when the object is a List.

I don't have many experience on JAX-WS. Is it possible to remove the 'a:' prefix in order to not change the responses?

Thanks

0

There are 0 best solutions below