![]() |
|
|
|||||||
![]() |
ASP Net - Ajax calls web service in wcf(windows service) |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
我们现在遇到一个问题,通过wcf创建 webservice,选择windows
service作为宿主,采用java作为客户端调 用成功,但是*法使用asp.net ajax调用。 我们参考了http://msdn.microsoft.com/zh-cn/libr...应的s ample code,但是发现这些sample基本上都需要 iis上部署一个svc文件,但是*据当前业务需求,我们*法部署iis服务器。 是否有windows service host的wcf service与asp.net ajax协作的解决方案?谢谢。 Billy Zhang |
|
|
|
|
#2 |
|
Posts: n/a
|
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: . -------------------- >From: =?Utf-8?B?QmlsbHkgWmhhbmc=?= <> >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协作的解决方案?谢谢? > Steven Cheng [MSFT] |
|
|
|
#3 |
|
Posts: n/a
|
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: > . > > -------------------- > > >From: =?Utf-8?B?QmlsbHkgWmhhbmc=?= <> > >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å作的解å*³æ–¹æ¡ˆï¼Ÿè°¢è°¢ã€? > > > > > Billy Zhang |
|
|
|
#4 |
|
Posts: n/a
|
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: . ================================================== 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=?= <> >References: <6DFF6104-4C5E-488D-9027-> <4#> >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: >> . >> >> -------------------- >> >> >From: =?Utf-8?B?QmlsbHkgWmhhbmc=?= <> >> >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å作的解å*³æ–¹æ¡ˆï¼Ÿè°¢è°¢ã€? >> >> > >> >> > Steven Cheng [MSFT] |
|
|
|
#5 |
|
Posts: n/a
|
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: > . > > ================================================== > 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=?= <> > >References: <6DFF6104-4C5E-488D-9027-> > <4#> > >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: > >> . > >> > >> -------------------- > >> > >> >From: =?Utf-8?B?QmlsbHkgWmhhbmc=?= <> > >> >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的资æ†? > > ™ï¼Œå¹¶ä¸â€Ã ¸‹è½½äº†ç›¸åºâ€Ã§Å¡â€žsampl e > >> > >code,但是å‘现è¿⠢些sample基本 上à > ©Æ’½éœ€è¦Â圠¨iis上部署一丠ªsvcæâ€? > > > ‡ä»¶ï¼Œä½†æ˜¯Ã?¹æÂ®å½“å ‰Â业务需æ±â > €šÃ¯Â¼Å’æË*‘们æâ€?Ã¦Â³â€¢Ã©Æ ’¨ç½²iisæœÂ务器ã€? > >> 是å¦有windows service hostçš„wcf service与asp.net > >> ajaxÃ¥ÂÂ作的蠧£å†³æ–¹æ¡Ë*?谢谢ã€? > >> > >> > > >> > >> > > > > Billy Zhang |
|
|
|
#6 |
|
Posts: n/a
|
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: > . > > ================================================== > 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=?= <> > >References: <6DFF6104-4C5E-488D-9027-> > <4#> > >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: > >> . > >> > >> -------------------- > >> > >> >From: =?Utf-8?B?QmlsbHkgWmhhbmc=?= <> > >> >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的资æ†? > > ™ï¼Œå¹¶ä¸â€Ã ¸‹è½½äº†ç›¸åºâ€Ã§Å¡â€žsampl e > >> > >code,但是å‘现è¿⠢些sample基本 上à > ©Æ’½éœ€è¦Â圠¨iis上部署一丠ªsvcæâ€? > > > ‡ä»¶ï¼Œä½†æ˜¯Ã?¹æÂ®å½“å ‰Â业务需æ±â > €šÃ¯Â¼Å’æË*‘们æâ€?Ã¦Â³â€¢Ã©Æ ’¨ç½²iisæœÂ务器ã€? > >> 是å¦有windows service hostçš„wcf service与asp.net > >> ajaxÃ¥ÂÂ作的蠧£å†³æ–¹æ¡Ë*?谢谢ã€? > >> > >> > > >> > >> > > > > Billy Zhang |
|
|
|
#7 |
|
Posts: n/a
|
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: . ================================================== 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=?= <> >References: <6DFF6104-4C5E-488D-9027-> <4#> <CE156F5B-963C-4C53-9B83-> <> >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: >> . >> >> ================================================== >> 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=?= <> >> >References: <6DFF6104-4C5E-488D-9027-> >> <4#> >> >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: >> >> . >> >> >> >> -------------------- >> >> >> >> >From: =?Utf-8?B?QmlsbHkgWmhhbmc=?= <> >> >> >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的资æâ? >> > ™ï¼Œå¹¶ä¸â€Ã ¸‹è½½à ¤Âºâ€ 相åºâ€Ã§Å¡â€žsampl e >> >> >> >code,但是å‘现è¿⠢些sample ¥Å¸ÂºÃ¦Å“¬ä¸?à >> ©Æ’½éœ€è¦Â圠¨iis上部署一丠ªsvcæâ? >> > >> ‡ä»¶ï¼Œä½†æ˜¯Ã?¹æÂ®å½“å ‰Âä¸šà Š¡éœ€æ±? > €šÃ¯Â¼Å’æË*‘们æâ?Ã¦Â³â€¢Ã©Æ ’¨ç½²iisæœÂÃ¥?¡å „¢Â¨Ã£â‚? >> >> 是å¦有windows service hostçš„wcf service与asp.net >> >> ajaxÃ¥ÂÂ作的蠧£åâ?³æ⠓¹æ¡Ë*?谢谢ãâ‚? >> >> >> >> > >> >> >> >> >> > >> >> > Steven Cheng [MSFT] |
|
|
|
#8 |
|
Posts: n/a
|
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: . ================================================== 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=?= <> >References: <6DFF6104-4C5E-488D-9027-> <4#> <CE156F5B-963C-4C53-9B83-> <> >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: >> . >> >> ================================================== >> 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=?= <> >> >References: <6DFF6104-4C5E-488D-9027-> >> <4#> >> >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: >> >> . >> >> >> >> -------------------- >> >> >> >> >From: =?Utf-8?B?QmlsbHkgWmhhbmc=?= <> >> >> >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的资æâ? >> > ™ï¼Œå¹¶ä¸â€Ã ¸‹è½½à ¤Âºâ€ 相åºâ€Ã§Å¡â€žsampl e >> >> >> >code,但是å‘现è¿⠢些sample ¥Å¸ÂºÃ¦Å“¬ä¸?à >> ©Æ’½éœ€è¦Â圠¨iis上部署一丠ªsvcæâ? >> > >> ‡ä»¶ï¼Œä½†æ˜¯Ã?¹æÂ®å½“å ‰Âä¸šà Š¡éœ€æ±? > €šÃ¯Â¼Å’æË*‘们æâ?Ã¦Â³â€¢Ã©Æ ’¨ç½²iisæœÂÃ¥?¡å „¢Â¨Ã£â‚? >> >> 是å¦有windows service hostçš„wcf service与asp.net >> >> ajaxÃ¥ÂÂ作的蠧£åâ?³æ⠓¹æ¡Ë*?谢谢ãâ‚? >> >> >> >> > >> >> >> >> >> > >> >> > Steven Cheng [MSFT] |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Novice needs help with Adserver.Adtech.de | CPU Rookie | General Help Related Topics | 3 | 05-10-2008 05:54 PM |
| Re: Home service calls | -=MoJo=Master=- | A+ Certification | 8 | 08-18-2003 01:33 AM |
| Re: Home service calls | Ghost | A+ Certification | 3 | 07-24-2003 10:36 PM |
| Re: Home service calls | Ken Briscoe | A+ Certification | 4 | 07-23-2003 04:52 PM |
| Re: Home service calls | Rick Blythin | A+ Certification | 0 | 07-17-2003 10:41 PM |