Hi Jonas,

appologies for not being able to help further, I just simply haven't
had the time.  What changes did you make to enable the
propertyCollection?  If the problem is something that can be detected
in Muse then it should at least log a warning.

Regarding Muse 2.3.0 do you mean HEAD from svn? I ask as what is in
head more closely resembles 2.2.1 .

I may have some time on Friday to look at these issues in detail but
certainly 2 looks like a bug, I have previously only used tptp for
editing the rmds etc so I definitely have not experienced this. For 1
is the epr correct in the request for the resource?

cheers,
Chris

On Wed, Mar 25, 2009 at 1:47 AM, Jonas Buys <[email protected]> wrote:
> Hi,
>
> After finally getting WSRP change notifications working for metrics, I
> encountered some new issues :s  Wasn't able to find out the reason of the
> following issues with the NetBeans debugger so far.
>
> 1. I have an RMD file, which according to the debugger and stack traces is
> parsed, and the metadata is stored in a metadatadescriptor object as part of
> the resource property collection object (so
> SimpleWsResource.createMetadataDescriptor stores the metadata and
> wsrp.getMetadata() in my custom capability works fine).
>
> But when I try to fetch the RMD file using
> WsrfMetadataExchangeClient.getRMD() in my client, the result is a n empty
> (null)
> MetadataDescriptor.  The traces on my the client object shows this
> payload as the reply:
>
>     <soapenv:Body>
>         <wsx:Metadata
>             xmlns:tns="http://axis2.platform.core.muse.apache.org";
> xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"/>
>     </soapenv:Body>
>
> The issue is reproducable using both MUSE 2.2.0 and 2.3.0 (binary).
>
> 2. Something that struck my attention is that the generated RMD file
> by WSDL2Java (WEB_INF\classes\wsdl) starts with
>
> <wsrmd:Definitions xmlns:wsrmd="http://docs.oasis-open.org/wsrf/rmd-1";>
>     <wsrmd:MetadataDescriptor interface="myns:JmplayerPortType"
>         name="JmplayerMetadata"
>         wsdlLocation="http://docs.oasis-open.org/wsrf/rmd-1
> Jmplayer.wsdl" xmlns:myns="http://pats.ua.ac.be/adss/jb/mplayer";>
>
> While I defined this in the original RMD file:
>
> <rmd:MetadataDescriptor
> xmlns:myns="http://pats.ua.ac.be/adss/jb/mplayer";
> name="jmplayerMetadata" interface="myns:JmplayerPortType"
>        wsdlLocation="http://pats.ua.ac.be/adss/jb/mplayer Jmplayer.wsdl" >
>
> The listing above have different values for the wsdlLocation attribute of
> the metadatadescriptor element.  I noticed the wsdlLocation in the samples
> is not changed, yet when I run wsdl2java on the sample's WSDLs, I notice in
> the generated RMD the same thing, viz. that wsdlLocation is set to
> "http://docs.oasis-open.org/wsrf/rmd-1".  Is this normal? I tried
> altering the RMD several times, but in vain.
>
> 3. Besides that, is it possible to define a RP in an RMD with two
> <muws2:Capability> entries?  For example a metric property which is
> attributed Metrics as well as my custom capability (also done in OASIS MUWS
> primer).
>
> If anyone can help me on this one, even if it is sending your WSDL and
> RMD files to try things out, I would be very grateful!
>
> --
> Jonas Buys
>

Reply via email to