How to Comsume IIS Hosted WCF Service from Asp.net 2.0

Posted by raghu on Stack Overflow See other posts from Stack Overflow or by raghu
Published on 2009-09-23T19:40:46Z Indexed on 2010/05/31 13:03 UTC
Read the original article Hit count: 226

Filed under:
|

Hi,

I'm trying to consume WCF service using asp.net2.0

Here are some details:

1) WCF service hosted on different server IIS

URL : http://myserver/Service.svc

2) Web.config

3) asp.net page

4) myjs.js

MYNameSpace.IService.MyMethod();

*** here it throws error that 'MyNameSpace' is not defined.

Everything works fine on my local machine. Problem when I try to consume from asp.net2.0 application

Any inputs will be truly appreciated.

Thanks in advance

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about wcf