Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

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.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Indigo

Cannot query a WCF service by a SOAP client

Update your Vista Drivers Update Your Drivers Now!!
 
 
Thread Tools Display Modes
Old 07-20-2006   #1 (permalink)
Steve B.
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 SpecsSystem Spec
Old 07-23-2006   #2 (permalink)
Arkady Frenkel
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 SpecsSystem Spec
Old 07-24-2006   #3 (permalink)
Steve B.
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 SpecsSystem Spec
Old 07-24-2006   #4 (permalink)
Arkady Frenkel
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 SpecsSystem Spec
 

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


Update your Vista Drivers Update Your Vista Drivers Now!!

Vistax64.com 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 2005-2008