[ http://issues.apache.org/jira/browse/JUDDI-36?page=history ]
Steve Viens closed JUDDI-36:
----------------------------
Resolution: Cannot Reproduce
Fix Version: 0.9
Can't reproduce this anymore. This issue was probably resolved with several
UDDI-schema related bug fixes over the past three months (Jan-Mar 2005).
> jaxax.xml.registry.JAXRException:javax.xml.bind.UnmarshalException:Unexpected
> Element {urn:uddi-org:api_v2}:description
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: JUDDI-36
> URL: http://issues.apache.org/jira/browse/JUDDI-36
> Project: jUDDI
> Type: Bug
> Environment: Windows 2000
> JDK1.4
> Reporter: Philippe Mouawad
> Assignee: Steve Viens
> Fix For: 0.9
>
> Using browser furnished with JAXR bundle to access
> the jUDDI server.
> I'm getting
> jaxax.xml.registry.JAXRException:javax.xml.bind.UnmarshalException:Unexpected
> Element {urn:uddi-org:api_v2}:description.
> This also happens when using JAXR api in this sample on getDescription() call:
> ConnectionFactory factory = ConnectionFactory.newInstance();
> factory.setProperties(getConnectionProperties(
> "http://localhost:8080/juddi/inquiry",
> "http://localhost:8080/juddi/publish",
> "","","",""));
> Connection conn = factory.createConnection();
> // Obtenir instance de la registry
> RegistryService rs = conn.getRegistryService();
> // Permet de rechercher
> BusinessQueryManager bqm = rs.getBusinessQueryManager();
>
> Collection namePatterns = new ArrayList();
> namePatterns.add("%");
> BulkResponse bulkResponse =
> bqm.findOrganizations(null,namePatterns,null,null,null,null);
> if(bulkResponse.getStatus() == JAXRResponse.STATUS_FAILURE)
> {
> for (Iterator iter =
> bulkResponse.getExceptions().iterator(); iter.hasNext();)
> {
> Exception element = (Exception) iter.next();
> element.printStackTrace();
> }
> System.out.println("No organisations found");
> }
> if(bulkResponse.getCollection().isEmpty())
> {
> System.out.println("No organisations found");
> }
> for (Iterator iter = bulkResponse.getCollection().iterator();
> iter.hasNext();)
> {
> Organization element = (Organization) iter.next();
> System.out.println("Name="+element.getName().getValue()
> + ",key=" + element.getKey().getId());
>
> System.out.println("Description="+element.getDescription().getValue());
> }
> }
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira