Key: FCREPO-993
URL: https://jira.duraspace.org/browse/FCREPO-993
Project: Fedora Repository Project
Issue Type: Improvement
Components: GSearch
Reporter: Gert Schmeltz Pedersen
Assignee: Gert Schmeltz Pedersen
GSearch 2.2 works with axis1. Investigate if we can/should upgrade to axis2 ( http://axis.apache.org/axis2/java/core/ )
From: Alistair Young <alistai...@uhi.ac.uk>
Subject: [fcrepo-user] gsearch 2.2 wsdl breaks with axis2
Date: 7. aug 2011 17.58.29 CEST
To: Support and info exchange list for Fedora users. <fedora-com...@lists.sourceforge.net>
Does anyone know if there's a fix or workaround for the gsearch wsdl? Running axis2 + xmlbeans over it gives this error:
org.apache.xmlbeans.XmlException: error: cvc-identity-constraint.4.2.2: Duplicate key 'gfindObjects' for key constraint 'element@http://www.w3.org/2001/XMLSchema'
running the same config over Fedora API-A and API-M works fine.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.duraspace.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
Gert Schmeltz Pedersen updated FCREPO-993:
------------------------------------------
Status: Open (was: Received)
> GSearch 2.2 wsdl breaks with axis2
> ----------------------------------
>
> Key: FCREPO-993
> URL: https://jira.duraspace.org/browse/FCREPO-993
> Project: Fedora Repository Project
> Issue Type: Story
Gert Schmeltz Pedersen commented on FCREPO-993:
-----------------------------------------------
The class dk.defxws.fedoragsearch.server.SOAPImpl has gfindObjects() defined twice, with 7 and 8 arguments. This is the reason for the reported 'Duplicate key' error.
Alistair Young confirms that running axis2 + xmlbeans on a gsearch wsdl, where one of the gfindObjects() definitions has been removed, does not give an error.
Thus, it is axis2 + xmlbeans that cannot handle the valid definition of gfindObjects(), so there is nothing to modify in GSearch.
The further question of upgrading GSearch from axis1 to axis2 has been superficially investigated. It has not been done in Fedora, and it is a major piece of work, which seems of little benefit and therefore not further considered.
> GSearch 2.2 wsdl breaks with axis2
> ----------------------------------
>
> Key: FCREPO-993
> URL: https://jira.duraspace.org/browse/FCREPO-993
> Project: Fedora Repository Project
> Issue Type: Story
Gert Schmeltz Pedersen closed FCREPO-993.
-----------------------------------------
Resolution: Answered
Closed with the previous comment, that there is nothing to modify in GSearch as a result of this issue.
> GSearch 2.2 wsdl breaks with axis2
> ----------------------------------
>
> Key: FCREPO-993
> URL: https://jira.duraspace.org/browse/FCREPO-993
> Project: Fedora Repository Project
> Issue Type: Story