Have you tried hitting the service directly in a browser?
You can do a basic check to ensure that the domain service is actually being
hosted.
If your fully qualified class name was
Myapp.RiaProject.Services.MyDomainService
then you would browse to it by just replacing the dots with - and adding
[mailto:ozsilverlight-boun...@ozsilverlight.com] On Behalf Of Shingi
Mutandwa
Sent: Thursday, 12 August 2010 9:19 PM
To: ozSilverlight
Subject: Re: Silverlight RIA Services
The EDMX and the RIA services are in different projects and therefore the
Generate metadata checkbox is disabled when generating
Hi Shingi,
It all look right to me, however, I am curious about the static
declaration on title within the metadata class. Is there a reason why it is
static?
Ko
On Thu, Aug 12, 2010 at 9:19 PM, Shingi Mutandwa
shingi.mutan...@gmail.comwrote:
The EDMX and the RIA services are in
Hi Shingi,
It sounds like the object does not exist within the generated code within the
Silverlight component.
This means that the object is not shared properly from the web app.
There are a number of reasons for this - perhaps you don't have an
[EnableClientAccess] attribute
on your class?
Sent: Thursday, 12 August 2010 5:41 PM
To: ozSilverlight
Subject: Re: Silverlight RIA Services
Hi Tony
I have the service class decorated with
[EnableClientAccess()]
Regards,
Shingi
On Thu, Aug 12, 2010 at 5:34 PM, ton...@tpg.com.au wrote:
Hi Shingi,
It sounds like the object does
*Sent:* Thursday, 12 August 2010 5:41 PM
*To:* ozSilverlight
*Subject:* Re: Silverlight RIA Services
Hi Tony
I have the service class decorated with
[EnableClientAccess()]
Regards,
Shingi
On Thu, Aug 12, 2010 at 5:34 PM, ton...@tpg.com.au wrote:
Hi Shingi,
It sounds like
The EDMX and the RIA services are in different projects and therefore the
“Generate metadata” checkbox is disabled when generating the domain service
in Visual Studio. However we created a partial class in the same project
containing the EDMX and applied the [include] attr like so:-