PC Review


Reply
Thread Tools Rate Thread

Ajax calls web service in wcf(windows service)

 
 
Billy Zhang
Guest
Posts: n/a
 
      30th Jul 2008
我们现在遇到一个问题,通过wcf创建的webservice,选择windows
service作为宿主,采用java作为客户端调用成功,但是*法使用asp.net ajax调用。
我们参考了http://msdn.microsoft.com/zh-cn/libr...应的sample
code,但是发现这些sample基本上都需要在iis上部署一个svc文件,但是*据当前业务需求,我们*法部署iis服务器。
是否有windows service host的wcf service与asp.net ajax协作的解决方案?谢谢。

 
Reply With Quote
 
 
 
 
Steven Cheng [MSFT]
Guest
Posts: n/a
 
      30th Jul 2008
Hi Billy,

The thread content is displayed as garbo code, have you verified that all
the contents are posted via UTF8 or other unicode format? You can try first
paste them into a notepad with unicode encoding and repost the content
again to see whether it works.

Sincerely,

Steven Cheng
Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(E-Mail Removed).

--------------------

>From: =?Utf-8?B?QmlsbHkgWmhhbmc=?= <(E-Mail Removed)>
>Subject: Ajax calls web service in wcf(windows service)
>Date: Wed, 30 Jul 2008 01:57:01 -0700


>
>我们现在遇到一个问题,通过wcf创建的webservice,选择windo

ws
>service作为宿主,采用java作为客户端调用成功,但是*法

用asp.net ajax调用?
我们参考了http://msdn.microsoft.com/zh-cn/libr...0.aspx的资
,并且下载了相应的sample
>code,但是发现这些sample基本上都需要在iis上部署一个svc

件,但是*据当前业务需求,我们*法部署iis服务器?
是否有windows service host的wcf service与asp.net
ajax协作的解决方案?谢谢?

>


 
Reply With Quote
 
Billy Zhang
Guest
Posts: n/a
 
      30th Jul 2008
I wrote it in Chinese, could you read Chinese in your tool?

"Steven Cheng [MSFT]" wrote:

> Hi Billy,
>
> The thread content is displayed as garbo code, have you verified that all
> the contents are posted via UTF8 or other unicode format? You can try first
> paste them into a notepad with unicode encoding and repost the content
> again to see whether it works.
>
> Sincerely,
>
> Steven Cheng
> Microsoft MSDN Online Support Lead
>
>
> Delighting our customers is our #1 priority. We welcome your comments and
> suggestions about how we can improve the support we provide to you. Please
> feel free to let my manager know what you think of the level of service
> provided. You can send feedback directly to my manager at:
> (E-Mail Removed).
>
> --------------------
>
> >From: =?Utf-8?B?QmlsbHkgWmhhbmc=?= <(E-Mail Removed)>
> >Subject: Ajax calls web service in wcf(windows service)
> >Date: Wed, 30 Jul 2008 01:57:01 -0700

>
> >
> >我们现在遇到一个问题,通过wcf创建的webservice,选择windo

> ws
> >service作为宿主,采用java作为客户端调用成å*Ÿï¼Œä½*æ˜¯æ— æ³•ä

> ½¿ç”¨asp.net ajax调用ã€?
> 我们参考äº*http://msdn.microsoft.com/zh-cn/libr...资æ–
> ™ï¼Œå¹¶ä¸”下载äº*相应的sample
> >code,ä½*是发现这些sample基本ä¸*都需要在iisä¸*部署一个svcæ–

> ‡ä»¶ï¼Œä½*æ˜¯æ ¹æ®å½“å‰ä¸šå*¡éœ€æ±‚ï¼Œæˆ‘ä»¬æ— æ³•éƒ¨ç½²iis服å*¡å™¨ã€?
> 是否有windows service host的wcf service与asp.net
> ajax协作的解å*³æ–¹æ¡ˆï¼Ÿè°¢è°¢ã€?
>
> >

>
>

 
Reply With Quote
 
Steven Cheng [MSFT]
Guest
Posts: n/a
 
      31st Jul 2008
Hi Billy,

I have performed some research on this. Here is some information I've got
so far:

As for the ASP.NET client script based AJAX call, it is limited by the web
page script model. For all the web pages in webbrowser, webbrowser will
restrict the script to access pages on remote server. For example, if your
page is from http://serverA , if your script try use some script
component to send webrequest to other server/application, it is not
allowed. And this also restrict the AJAX method call to remote
applications(webservice or wcf). I've even tried call WCF on the same
machine(different server application), it is now allowed.

So far, one way to make such remote WCF method call I can get is create a
local server-side page method in which you use server-side code to call the
remote WCF service. And your page's client-side script call this
server-side page_method via AJAX. How do you think?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(E-Mail Removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: =?Utf-8?B?QmlsbHkgWmhhbmc=?= <(E-Mail Removed)>
>References: <6DFF6104-4C5E-488D-9027-(E-Mail Removed)>

<4#(E-Mail Removed)>
>Subject: RE: Ajax calls web service in wcf(windows service)
>Date: Wed, 30 Jul 2008 02:46:05 -0700


>
>I wrote it in Chinese, could you read Chinese in your tool?
>
>"Steven Cheng [MSFT]" wrote:
>
>> Hi Billy,
>>
>> The thread content is displayed as garbo code, have you verified that

all
>> the contents are posted via UTF8 or other unicode format? You can try

first
>> paste them into a notepad with unicode encoding and repost the content
>> again to see whether it works.
>>
>> Sincerely,
>>
>> Steven Cheng
>> Microsoft MSDN Online Support Lead
>>
>>
>> Delighting our customers is our #1 priority. We welcome your comments

and
>> suggestions about how we can improve the support we provide to you.

Please
>> feel free to let my manager know what you think of the level of service
>> provided. You can send feedback directly to my manager at:
>> (E-Mail Removed).
>>
>> --------------------
>>
>> >From: =?Utf-8?B?QmlsbHkgWmhhbmc=?= <(E-Mail Removed)>
>> >Subject: Ajax calls web service in wcf(windows service)
>> >Date: Wed, 30 Jul 2008 01:57:01 -0700

>>
>> >

>>

>我们现在遇到一个问题,é€

šè¿‡wcf创建的webservice,选择windo
>> ws
>>

>service作为宿主,采用java作为客

ˆ·ç«¯è°ƒç”¨æˆå*Ÿï¼Œä½*是æ?法?
> ½¿ç”¨asp.net ajax调用ã€?
>>

我们参考äº*http://msdn.microsoft.com/zh-cn/library/bb
410780.aspx的资æ?
> ™ï¼Œå¹¶ä¸”下载äº*相应的sample
>>

>code,ä½*是发现这些sample基本ä¸*

ƒ½éœ€è¦åœ¨iisä¸*部署一个svcæ?
>

‡ä»¶ï¼Œä½*是?¹æ®å½“前业å*¡éœ€æ±
,我们æ?法部署iis服å*¡å™¨ã€?
>> 是否有windows service host的wcf service与asp.net
>> ajax协作的解å*³æ–¹æ¡ˆï¼Ÿè°¢è°¢ã€?
>>
>> >

>>
>>

>


 
Reply With Quote
 
Billy Zhang
Guest
Posts: n/a
 
      31st Jul 2008
As you said, this also restrict the AJAX method call to remote
applications(webservice or wcf).

But actually I could call the web service in other IIS site by using Ajax.

Do I misunderstand you?



"Steven Cheng [MSFT]" wrote:

> Hi Billy,
>
> I have performed some research on this. Here is some information I've got
> so far:
>
> As for the ASP.NET client script based AJAX call, it is limited by the web
> page script model. For all the web pages in webbrowser, webbrowser will
> restrict the script to access pages on remote server. For example, if your
> page is from http://serverA , if your script try use some script
> component to send webrequest to other server/application, it is not
> allowed. And this also restrict the AJAX method call to remote
> applications(webservice or wcf). I've even tried call WCF on the same
> machine(different server application), it is now allowed.
>
> So far, one way to make such remote WCF method call I can get is create a
> local server-side page method in which you use server-side code to call the
> remote WCF service. And your page's client-side script call this
> server-side page_method via AJAX. How do you think?
>
> Sincerely,
>
> Steven Cheng
>
> Microsoft MSDN Online Support Lead
>
>
> Delighting our customers is our #1 priority. We welcome your comments and
> suggestions about how we can improve the support we provide to you. Please
> feel free to let my manager know what you think of the level of service
> provided. You can send feedback directly to my manager at:
> (E-Mail Removed).
>
> ==================================================
> Get notification to my posts through email? Please refer to
> http://msdn.microsoft.com/subscripti...ult.aspx#notif
> ications.
>
> ==================================================
> This posting is provided "AS IS" with no warranties, and confers no rights.
> --------------------
> >From: =?Utf-8?B?QmlsbHkgWmhhbmc=?= <(E-Mail Removed)>
> >References: <6DFF6104-4C5E-488D-9027-(E-Mail Removed)>

> <4#(E-Mail Removed)>
> >Subject: RE: Ajax calls web service in wcf(windows service)
> >Date: Wed, 30 Jul 2008 02:46:05 -0700

>
> >
> >I wrote it in Chinese, could you read Chinese in your tool?
> >
> >"Steven Cheng [MSFT]" wrote:
> >
> >> Hi Billy,
> >>
> >> The thread content is displayed as garbo code, have you verified that

> all
> >> the contents are posted via UTF8 or other unicode format? You can try

> first
> >> paste them into a notepad with unicode encoding and repost the content
> >> again to see whether it works.
> >>
> >> Sincerely,
> >>
> >> Steven Cheng
> >> Microsoft MSDN Online Support Lead
> >>
> >>
> >> Delighting our customers is our #1 priority. We welcome your comments

> and
> >> suggestions about how we can improve the support we provide to you.

> Please
> >> feel free to let my manager know what you think of the level of service
> >> provided. You can send feedback directly to my manager at:
> >> (E-Mail Removed).
> >>
> >> --------------------
> >>
> >> >From: =?Utf-8?B?QmlsbHkgWmhhbmc=?= <(E-Mail Removed)>
> >> >Subject: Ajax calls web service in wcf(windows service)
> >> >Date: Wed, 30 Jul 2008 01:57:01 -0700
> >>
> >> >
> >>

> >æË*‘们现在遇åË*°ä¸€ä¸ªé—®é¢˜ï¼Œé€

> šè¿‡wcfÃ¥Ë*›å»ºçš„webservice,选择windo
> >> ws
> >>

> >service作为宿主,采用java作为客Ã

> ¦Ë*·ç«¯è°ƒç”¨æË*åŠŸï¼Œä½†æ˜¯æâ€?法Ã?
> > ½¿ç”¨asp.net ajax调用ã€?
> >>

> æË*‘们参考了http://msdn.microsoft.com/zh-cn/library/bb
> 410780.aspx的资æ�
> > ™ï¼Œå¹¶ä¸”下载了相应的sample
> >>

> >code,但是发现这些sample基本上Ã

> ©Æ’½éœ€è¦åœ¨iis上部署一个svcæâ€?
> >

> ‡ä»¶ï¼Œä½†æ˜¯Ã?¹æ®å½“前业务需æ±â
> €šÃ¯Â¼Å’æË*‘们æâ€?法部署iis服务器ã€?
> >> 是否有windows service host的wcf service与asp.net
> >> ajax协作的解决方æ¡Ë*?谢谢ã€?
> >>
> >> >
> >>
> >>

> >

>
>

 
Reply With Quote
 
Billy Zhang
Guest
Posts: n/a
 
      31st Jul 2008
OK, please close it as resolved, thank you!


"Steven Cheng [MSFT]" wrote:

> Hi Billy,
>
> I have performed some research on this. Here is some information I've got
> so far:
>
> As for the ASP.NET client script based AJAX call, it is limited by the web
> page script model. For all the web pages in webbrowser, webbrowser will
> restrict the script to access pages on remote server. For example, if your
> page is from http://serverA , if your script try use some script
> component to send webrequest to other server/application, it is not
> allowed. And this also restrict the AJAX method call to remote
> applications(webservice or wcf). I've even tried call WCF on the same
> machine(different server application), it is now allowed.
>
> So far, one way to make such remote WCF method call I can get is create a
> local server-side page method in which you use server-side code to call the
> remote WCF service. And your page's client-side script call this
> server-side page_method via AJAX. How do you think?
>
> Sincerely,
>
> Steven Cheng
>
> Microsoft MSDN Online Support Lead
>
>
> Delighting our customers is our #1 priority. We welcome your comments and
> suggestions about how we can improve the support we provide to you. Please
> feel free to let my manager know what you think of the level of service
> provided. You can send feedback directly to my manager at:
> (E-Mail Removed).
>
> ==================================================
> Get notification to my posts through email? Please refer to
> http://msdn.microsoft.com/subscripti...ult.aspx#notif
> ications.
>
> ==================================================
> This posting is provided "AS IS" with no warranties, and confers no rights.
> --------------------
> >From: =?Utf-8?B?QmlsbHkgWmhhbmc=?= <(E-Mail Removed)>
> >References: <6DFF6104-4C5E-488D-9027-(E-Mail Removed)>

> <4#(E-Mail Removed)>
> >Subject: RE: Ajax calls web service in wcf(windows service)
> >Date: Wed, 30 Jul 2008 02:46:05 -0700

>
> >
> >I wrote it in Chinese, could you read Chinese in your tool?
> >
> >"Steven Cheng [MSFT]" wrote:
> >
> >> Hi Billy,
> >>
> >> The thread content is displayed as garbo code, have you verified that

> all
> >> the contents are posted via UTF8 or other unicode format? You can try

> first
> >> paste them into a notepad with unicode encoding and repost the content
> >> again to see whether it works.
> >>
> >> Sincerely,
> >>
> >> Steven Cheng
> >> Microsoft MSDN Online Support Lead
> >>
> >>
> >> Delighting our customers is our #1 priority. We welcome your comments

> and
> >> suggestions about how we can improve the support we provide to you.

> Please
> >> feel free to let my manager know what you think of the level of service
> >> provided. You can send feedback directly to my manager at:
> >> (E-Mail Removed).
> >>
> >> --------------------
> >>
> >> >From: =?Utf-8?B?QmlsbHkgWmhhbmc=?= <(E-Mail Removed)>
> >> >Subject: Ajax calls web service in wcf(windows service)
> >> >Date: Wed, 30 Jul 2008 01:57:01 -0700
> >>
> >> >
> >>

> >æË*‘们现在遇åË*°ä¸€ä¸ªé—®é¢˜ï¼Œé€

> šè¿‡wcfÃ¥Ë*›å»ºçš„webservice,选择windo
> >> ws
> >>

> >service作为宿主,采用java作为客Ã

> ¦Ë*·ç«¯è°ƒç”¨æË*åŠŸï¼Œä½†æ˜¯æâ€?法Ã?
> > ½¿ç”¨asp.net ajax调用ã€?
> >>

> æË*‘们参考了http://msdn.microsoft.com/zh-cn/library/bb
> 410780.aspx的资æ�
> > ™ï¼Œå¹¶ä¸”下载了相应的sample
> >>

> >code,但是发现这些sample基本上Ã

> ©Æ’½éœ€è¦åœ¨iis上部署一个svcæâ€?
> >

> ‡ä»¶ï¼Œä½†æ˜¯Ã?¹æ®å½“前业务需æ±â
> €šÃ¯Â¼Å’æË*‘们æâ€?法部署iis服务器ã€?
> >> 是否有windows service host的wcf service与asp.net
> >> ajax协作的解决方æ¡Ë*?谢谢ã€?
> >>
> >> >
> >>
> >>

> >

>
>

 
Reply With Quote
 
Steven Cheng [MSFT]
Guest
Posts: n/a
 
      31st Jul 2008
Thanks or your reply.

Yes, this is a "cross-browser" script restriction which prevent script to
interact with remote site(domain).

Anyway, so far for your scenario, two possible solutions are available:

1. use AJAX call to invoke local server-side page method and let
server-side to call the WCF service

2. Move the WCF to the local site/application(at least need to have the
same main domain server name) with your web page application.

If there is anything else need help, please feel free to post here.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(E-Mail Removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
>From: =?Utf-8?B?QmlsbHkgWmhhbmc=?= <(E-Mail Removed)>
>References: <6DFF6104-4C5E-488D-9027-(E-Mail Removed)>

<4#(E-Mail Removed)>
<CE156F5B-963C-4C53-9B83-(E-Mail Removed)>
<(E-Mail Removed)>
>Subject: RE: Ajax calls web service in wcf(windows service)
>Date: Wed, 30 Jul 2008 22:38:00 -0700


>
>OK, please close it as resolved, thank you!
>
>
>"Steven Cheng [MSFT]" wrote:
>
>> Hi Billy,
>>
>> I have performed some research on this. Here is some information I've

got
>> so far:
>>
>> As for the ASP.NET client script based AJAX call, it is limited by the

web
>> page script model. For all the web pages in webbrowser, webbrowser will
>> restrict the script to access pages on remote server. For example, if

your
>> page is from http://serverA , if your script try use some script
>> component to send webrequest to other server/application, it is not
>> allowed. And this also restrict the AJAX method call to remote
>> applications(webservice or wcf). I've even tried call WCF on the same
>> machine(different server application), it is now allowed.
>>
>> So far, one way to make such remote WCF method call I can get is create

a
>> local server-side page method in which you use server-side code to call

the
>> remote WCF service. And your page's client-side script call this
>> server-side page_method via AJAX. How do you think?
>>
>> Sincerely,
>>
>> Steven Cheng
>>
>> Microsoft MSDN Online Support Lead
>>
>>
>> Delighting our customers is our #1 priority. We welcome your comments

and
>> suggestions about how we can improve the support we provide to you.

Please
>> feel free to let my manager know what you think of the level of service
>> provided. You can send feedback directly to my manager at:
>> (E-Mail Removed).
>>
>> ==================================================
>> Get notification to my posts through email? Please refer to
>>

http://msdn.microsoft.com/subscripti...ult.aspx#notif
>> ications.
>>
>> ==================================================
>> This posting is provided "AS IS" with no warranties, and confers no

rights.
>> --------------------
>> >From: =?Utf-8?B?QmlsbHkgWmhhbmc=?= <(E-Mail Removed)>
>> >References: <6DFF6104-4C5E-488D-9027-(E-Mail Removed)>

>> <4#(E-Mail Removed)>
>> >Subject: RE: Ajax calls web service in wcf(windows service)
>> >Date: Wed, 30 Jul 2008 02:46:05 -0700

>>
>> >
>> >I wrote it in Chinese, could you read Chinese in your tool?
>> >
>> >"Steven Cheng [MSFT]" wrote:
>> >
>> >> Hi Billy,
>> >>
>> >> The thread content is displayed as garbo code, have you verified that

>> all
>> >> the contents are posted via UTF8 or other unicode format? You can try

>> first
>> >> paste them into a notepad with unicode encoding and repost the

content
>> >> again to see whether it works.
>> >>
>> >> Sincerely,
>> >>
>> >> Steven Cheng
>> >> Microsoft MSDN Online Support Lead
>> >>
>> >>
>> >> Delighting our customers is our #1 priority. We welcome your comments

>> and
>> >> suggestions about how we can improve the support we provide to you.

>> Please
>> >> feel free to let my manager know what you think of the level of

service
>> >> provided. You can send feedback directly to my manager at:
>> >> (E-Mail Removed).
>> >>
>> >> --------------------
>> >>
>> >> >From: =?Utf-8?B?QmlsbHkgWmhhbmc=?= <(E-Mail Removed)>
>> >> >Subject: Ajax calls web service in wcf(windows service)
>> >> >Date: Wed, 30 Jul 2008 01:57:01 -0700
>> >>
>> >> >
>> >>

>>

>æË*‘们现在遇åË

*°ä¸€ä¸ªé—®é¢˜ï¼ŒÃ
©â‚?
>

šè¿‡wcfÃ¥Ë*›å»ºçš„webservice
¯Â¼Å’选择windo
>> >> ws
>> >>

>>

>service作为宿主,éâ

€¡â€¡Ã§â€Â¨java作为客?
>

¦Ë*·ç«¯è°ƒç”¨æË*å?ŸÃ
¯Â¼Å’但是æâ?法?
>> > ½¿ç”¨asp.net

ajax调用ã�
>> >>

>> æË*‘们参考äºâ€

http://msdn.microsoft.com/zh-cn/library/bb
>> 410780.aspx的资æâ?
>> >

™ï¼Œå¹¶ä¸”下载Ã
¤Âºâ€ 相应的sample
>> >>
>> >code,ä½â€

是发现这些sample
¥Å¸ÂºÃ¦Å“¬ä¸?Ã
>> ©Æ’½éœ€è¦åœ¨iisä¸Å

部署一个svcæâ?
>> >

>> ‡ä»¶ï¼Œä½â€

是Ã?¹æ®å½“前业Ã
Š¡éœ€æ±?
>

€šÃ¯Â¼Å’æË*‘们æâ?法éÆ
’¨ç½²iis服å?¡å™¨ãâ‚?
>> >> 是否有windows service

host的wcf service与asp.net
>> >>

ajax协作的解åâ?³æâ
“¹æ¡Ë*?谢谢ãâ‚?
>> >>
>> >> >
>> >>
>> >>
>> >

>>
>>

>


 
Reply With Quote
 
Steven Cheng [MSFT]
Guest
Posts: n/a
 
      31st Jul 2008
Thanks or your reply.

Yes, this is a "cross-browser" script restriction which prevent script to
interact with remote site(domain).

Anyway, so far for your scenario, two possible solutions are available:

1. use AJAX call to invoke local server-side page method and let
server-side to call the WCF service

2. Move the WCF to the local site/application(at least need to have the
same main domain server name) with your web page application.

If there is anything else need help, please feel free to post here.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(E-Mail Removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
>From: =?Utf-8?B?QmlsbHkgWmhhbmc=?= <(E-Mail Removed)>
>References: <6DFF6104-4C5E-488D-9027-(E-Mail Removed)>

<4#(E-Mail Removed)>
<CE156F5B-963C-4C53-9B83-(E-Mail Removed)>
<(E-Mail Removed)>
>Subject: RE: Ajax calls web service in wcf(windows service)
>Date: Wed, 30 Jul 2008 22:38:00 -0700


>
>OK, please close it as resolved, thank you!
>
>
>"Steven Cheng [MSFT]" wrote:
>
>> Hi Billy,
>>
>> I have performed some research on this. Here is some information I've

got
>> so far:
>>
>> As for the ASP.NET client script based AJAX call, it is limited by the

web
>> page script model. For all the web pages in webbrowser, webbrowser will
>> restrict the script to access pages on remote server. For example, if

your
>> page is from http://serverA , if your script try use some script
>> component to send webrequest to other server/application, it is not
>> allowed. And this also restrict the AJAX method call to remote
>> applications(webservice or wcf). I've even tried call WCF on the same
>> machine(different server application), it is now allowed.
>>
>> So far, one way to make such remote WCF method call I can get is create

a
>> local server-side page method in which you use server-side code to call

the
>> remote WCF service. And your page's client-side script call this
>> server-side page_method via AJAX. How do you think?
>>
>> Sincerely,
>>
>> Steven Cheng
>>
>> Microsoft MSDN Online Support Lead
>>
>>
>> Delighting our customers is our #1 priority. We welcome your comments

and
>> suggestions about how we can improve the support we provide to you.

Please
>> feel free to let my manager know what you think of the level of service
>> provided. You can send feedback directly to my manager at:
>> (E-Mail Removed).
>>
>> ==================================================
>> Get notification to my posts through email? Please refer to
>>

http://msdn.microsoft.com/subscripti...ult.aspx#notif
>> ications.
>>
>> ==================================================
>> This posting is provided "AS IS" with no warranties, and confers no

rights.
>> --------------------
>> >From: =?Utf-8?B?QmlsbHkgWmhhbmc=?= <(E-Mail Removed)>
>> >References: <6DFF6104-4C5E-488D-9027-(E-Mail Removed)>

>> <4#(E-Mail Removed)>
>> >Subject: RE: Ajax calls web service in wcf(windows service)
>> >Date: Wed, 30 Jul 2008 02:46:05 -0700

>>
>> >
>> >I wrote it in Chinese, could you read Chinese in your tool?
>> >
>> >"Steven Cheng [MSFT]" wrote:
>> >
>> >> Hi Billy,
>> >>
>> >> The thread content is displayed as garbo code, have you verified that

>> all
>> >> the contents are posted via UTF8 or other unicode format? You can try

>> first
>> >> paste them into a notepad with unicode encoding and repost the

content
>> >> again to see whether it works.
>> >>
>> >> Sincerely,
>> >>
>> >> Steven Cheng
>> >> Microsoft MSDN Online Support Lead
>> >>
>> >>
>> >> Delighting our customers is our #1 priority. We welcome your comments

>> and
>> >> suggestions about how we can improve the support we provide to you.

>> Please
>> >> feel free to let my manager know what you think of the level of

service
>> >> provided. You can send feedback directly to my manager at:
>> >> (E-Mail Removed).
>> >>
>> >> --------------------
>> >>
>> >> >From: =?Utf-8?B?QmlsbHkgWmhhbmc=?= <(E-Mail Removed)>
>> >> >Subject: Ajax calls web service in wcf(windows service)
>> >> >Date: Wed, 30 Jul 2008 01:57:01 -0700
>> >>
>> >> >
>> >>

>>

>æË*‘们现在遇åË

*°ä¸€ä¸ªé—®é¢˜ï¼ŒÃ
©â‚?
>

šè¿‡wcfÃ¥Ë*›å»ºçš„webservice
¯Â¼Å’选择windo
>> >> ws
>> >>

>>

>service作为宿主,éâ

€¡â€¡Ã§â€Â¨java作为客?
>

¦Ë*·ç«¯è°ƒç”¨æË*å?ŸÃ
¯Â¼Å’但是æâ?法?
>> > ½¿ç”¨asp.net

ajax调用ã�
>> >>

>> æË*‘们参考äºâ€

http://msdn.microsoft.com/zh-cn/library/bb
>> 410780.aspx的资æâ?
>> >

™ï¼Œå¹¶ä¸”下载Ã
¤Âºâ€ 相应的sample
>> >>
>> >code,ä½â€

是发现这些sample
¥Å¸ÂºÃ¦Å“¬ä¸?Ã
>> ©Æ’½éœ€è¦åœ¨iisä¸Å

部署一个svcæâ?
>> >

>> ‡ä»¶ï¼Œä½â€

是Ã?¹æ®å½“前业Ã
Š¡éœ€æ±?
>

€šÃ¯Â¼Å’æË*‘们æâ?法éÆ
’¨ç½²iis服å?¡å™¨ãâ‚?
>> >> 是否有windows service

host的wcf service与asp.net
>> >>

ajax协作的解åâ?³æâ
“¹æ¡Ë*?谢谢ãâ‚?
>> >>
>> >> >
>> >>
>> >>
>> >

>>
>>

>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
AJAX enabled WCF Service Vs Standard WCF Service Simon Microsoft C# .NET 0 13th Oct 2009 10:13 AM
AJAX enabled WCF Service Vs Standard WCF Service Simon Microsoft ASP .NET 0 13th Oct 2009 10:13 AM
Timeouts (testing) for AJAX Web service calls Lloyd Sheen Microsoft ASP .NET 1 30th Nov 2007 04:44 PM
'web service call failed: 500' using ajax hovermenu and web service Not Me Microsoft ASP .NET 1 5th Jun 2007 04:09 PM
Re: Windows service calls Alex Feinman [MVP] Microsoft Dot NET Compact Framework 2 16th Feb 2004 06:55 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:59 AM.