![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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) |
| | 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) |
| | 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) |
| | 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) |
| | 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 | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Internet Connection Sharing service enabled = DNS query spam | Vista General | |||
| Internet Connection Sharing service enabled = DNS query spam | Vista networking & sharing | |||
| Info: Write a Powershell Soap Client. | PowerShell | |||