You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-dev@ws.apache.org by "Andrew Eberbach (JIRA)" <ji...@apache.org> on 2007/02/27 18:00:32 UTC

[jira] Resolved: (MUSE-119) Codegen should handle capabilities that have no operations or properties

     [ https://issues.apache.org/jira/browse/MUSE-119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Eberbach resolved MUSE-119.
----------------------------------

    Resolution: Fixed

Empty capabilities work now. This only applies when
generating from a descriptor because otherwise there's no way to 
tell which namespaces that we find in schemas are capabilities (no one
wants a http://schemas.xmlsoap.org/wsdl/soap/ capability). Now if you have
a capability in  your descriptor and the analyzer phase doesn't find any wsdl
properties or operations in that namespace (read: capability uri) then it means
it's an empty capability. Don't worry, I'm doing a check to make sure it's not a
built-in empty capability. The code that's generated for this capability is
an empty capability that just has an initialize method with a todo in it. There's no
interface generated (since there aren't any properties or operations).

> Codegen should handle capabilities that have no operations or properties
> ------------------------------------------------------------------------
>
>                 Key: MUSE-119
>                 URL: https://issues.apache.org/jira/browse/MUSE-119
>             Project: Muse
>          Issue Type: Improvement
>          Components: Tooling - Code Generation
>    Affects Versions: 2.0.0
>            Reporter: Andrew Eberbach
>         Assigned To: Andrew Eberbach
>            Priority: Minor
>             Fix For: 2.2.0
>
>
> Currently if the muse descriptor specifies a capability that has no properties or operations found in the wsdl, then no class is generated. A class should be generated that just subclasses the default resource and puts in an initialize method that calls super.initialize() by default. These are useful classes for doing server-side initialization tasks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org