I'll test it as soon as I can - I've got some other things in pieces right now... :-)
-----Original Message----- From: Dan Jemiolo (JIRA) [mailto:[EMAIL PROTECTED] Sent: Friday, August 18, 2006 1:28 PM To: [email protected] Subject: [jira] Commented: (MUSE-58) Problems with QueryRelationshipsByType [ http://issues.apache.org/jira/browse/MUSE-58?page=comments#action_124290 66 ] Dan Jemiolo commented on MUSE-58: --------------------------------- I modified the MUWS part 2 XSD such that you should be able to use RelationshipType as the WSRP doc element for Relationship resources. You should also be able to reference it in the WSRP doc of any resource that participates in relationships. Please confirm this fix before it's closed. http://svn.apache.org/viewvc?view=rev&revision=432656 > 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, 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] The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
