Hi guys,

I just recently upgraded from version 2.0.3 to .6 and I'm having a problem
defining names in a @XmlRootElement annotation for my response classes.

When in 2.0.3 adding:

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name="userInfoResponse",
namespace="http://webservices.messaging.com/";)
public class UserInfoResponse extends GenericResponse 

to a class would produce a userInfoResponse node in the XML returned by the
service. 
However, I keep getting return nodes, as if I didn't have any XmlRootElement
name defined.
Namespaces are working fine though.

Any help on this one?

Thanks,
Rui Ramos
-- 
View this message in context: 
http://www.nabble.com/%40XmlRootElement-name-not-working-in-2.0.6--tp17316700p17316700.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to