History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: WS-15
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Chad Brandon
Reporter: Luca De Petrillo
Votes: (View)
Watchers: (View)
Operations

If you were logged in you would be able to see more operations.
WebService Cartridge

Types hierarchies aren't handled correctly inside the wsdl.

Created: 24/Apr/07 10:39 AM   Updated: 17/Jul/07 08:25 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

File Attachments: 1. File wrapped-wsdl.vsl (10 kb)

Environment: AndroMDA 3.2


 Description   
The cartridge doesn't generate the "<xsd:extension>" information for types that extends other types (ValueObjects that generalize other ValueObjects inside the UML), but simply declare each inherited attributes and associations loosing the hierarchy information.

This give a problem when there are WebService operations that have a return type of the generalized one and that at runtime return the most specific type (this generate a wrong xml response).

I'll attach the patched template.

Bye.
Luca.



 All   Comments   Change History      Sort Order:
Comment by Luca De Petrillo [24/Apr/07 10:40 AM]
Patched template for wsdl generation with hierarchical types.

Comment by Chad Brandon [17/Jul/07 08:25 PM]
Applied to 3.3-SNAPSHOT, thanks for the patch Luca.