![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | Cannot query a WCF service by a SOAP client Hi, I've build a self hosted wcf service. I can reference the service using WCF Client capabilities and it works fine. However, if I want to add a Web Reference to an application that points to my service (using SOAP), and even if the proxy class is built, I always have timeouts when I invoke a method (all onto the same computer). The runtime version of .Net is 3.0 june CTP Here is the service configuration file : <system.serviceModel> <services> <service name="TestHost.TestService" behaviorConfiguration="mySvcBehavior" > <endpoint contract="TestHost.ITestService" binding="wsHttpBinding" address="" /> </service> </services> <behaviors> <serviceBehaviors> <behavior name="mySvcBehavior"> <serviceMetadata httpGetEnabled="true" /> </behavior> </serviceBehaviors> </behaviors> </system.serviceModel> Does anyone have an idea why his goes in timeouts ? Thanks, Steve |
My System Specs![]() |
| | #2 (permalink) |
| Guest | Re: Cannot query a WCF service by a SOAP client Add diagnostic section and you can use SvcTraceViewer.exe to check packet flow up to milliseconds in the log ( e2e ) Arkady "Steve B." <steve_beauge@com.msn_swap_msn_and_com> wrote in message news:%23sU6P9$qGHA.4508@TK2MSFTNGP04.phx.gbl... > Hi, > > I've build a self hosted wcf service. > I can reference the service using WCF Client capabilities and it works > fine. > > However, if I want to add a Web Reference to an application that points to > my service (using SOAP), and even if the proxy class is built, I always > have timeouts when I invoke a method (all onto the same computer). > > The runtime version of .Net is 3.0 june CTP > > Here is the service configuration file : > > <system.serviceModel> > > <services> > > <service > > name="TestHost.TestService" > > behaviorConfiguration="mySvcBehavior" > >> > > <endpoint > > contract="TestHost.ITestService" > > binding="wsHttpBinding" > > address="" > > /> > > </service> > > </services> > > <behaviors> > > <serviceBehaviors> > > <behavior name="mySvcBehavior"> > > <serviceMetadata httpGetEnabled="true" /> > > </behavior> > > </serviceBehaviors> > > </behaviors> > > </system.serviceModel> > > > > Does anyone have an idea why his goes in timeouts ? > > > > Thanks, > > Steve > > |
My System Specs![]() |
| | #3 (permalink) |
| Guest | Re: Cannot query a WCF service by a SOAP client I solved the problem using basicHttpBinding instead of wsHttpBinding. However, with basicHttpBinding, operations that requires ipersonation stopped working. Steve "Arkady Frenkel" <arkadyf@hotmailxdotx.com> a écrit dans le message de news: uuzSKsirGHA.4032@TK2MSFTNGP03.phx.gbl... > Add diagnostic section and you can use SvcTraceViewer.exe to check packet > flow up to milliseconds in the log ( e2e ) > Arkady > > "Steve B." <steve_beauge@com.msn_swap_msn_and_com> wrote in message > news:%23sU6P9$qGHA.4508@TK2MSFTNGP04.phx.gbl... >> Hi, >> >> I've build a self hosted wcf service. >> I can reference the service using WCF Client capabilities and it works >> fine. >> >> However, if I want to add a Web Reference to an application that points >> to my service (using SOAP), and even if the proxy class is built, I >> always have timeouts when I invoke a method (all onto the same computer). >> >> The runtime version of .Net is 3.0 june CTP >> >> Here is the service configuration file : >> >> <system.serviceModel> >> >> <services> >> >> <service >> >> name="TestHost.TestService" >> >> behaviorConfiguration="mySvcBehavior" >> >>> >> >> <endpoint >> >> contract="TestHost.ITestService" >> >> binding="wsHttpBinding" >> >> address="" >> >> /> >> >> </service> >> >> </services> >> >> <behaviors> >> >> <serviceBehaviors> >> >> <behavior name="mySvcBehavior"> >> >> <serviceMetadata httpGetEnabled="true" /> >> >> </behavior> >> >> </serviceBehaviors> >> >> </behaviors> >> >> </system.serviceModel> >> >> >> >> Does anyone have an idea why his goes in timeouts ? >> >> >> >> Thanks, >> >> Steve >> >> > > |
My System Specs![]() |
| | #4 (permalink) |
| Guest | Re: Cannot query a WCF service by a SOAP client basicHttpBinding have no security opposite to wsHttpBinding which by default have it , but you can turn it off ( maybe try such variant too ) Arkady "Steve B." <steve_beauge@com.msn_swap_msn_and_com> wrote in message news:uDDIQhvrGHA.4324@TK2MSFTNGP03.phx.gbl... >I solved the problem using basicHttpBinding instead of wsHttpBinding. > However, with basicHttpBinding, operations that requires ipersonation > stopped working. > > Steve > > "Arkady Frenkel" <arkadyf@hotmailxdotx.com> a écrit dans le message de > news: uuzSKsirGHA.4032@TK2MSFTNGP03.phx.gbl... >> Add diagnostic section and you can use SvcTraceViewer.exe to check packet >> flow up to milliseconds in the log ( e2e ) >> Arkady >> >> "Steve B." <steve_beauge@com.msn_swap_msn_and_com> wrote in message >> news:%23sU6P9$qGHA.4508@TK2MSFTNGP04.phx.gbl... >>> Hi, >>> >>> I've build a self hosted wcf service. >>> I can reference the service using WCF Client capabilities and it works >>> fine. >>> >>> However, if I want to add a Web Reference to an application that points >>> to my service (using SOAP), and even if the proxy class is built, I >>> always have timeouts when I invoke a method (all onto the same >>> computer). >>> >>> The runtime version of .Net is 3.0 june CTP >>> >>> Here is the service configuration file : >>> >>> <system.serviceModel> >>> >>> <services> >>> >>> <service >>> >>> name="TestHost.TestService" >>> >>> behaviorConfiguration="mySvcBehavior" >>> >>>> >>> >>> <endpoint >>> >>> contract="TestHost.ITestService" >>> >>> binding="wsHttpBinding" >>> >>> address="" >>> >>> /> >>> >>> </service> >>> >>> </services> >>> >>> <behaviors> >>> >>> <serviceBehaviors> >>> >>> <behavior name="mySvcBehavior"> >>> >>> <serviceMetadata httpGetEnabled="true" /> >>> >>> </behavior> >>> >>> </serviceBehaviors> >>> >>> </behaviors> >>> >>> </system.serviceModel> >>> >>> >>> >>> Does anyone have an idea why his goes in timeouts ? >>> >>> >>> >>> Thanks, >>> >>> Steve >>> >>> >> >> > > |
My System Specs![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Internet Connection Sharing service enabled = DNS query spam | Aaron Kelley | Vista General | 1 | 05-22-2008 03:53 PM |
| Internet Connection Sharing service enabled = DNS query spam | Aaron Kelley | Vista networking & sharing | 1 | 05-22-2008 03:53 PM |
| Info: Write a Powershell Soap Client. | Brandon Shell | PowerShell | 1 | 12-22-2006 02:53 PM |