[Registry-dev] [jira] Created: (REGISTRY-387) Can not import same WSDL again if the WSDL has schema imports.

Krishantha Samaraweera (JIRA) jira at wso2.org
Tue Jun 3 23:15:40 PDT 2008


Can not import same WSDL again if the WSDL has schema imports.
--------------------------------------------------------------

                 Key: REGISTRY-387
                 URL: https://wso2.org/jira/browse/REGISTRY-387
             Project: WSO2 Registry
          Issue Type: Bug
          Components: core
    Affects Versions: 1.1
         Environment: Ubuntu 7.10, JDK 1.5.0_08, tomcat 6.0.14, Firefox/2.0.0.8
            Reporter: Krishantha Samaraweera
            Assignee: Chathura Ekanayake
         Attachments: wsdl_import.png

Can not import same WSDL again if the WSDL has schema imports.

How to recreate:

1. Login as admin.
2. Import a WSDL to new collection from (http://131.107.72.15/SoapWsdl_ComplexDataTypes_XmlFormatter_Service_Indigo/ComplexDataTypesDocLitB.svc?wsdl)
3. Import same WSDL again in to same collection.

WSDL import fails if the wsdl is imported already. Following message is shown on the UI.

Failed to import resource /AAAAB/ComplexDataTypesDocLitB.svc?wsdl. All database operations will be rolled back. Failed to add association between resources /AAAAB/ComplexDataTypesDocLitB3.xsd and /AAAAB/ComplexDataTypesDocLitB.xsd. Violation of unique constraint SYS_CT_70: duplicate value(s) for column(s) $$ in statement [INSERT INTO ASSOCIATION (SOURCEPATH, TARGETPATH, ASSOCIATION_TYPE) VALUES (?,?,?)]

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the Registry-dev mailing list