incubator-yoko-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <>
Subject [jira] Commented: (YOKO-67) Prepend element names with portype name
Date Fri, 16 Jun 2006 12:45:30 GMT
    [ ] 

Daniel Kulp commented on YOKO-67:

I'm not sure if I agree with this.   There are a bunch of tools that may not detect that these
are "wrapped doc-literal" cases and then not generate the correct method:

HelloWorldGreetMeResult greetMe(HelloWorldGreetMe arg)

It also doesn't look like the normal wsdl's that other tools produce.

I would suggest only doing this in the case of conflicts at wsdl generation time, not all
the time.

> Prepend element names with portype name
> ---------------------------------------
>          Key: YOKO-67
>          URL:
>      Project: Yoko - CORBA Server
>         Type: Improvement

>     Reporter: Matteo Vescovi
>     Priority: Minor

> Change the element names that are getting generated to add a prefix of the <porttype>.<name>.
> Following this convention is advisable because two port types can have the same operation
name but different signatures.
> For eg: Let's say the idl has the following operation in the HelloWorld idl interface:
> string
>     greetMe(
>         in string return_message
>     );
> Then the types that get generated should be:
>             <element name="HelloWorld.greetMe">
>                 <complexType>
>                     <sequence>
>                         <element name="return_message" type="string"/>
>                     </sequence>
>                 </complexType>
>             </element>
>             <element name="HelloWorld.greetMeResult">
>                 <complexType>
>                     <sequence>
>                         <element name="return" type="string"/>
>                     </sequence>
>                 </complexType>
>             </element>

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message