Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Closed Issue: There are 2 function-import elements in ServiceDocument if a function is overloaded and exposed as FunctionImport [1672]

$
0
0
If a function is overloaded such as:
<Function Name="GetAllConventionCustomers" IsComposable="true">
<ReturnType Type="Collection(WebStack.QA.Test.OData.UnboundOperation.ConventionCustomer)" />
</Function>
<Function Name="GetAllConventionCustomers" IsComposable="true">
<Parameter Name="CustomerName" Type="Edm.String" FixedLength="false" Unicode="false" />
<ReturnType Type="Collection(WebStack.QA.Test.OData.UnboundOperation.ConventionCustomer)" />
</Function>
and exposed as FunctionImport:
<FunctionImport Name="GetAllConventionCustomers" Function="WebStack.QA.Test.OData.UnboundOperation.GetAllConventionCustomers" EntitySet="ConventionCustomers" IncludeInServiceDocument="true" />

If ~/ is requested then 2 function-imports are returned:
<m:function-import href="GetAllConventionCustomers">
<atom:title type="text">GetAllConventionCustomers</atom:title>
</m:function-import>
<m:function-import href="GetAllConventionCustomers">
<atom:title type="text">GetAllConventionCustomers</atom:title>
</m:function-import>

Comments: Verified and test case is updated.

Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>