[ 
http://issues.apache.org/jira/browse/YOKO-83?page=comments#action_12422667 ] 
            
Matteo Vescovi commented on YOKO-83:
------------------------------------

Currently, given the idl:

interface HelloWorld {
    string
    greetMe(
        out string user_name, out string second_string
    );
};

the (incorrect) generated wsdl contains the following:
<xs:schema ... >
      <xs:element name="greetMeResponse" type="xs:string">
      </xs:element>
      <xs:element name="greetMeResponse" type="xs:string">
      </xs:element>
    </xs:schema>
</wsdl:types>
<wsdl:message name="greetMeResponse">
    <wsdl:part name="outparameter" element="tns:greetMeResponse"/>
</wsdl:message>

If no one disagrees, I would like to change it so that the following gets 
generated:
    <xs:types>
        <xs:schema ... >
            <xs:element name="HelloWorld.greetMe.user_name" type="xs:string"/>
            <xs:element name="HelloWorld.greetMe.second_string" 
type="xs:string"/>
            <xs:element name="HelloWorld.greetMe.return" type="xs:string"/>
        </xs:schema>
    </wsdl:types>
    <wsd:message name="HelloWorld.greetMe"/>
    <wsdl:message name="HelloWorld.greetMeResponse">
        <wsdl:part element="xsd1:HelloWorld.greetMe.return" name="return"/>
        <wsdl:part element="xsd1:HelloWorld.greetMe.user_name" 
name="user_name"/>
        <wsdl:part element="xsd1:HelloWorld.greetMe.second_string" 
name="second_string"/>
    </wsdl:message>



> The part names are defaulted to outParameter when the idltowsdl tool is run.
> ----------------------------------------------------------------------------
>
>                 Key: YOKO-83
>                 URL: http://issues.apache.org/jira/browse/YOKO-83
>             Project: Yoko - CORBA Server
>          Issue Type: Task
>            Reporter: Edell Nolan
>
> Hi,
> When the idltowsdl tool is run the parameters that are have "out" mode create 
> part names with outparameter by default.
> They should take the name of the parameter and in the case of the return type 
> maybe name it return. 
> cheers, Edell.

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

        

Reply via email to