[ http://issues.apache.org/jira/browse/MUSE-58?page=comments#action_12429274 ] Dan Jemiolo commented on MUSE-58: ---------------------------------
Okay, I think the last part (XSD/WSDL) was just the result of referencing a number of different versions of the files. Your XSD had Relationship as the type name, mine had RelationshipType. For the sake of simplicity, I changed the XSD/WSDL to use muws2:Relationship everywhere, as you had it. Let me know if the new files work. > 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 > Fix For: 2.0.0 > > Attachments: muse-wsdm-relationships-fix-query-uri.patch, > muse-wsdm-relationships-serialization.patch, RelationshipResourceChanges.zip, > 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]
