This issue has been discussed here: http://markmail.org/thread/w5yziktixvjn7ubl
Andreas 2009/12/10 Håkon Sagehaug <hakon.sageh...@uni.no>: > Hi all, > > I had a element in a schema that referred another element like this > > <xsd:element ref="eyb:MessageBoard" minOccurs="0" /> > > So when I when I called my service and this element was returned the > serialization through an exception like this > > [ERROR] Could not get parser from data source for element > {http://esysbio.org/service/UserManagement}GetUserResponse > javax.xml.stream.XMLStreamException: the prefix ==> Already exists for > namespace ==> http://esysbio.org/common/schema > > I then changed my element to take the type instead of referring to the > element > > <xsd:element name="MessageBoard" type="eyb:MessageBoardType" > minOccurs="0" /> > > > Then the service returned the correct response. So i was wondering if this > is a limitation of axiom? > > I use axis2 .5 and axiom 1.2.8, also tried with axiom-1.2.9-SNAPSHOT but > same issue. > > Any hint > > cheers, Håkon > > -- >