I have an XML fragment that can be obtained by:
log.debug("Name information:\n"+theName);"theName" is an object of class that extends org.apache.xmlbeans.XmlObject <xml-fragment personNameCommentText="A" xmlns:ns6="http://jxdm.ws.doc.state.sc.us <http://jxdm.ws.doc.state.sc.us> " xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope <http://www.w3.org/2003/05/soap-envelope> "> <ns6:PersonGivenName>Rebecca</ns6:PersonGivenName> <ns6:PersonMiddleName>Mace</ns6:PersonMiddleName> <ns6:PersonSurName>Smith</ns6:PersonSurName> But when I call theName.getPersonNameCommentText() I get a null string. How do I get around with this problem? Any help is appreciated. My XMLBeans version is 2.2 that comes with Axis2 1.1. Thanks. Danny

