is there a solution other than giving different names to resultsets?
If I have 3 methods in a web service and all of them export the same
Then it feels unnatural to me to rename them to Customers1, Customers2 and Customers3 for example
Here is my sample which causes problems in .NET because there are 3 methods all returning Entries->Entry
<data name="ws_getSubnoCCInfo" serviceNamespace="com.test.ws">
<config id="tro">
<property name="driverClassName">oracle.jdbc.driver.OracleDriver</property>
<property name="url">jdbc:oracle:thin:xxx/yyy@10.10.10.10:1521/DB</property>
<property name="username">xxx</property>
<property name="password">yyy</property>
</config>
<query id="subnoHasCCSQL" useConfig="tro">
<sql>select case when count(*) > 0 then 'OK' else 'NOK' end hasCC from ccinfo where subno = :subno</sql>
<result element="Entries" rowName="Entry">
<element column="hasCC" name="hasCC" xsdType="string"/>
</result>
<param name="subno" sqlType="STRING"/>
</query>
<query id="idNoHasCCSQL" useConfig="tro">
<sql>select case when count(*) > 0 then 'OK' else 'NOK' end hasCC from ccinfo cc, tabs.crm_departement ui where cc.contrno = ui.contrno and ui.id_no = :id_no</sql>
<result element="Entries" rowName="Entry">
<element column="hasCC" name="hasCC" xsdType="string"/>
</result>
<param name="id_no" sqlType="STRING"/>
</query>
<query id="contrnoHasCCSQL" useConfig="tro">
<sql>select case when count(*) > 0 then 'OK' else 'NOK' end hasCC from ccinfo cc where contrno = :contrno</sql>
<result element="Entries" rowName="Entry">
<element column="hasCC" name="hasCC" xsdType="string"/>
</result>
<param name="contrno" sqlType="STRING"/>
</query>
<operation name="subnoHasCC">
<call-query href="subnoHasCCSQL">
<with-param name="subno" query-param="subno"/>
</call-query>
</operation>
<operation name="idNoHasCC">
<call-query href="idNoHasCCSQL">
<with-param name="id_no" query-param="id_no"/>
</call-query>
</operation>
<operation name="contrnoHasCC">
<call-query href="contrnoHasCCSQL">
<with-param name="contrno" query-param="contrno"/>
</call-query>
</operation>
</data>