我从wcf服务获取javascript错误? [英] i have error in javascript from wcf service?

查看:70
本文介绍了我从wcf服务获取javascript错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨观众,
我正在通过javascript函数将参数传递给wcf函数,它在wcf服务中旋转多次调用(往返)...

hi viewers,
i am passing parameter through javascript function to wcf function ,it rotates multiple times calling(round trip) in wcf services...

function getidea() {
           var service = new project.Services.Ajax();
           service.getidea(getidea_onSuccess,getidea_onFailed, null);
       }



它直接用于wcf方法函数
并获取数据库值
但多次往返

之后,发生以下错误

_message =服务器方法"getidea"失败."

_statusCode = 12152



it goes directly to wcf method function
and get the database values
but multiple times round trip occurred

after that the following error occurs

_message = "The server method ''getidea'' failed."

_statusCode = 12152

推荐答案

检查这些博客
http://pranayamr.blogspot.com/2011/06/calling- cross-domain-wcf-service-using.html [ ^ ]
使用ASP.NET AJAX在JavaScript中使用WCF服务的入门指南 [
check these blogs
http://pranayamr.blogspot.com/2011/06/calling-cross-domain-wcf-service-using.html[^]
A beginner’s guide for consuming a WCF service in JavaScript using ASP.NET AJAX[^]
--NDK


这篇关于我从wcf服务获取javascript错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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