调用WCF服务 - 分布式架构 [英] call WCF service - distributed architecture

查看:96
本文介绍了调用WCF服务 - 分布式架构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



A1 - 服务器1

    我将我的网站内容托管在服务器上。

     在同一服务器上托管WCF服务

    我正在使用jquery来调用wcf服务。



B1 - 服务器2

    这是托管的另一个Web应用程序,它从服务器1 Web应用程序调用页面

    

第一种情况:当我在SERVER2网页中调用SERVER1页面链接时,来自SERVER1页面的wcf服务调用会返回错误吗?

错误详情:解析错误



如何使服务呼叫成功?它甚至没有拨打电话到服务方式!! :(



网页将在Android和iOS设备浏览器上执行。



提前致谢建议

--Avinash

Hi All,

A1 - SERVER 1
     I have my web site contents hosted on a server.
     On the same server WCF service is hosted
     I am using jquery to call wcf service.

B1 - SERVER 2
     Here is another web application hosted which is calling the pages from server 1 web apps
    
1st scenario : When I am calling SERVER1 page link in SERVER2 web page, the wcf service calls from SERVER1 pages returns an error?
Error details : Parse Error

How to make the service call success?it is not even making call to the service methods!! :(

The web pages will execute on Android and iOS device browser.

Thanks in advance for suggestions
--Avinash

推荐答案

这是一个解决方案:

从其他服务器Web应用程序调用wcf服务 [ ^ ]



谢谢,

--Avinash
Here is a solution :
call wcf service from other server web application[^]

Thanks,
--Avinash


这篇关于调用WCF服务 - 分布式架构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆