Problems with QueryRelationshipsByType
--------------------------------------

                 Key: MUSE-58
                 URL: http://issues.apache.org/jira/browse/MUSE-58
             Project: Muse
          Issue Type: Bug
          Components: WSDM MUWS Relationships
    Affects Versions: 2.0.0 M2
         Environment: All
            Reporter: Joel Hawkins
         Assigned To: Dan Jemiolo
         Attachments: muse-wsdm-relationships-fix-query-uri.patch, 
muse-wsdm-relationships-serialization.patch, WS-Resource-1_2.wsdl

According to the spec, the QueryByRelationships capability URI should be 
http://docs.oasis-open.org/wsdm/muws/capabilities/Relationships. 

Additionally, the creation of relationships programatically was failing due to 
a NPE. This had to do with the fact that the dependent relationship resource 
was being initialized before the containing resource. 

Then,  the serialization of the query response was failing due to a class-cast 
exception (an array of WSResources was being supplied to a method that expected 
an array of RelationshipResources). 

Finally, the RelationshipClient was throwing an exception because the response 
did not include the EPR of the relationship containing the participants, etc. 

Additionally, I had trouble getting the WSDL to be accepted, as the WSDLUtils 
refused to accept the the wsrf-rp:ResourceProperties directly from the 
specified XSD file (it was expecting an xsd:sequence) . I've attached the WSDL 
that works for me - see what you want to do with it.

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to