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 "Kam K. Yee (JIRA)" <ji...@apache.org> on 2007/11/15 07:30:43 UTC

[jira] Updated: (MUSE-207) Wsdl2Java didn't fill "java-capability-class" for "Configuration" and "Advertisement" capability in muse.xml

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

Kam K. Yee updated MUSE-207:
----------------------------

    Attachment: muse-207.patch

The cause of the problem was that the _capabilityMaps was getting populated during the invocation of extractOperations() and extractProperties().  Since neither the Configuration nor the Advertisement capabilities had operations/properties, these two capabilities were not being added to the _capabilityMaps.

The logic is modified in the patch provided so that _capabilityMaps is now pre-populated based on the capabilities listed in the descriptor.  This is done in the new method initializeFromDescriptor().

> Wsdl2Java didn't fill "java-capability-class" for "Configuration" and "Advertisement" capability in muse.xml
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: MUSE-207
>                 URL: https://issues.apache.org/jira/browse/MUSE-207
>             Project: Muse
>          Issue Type: Bug
>          Components: Tooling - Code Generation
>    Affects Versions: 2.2.0
>            Reporter: Saurabh Dravid
>            Assignee: Andrew Eberbach
>            Priority: Minor
>             Fix For: 2.3.0
>
>         Attachments: muse-207.patch
>
>
> When I specified an existing "muse.xml" to wsdl2java having entries like following
> <capability>
>             <capability-uri>http://docs.oasis-open.org/wsdm/muws/capabilities/Configuration</capability-uri>
>             <java-capability-class/>
> </capability>
> <capability>
>             <capability-uri>http://docs.oasis-open.org/wsdm/muws/capabilities/Description</capability-uri>
>             <java-capability-class></java-capability-class>
> </capability>
> <capability>
>             <capability-uri>http://docs.oasis-open.org/wsdm/muws/capabilities/Advertisement</capability-uri>
>             <java-capability-class/>
> </capability>
> After codegeneration it didn't fill the "java-capability-class" for "Configuration and Advertisement" capability, but it fills the class names for other capabilities.

-- 
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