You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@olingo.apache.org by "Moshkovich, Mark" <ma...@sap.com> on 2014/06/23 13:49:55 UTC
FunctionImport wrong number of parameters
Hello,
I am using olingo Version 2.0.
I am trying to consume the following Gateway service:
https://vmw3815.wdf.sap.corp:44309/sap/opu/odata/sap/RMTSAMPLEFLIGHT/$metadata
uid/pwd = Moshkovich/abcd1234
The function, for example, 'GetFlightDetails', has 2 input parameters: 'airlineid' and 'connectionid'.
But, when calling (in java)
(EdmFunctionImport)m_fi.getParameterNames()
Or
(FunctionImport)fis.getParameters()
the result is containing just one parameter - 'airlineid'.
Regards,
Mark
Mark Moshkovich | Visual Composer | SAP Labs Israel | T: +972 9 7779603 | E: mark.moshkovich@sap.com<ma...@sap.com>
Like: Visual Composer @ Facebook<http://www.facebook.com/pages/Visual-Composer/114560381897137> Follow: Visual Composer @ Twitter<http://www.twitter.com/VisualComposer> Explore: Visual Composer @ SDN<http://www.sdn.sap.com/irj/sdn/nw-vc>
RE: FunctionImport wrong number of parameters
Posted by "Huesken, Jens" <je...@sap.com>.
Hi Mark,
seems to be a general problem since for each function import in the model only one parameter is provided although some of the function imports have more than one.
I will further investigate. May you please raise a Jira issue at Apache Olingo?
Jens.
From: Moshkovich, Mark [mailto:mark.moshkovich@sap.com]
Sent: Montag, 23. Juni 2014 13:50
To: user@olingo.apache.org
Subject: FunctionImport wrong number of parameters
Hello,
I am using olingo Version 2.0.
I am trying to consume the following Gateway service:
https://vmw3815.wdf.sap.corp:44309/sap/opu/odata/sap/RMTSAMPLEFLIGHT/$metadata
uid/pwd = Moshkovich/abcd1234
The function, for example, 'GetFlightDetails', has 2 input parameters: 'airlineid' and 'connectionid'.
But, when calling (in java)
(EdmFunctionImport)m_fi.getParameterNames()
Or
(FunctionImport)fis.getParameters()
the result is containing just one parameter - 'airlineid'.
Regards,
Mark
Mark Moshkovich | Visual Composer | SAP Labs Israel | T: +972 9 7779603 | E: mark.moshkovich@sap.com<ma...@sap.com>
Like: Visual Composer @ Facebook<http://www.facebook.com/pages/Visual-Composer/114560381897137> Follow: Visual Composer @ Twitter<http://www.twitter.com/VisualComposer> Explore: Visual Composer @ SDN<http://www.sdn.sap.com/irj/sdn/nw-vc>