Exposed WCF Data Proxy

Exposed WCF Data Proxy

Old forum URL: forums.lhotka.net/forums/t/10692.aspx


DazedAndConfused posted on Friday, September 16, 2011

Hi Rocky,

I built a previous system using CSLA that uses the data proxy. Obviously this doesn't expose servicecontracts like a normal service.

The issue is, that rather than rewrite the service, I want to call a dataportal fetch which is on one of the business objects.

Is this at all possible?

RockfordLhotka replied on Friday, September 16, 2011

I am sorry, I don't understand the question.

Your previous system uses the data portal, or uses a custom service?

DazedAndConfused replied on Monday, September 19, 2011

Sorry, Data Portal..

RockfordLhotka replied on Monday, September 19, 2011

The data portal is an n-tier technology, allowing the client-side data portal elements to interact with the server-side data portal elements. The data portal doesn't expose an open or interoperable service.

In other words, if you want to call the Fetch method, use the client-side DataPortal class to make the call.

DazedAndConfused replied on Tuesday, September 20, 2011

Sadly that is what I thought. So my options is to ask the team that supports this to release a new version and expose a web service method.

Copyright (c) Marimer LLC