Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
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.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista - Cannot query a WCF service by a SOAP client

 
 
Old 07-20-2006   #1 (permalink)
Steve B.


 
 

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 SpecsSystem Spec
Old 07-23-2006   #2 (permalink)
Arkady Frenkel


 
 

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 SpecsSystem Spec
Old 07-24-2006   #3 (permalink)
Steve B.


 
 

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 SpecsSystem Spec
Old 07-24-2006   #4 (permalink)
Arkady Frenkel


 
 

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 SpecsSystem Spec
 

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


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46