You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@juddi.apache.org by Vitor Rodrigues <vi...@inescporto.pt> on 2004/11/02 17:35:36 UTC

FW: problem using jaxe with juddi

hi, everyone

I'm trying to use the jaxr-browser (included in jwsdp 1.4) and i can do all
the publish operations but i get an error getting the primary contact of an
organization. After publishing an organization, if the load from the
registry that organization, it fails getting the primary contact.

Here is the error stack trace:

javax.xml.registry.JAXRException: javax.xml.bind.UnmarshalException:
Unexpected end of element {urn:uddi-org:api_v2}:identifierBag
	at com.sun.xml.registry.uddi.Processor.processResponseJAXB(Unknown Source)
	at com.sun.xml.registry.uddi.Processor.processRequestJAXB(Unknown Source)
	at com.sun.xml.registry.uddi.UDDIMapper.getOrganizations(Unknown Source)
	at com.sun.xml.registry.uddi.UDDIMapper.getRegistryObject(Unknown Source)
	at com.sun.xml.registry.uddi.UDDIObjectCache.fetchObject(Unknown Source)
	at com.sun.xml.registry.uddi.infomodel.RegistryObjectImpl.getObject(Unknown
Source)
	at
com.sun.xml.registry.uddi.infomodel.RegistryObjectImpl.getClassifications(Un
known Source)
(...)
Caused by: javax.xml.bind.UnmarshalException: Unexpected end of element
{urn:uddi-org:api_v2}:identifierBag
	at
com.sun.xml.registry.uddi.bindings_v2.impl.runtime.SAXUnmarshallerHandlerImp
l.handleEvent(Unknown Source)
	at
com.sun.xml.registry.uddi.bindings_v2.impl.runtime.AbstractUnmarshallingEven
tHandlerImpl.reportError(Unknown Source)
	at
com.sun.xml.registry.uddi.bindings_v2.impl.runtime.AbstractUnmarshallingEven
tHandlerImpl.reportError(Unknown Source)
	at
com.sun.xml.registry.uddi.bindings_v2.impl.runtime.AbstractUnmarshallingEven
tHandlerImpl.unexpectedLeaveElement(Unknown Source)
	at
com.sun.xml.registry.uddi.bindings_v2.impl.runtime.AbstractUnmarshallingEven
tHandlerImpl.leaveElement(Unknown Source)
	at
com.sun.xml.registry.uddi.bindings_v2.impl.BusinessEntityTypeImpl$Unmarshall
er.leaveElement(Unknown Source)
	at
com.sun.xml.registry.uddi.bindings_v2.impl.runtime.SAXUnmarshallerHandlerImp
l.endElement(Unknown Source)
	at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:188)
	at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:210)
	at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:183)
	at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:210)
	at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:183)
	at com.sun.xml.bind.unmarshaller.DOMScanner.parse(DOMScanner.java:72)
	at
com.sun.xml.registry.uddi.bindings_v2.impl.runtime.UnmarshallerImpl.unmarsha
l(Unknown Source)
	at
com.sun.xml.registry.common.util.MarshallerUtil.jaxbUnmarshalObject(Unknown
Source)
	... 31 more

Can anyone help me on this?

Vitor R