Quantcast
Channel: SCN : Popular Discussions - SAP NetWeaver Gateway Developer Center
Viewing all articles
Browse latest Browse all 1657

Cannot generate proxy for oData service using .NET 3.5

$
0
0

Hi,

 

We get an error when generating client proxy to SAP CRM OData (CRM_OPPORTUNITY) using MS DataSvcUtil.exe tool for .Net 3.5 (ADO.NET Data Services client).

  • Specifically when generating within VS2010 it fails at design time.
  • VS2012 generates proxy successfully but fails with same error at runtime.
  • If using .Net 4 version (now called WCF Data Services client), we do not get this error.

 

The question we have is whether there known constraints to calling SAP OData services from .Net 3.5 client proxy and is there anything we can do to remediate, apart from using .Net 4 version, since CommSee runs still on .Net2

d.png

Particularly it seems to be complaining on the Edm.Guid field saying it is treated as binary and hence not supported.

 

We are using VS 2010 .NET 3.5 SP1.

We have company platform restriction that restricts us from using .NET 4. VS2012/3 is not possible.

 

 

On the side note:

We tried some of the publicly available OData services in OData.org (Northwind and the like) and can see:

  • Have no issues creating .Net3.5 proxies for their demo services
  • Only issue appears if try to create proxy for v3 OData service, which aligns with everything I can see that 3.5 supports up to v2 OData protocol. The error I see is quite obvious and points to incompatible version

 

 

SAP_GWFND 740 0005 SAPK-74005INSAPGWFND SAP Gateway Foundation

 

 

Any help or suggestion would be much appreciated.


Viewing all articles
Browse latest Browse all 1657

Trending Articles



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