[ http://jira.andromda.org/browse/WS-9?page=comments#action_12543 ] 

Chad Brandon commented on WS-9:
-------------------------------

Hey Mark,

I'm looking at the patch again (applied fine this time, thanks!).  Just ran the 
tests and of course they fail because I'm using your test model.  However I 
don't see the attributes of super types being propagated to the subtypes.  For 
example, with this "TestSubType" (I copied from the test output), I would 
expected would have the following attributes listed as well (since they should 
be inherited from the super types: attributeOfSuperType and 
attributeOfSubType).  

            <xsd:complexType name="TestSubType">
                <xsd:annotation>     
                    <xsd:documentation> 
                        
                    </xsd:documentation>
                </xsd:annotation>
                <xsd:sequence>
                    <xsd:element name="attributeOfSubType" nillable="false" 
type="xsd:string">
                        <xsd:annotation>     
                            <xsd:documentation> 
                                
                            </xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                </xsd:sequence>
            </xsd:complexType>

> Inheritance of ValueObjects is not supported
> --------------------------------------------
>
>          Key: WS-9
>          URL: http://jira.andromda.org/browse/WS-9
>      Project: WebService Cartridge
>         Type: Improvement

>     Reporter: Mark Hofmann
>     Assignee: Chad Brandon
>  Attachments: WebServiceCartridgeTestModel.xml.zip, 
> WebServiceLogicImpl.patch, webservice_inheritance.txt
>
> The cartridge should support inheritance for the ValueObject so that it is 
> possible to
> - model a method that uses super types as parameters instead of writing extra 
> methods for each specialization of a type
> - model a method with specialized types and get all inherited attributes 
> added to the list of the web service parameters

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.andromda.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642

Reply via email to