I think the root cause of your problem is described here:
http://issues.apache.org/jira/browse/MUSE-119
If you look at the sample factory resource, for example, the 'factory
capability' doesn't have any properties or operations. It just 'exists'
and creates other ws-resources. Because wsdl2java does not yet handle code
creation for these 'empty capabilities', you get nothing when you try and
run the tool on the factory WSDL. To make the wsrf sample, I manually
created the factory capability class and added it to muse.xml. When
MUSE-119 is fixed, you should get code generated for your capability even
if it isn't referenced in the WSDL.
Dan
kensky <[EMAIL PROTECTED]> wrote on 11/24/2006 04:33:16 AM:
>
> Hi there,
>
> In the example code of /samples/wsrf there are two wsdls used i.e.
> WsResource.wsdl and WsResourceFactory.wsdl, hence in its src/ folder
there
> are two interface implementations of respective portytypes (MyCapability
and
> MyFactory) and further in muse.xml there are respective resource-types
> specified.
>
> For my learning of muse and wsrf, I copied all wsdls into another folder
say
> mywsrf and generated a code but that was not similar to yours example
code
> in JavaSource folder. I am confused, if I have two wsdl's like here in
this
> case how can I generate a source code that will generate two interfaces
each
> for WsResource and WsResourceFactory?
>
> And do the entries in muse.xml will automatically be populated or do I
need
> to write it beforehand and provide it to wsdl2java at the time of code
gen?
>
> Thanks and Regards
> Kensky
>
>
>
>
>
>
>
> kensky wrote:
> >
> > In MUSE supported specs apart from wsdm spec I have some questions
> > related to the development of wsrf services.
> >
> > I want to write simple wsrf service which has wsdl and schema e.g.
> > filemanagementservice (fms) service (containing resource properties)
> > and business functions. And, a corresponding filemanagement factory
> > service which creates instance of fms resource.
> >
> > As a newbie my question is,
> >
> > - Can I use xmlbeans to generate xml classes and then use it in my
> > server side and client side code.
> >
> > - I dont want to use ws-metadataxchange and wsdm specs, just wanna try
> > plain wsrf example. Do you have any sample (wsrf only) code or
> > example. Like one scenario shown above of filemanagementservice and
> > fmfactory. Any hints or tests written.
> >
> > - How muse manages ws-resource instances i.e. in-memory or
in-database?
> >
> > Thanks and Regards
> > Kensky
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> --
> View this message in context:
http://www.nabble.com/Plain-WSRF-Service-wih-
> Muse-2.0-tf2687596.html#a7519989
> Sent from the Muse User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]