![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | Asp.net WCF client How can I have an asp.net web application access a WCF server? I have seen a lot of examples on how to access a WCF server from a windows application, but I can't find an example of how you do this from asp.net. In an asp.net I don't have the "Add service reference" option as I have on a regular windows application. Thank you! |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Asp.net WCF client Hello, nyhetsgrupper@gmail.com! But you have svcutil.exe. "Add Service Reference" uses this tool to generate client code n> How can I have an asp.net web application access a WCF server? I have n> seen a lot of examples on how to access a WCF server from a windows n> application, but I can't find an example of how you do this from n> asp.net. In an asp.net I don't have the "Add service reference" n> option n> as I have on a regular windows application. n> Thank you! -- Regards, Vadym Stetsyak www: http://vadmyst.blogspot.com |
My System Specs![]() |
| | #3 (permalink) |
| | RE: Asp.net WCF client Hi Friend. There are two ways: 1. Go to WebSite Menu option, in that menu choose Add Service Reference and provide the service URL. 2.Or, generate the proxy manually using svcutil tool and copy the proxy file in app_code folder and binding settings in web.config file. Regards "nyhetsgrupper@gmail.com" wrote: > How can I have an asp.net web application access a WCF server? I have > seen a lot of examples on how to access a WCF server from a windows > application, but I can't find an example of how you do this from > asp.net. In an asp.net I don't have the "Add service reference" option > as I have on a regular windows application. > > Thank you! > > |
My System Specs![]() |
| | #4 (permalink) |
| | Re: Asp.net WCF client BTW real question is if OP want to interconnect between two services : one asp.net and another WCF or mentioned web app is just client of asp service Arkady "Vadym Stetsyak" <vadym_s@ukr.net> wrote in message news:u0dd3tfGHHA.420@TK2MSFTNGP06.phx.gbl... > Hello, nyhetsgrupper@gmail.com! > > But you have svcutil.exe. > "Add Service Reference" uses this tool to generate client code > > n> How can I have an asp.net web application access a WCF server? I have > n> seen a lot of examples on how to access a WCF server from a windows > n> application, but I can't find an example of how you do this from > n> asp.net. In an asp.net I don't have the "Add service reference" > n> option > n> as I have on a regular windows application. > > n> Thank you! > > > -- > Regards, Vadym Stetsyak > www: http://vadmyst.blogspot.com |
My System Specs![]() |
| | #5 (permalink) |
| | Re: Asp.net WCF client Hello, Arkady! That's strange but I didn't find any mention about asp.net web service in the OP. I understood that there are two "guys" here, asp.bet web app (client) and WCF service. And OP tries to access that WCF service, and since there is no "Add Service Reference" in the web-projects OP has a problem. AF> BTW real question is if OP want to interconnect between two services AF> : one AF> asp.net and another WCF or mentioned web app is just client of asp AF> service AF> Arkady AF> "Vadym Stetsyak" <vadym_s@ukr.net> wrote in message AF> news:u0dd3tfGHHA.420@TK2MSFTNGP06.phx.gbl... >> Hello, nyhetsgrupper@gmail.com! >> But you have svcutil.exe. >> "Add Service Reference" uses this tool to generate client code >> n> How can I have an asp.net web application access a WCF server? I >> have >> n> seen a lot of examples on how to access a WCF server from a windows >> n> application, but I can't find an example of how you do this from >> n> asp.net. In an asp.net I don't have the "Add service reference" >> n> option >> n> as I have on a regular windows application. >> n> Thank you! >> -- >> Regards, Vadym Stetsyak >> www: http://vadmyst.blogspot.com -- Regards, Vadym Stetsyak www: http://vadmyst.blogspot.com |
My System Specs![]() |
| | #6 (permalink) |
| | Re: Asp.net WCF client Usually "asp.net web application" as OP wrote mean server app not client, OTOH " Asp.net WCF client" from subject stand that topic of the interes is client Arkady "Vadym Stetsyak" <vadym_s@ukr.net> wrote in message news:Omu6DdSHHHA.4688@TK2MSFTNGP04.phx.gbl... > Hello, Arkady! > > That's strange but I didn't find any mention about asp.net web service in > the OP. > > I understood that there are two "guys" here, asp.bet web app (client) and > WCF service. > And OP tries to access that WCF service, and since there is no "Add > Service Reference" in the > web-projects OP has a problem. > > AF> BTW real question is if OP want to interconnect between two services > AF> : one > AF> asp.net and another WCF or mentioned web app is just client of asp > AF> service > AF> Arkady > AF> "Vadym Stetsyak" <vadym_s@ukr.net> wrote in message > AF> news:u0dd3tfGHHA.420@TK2MSFTNGP06.phx.gbl... >>> Hello, nyhetsgrupper@gmail.com! > >>> But you have svcutil.exe. >>> "Add Service Reference" uses this tool to generate client code > >>> n> How can I have an asp.net web application access a WCF server? I >>> have >>> n> seen a lot of examples on how to access a WCF server from a windows >>> n> application, but I can't find an example of how you do this from >>> n> asp.net. In an asp.net I don't have the "Add service reference" >>> n> option >>> n> as I have on a regular windows application. > >>> n> Thank you! > > >>> -- >>> Regards, Vadym Stetsyak >>> www: http://vadmyst.blogspot.com > > > > -- > Regards, Vadym Stetsyak > www: http://vadmyst.blogspot.com |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| 64 bit VPN client | Vista General | |||
| RTC Client API | Vista General | |||
| SIP Client for IM | Vista General | |||
| DNS Client | Vista General | |||
| DNS Client | Vista networking & sharing | |||