[ 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to