.NET WebService Studio and WCF

Has anybody managed to get the.NET WebService Studio to generate a proxy assembly so that a WCF service could be tested? All I get when I connect to an SVC endpoint (our WCF is hosted in IIS) is that the WSDL is successfully consumed, but the Proxy node looks like:

//
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.42
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//

//
// Assembly WebServiceStudio Version = 2.0.50727.42
//

As a result, the Invoke tab is blank, and nothing can be tested.

Thanks.

[981 byte] By [gn_ctax] at [2008-1-4]
# 1
what happens if you hit the svc endpoint in browser directly, what's the WSDL/XSD showed there?
joezhou-MSFT at 2007-10-3 > top of Msdn Tech,Visual Studio Orcas,Windows Communication Foundation (Indigo)...
# 2
Here's an example:

You have created a service.

To test this service, you will need to create a client and use it to call the service. You can do this using the svcutil.exe tool from the command line with the following syntax:


svcutil.exe http://<server>.com:4999/MartService.svc?wsdl 

This will generate a configuration file and a code file that contains the client class. Add the two files to your client application and use the generated client class to call the Service. For example:

C#

class Test
{
static void Main()
{
MartServiceClient client = new MartServiceClient();

// Use the 'client' variable to call operations on the service.

// Always close the client.
client.Close();
}
}

Visual Basic

Class Test
Shared Sub Main()
Dim client MartServiceClient = New MartServiceClient()
' Use the 'client' variable to call operations on the service.

' Always close the client.
client.Close()
End Sub
End Class

gn_ctax at 2007-10-3 > top of Msdn Tech,Visual Studio Orcas,Windows Communication Foundation (Indigo)...
# 3

web service studio works for ASP.NET web services only,i know we have some plans to release similar tools for WCF also(I don't know when it is going to available)

check this blog, This may be useful

http://blogs.thinktecture.com/cweyer/archive/2006/11/21/414758.aspx

MadhuPonduru-MSFT at 2007-10-3 > top of Msdn Tech,Visual Studio Orcas,Windows Communication Foundation (Indigo)...
# 4
Does this mean that the web service piece Microsoft's latest and greatest interoperability standard (WCF) does not meet compliance with WS-I standards?

Say it ain't so!

omatase at 2007-10-3 > top of Msdn Tech,Visual Studio Orcas,Windows Communication Foundation (Indigo)...
# 6
That's good to know, but why doesn't WebService Studio work with it anymore? Was it not written to interpret WSDLs based on standards then? Incidentally SOAP UI worked out of the box with .NET 2.0 Web Services but have the same problem as WebService Studio for WCF Web Services.
omatase at 2007-10-3 > top of Msdn Tech,Visual Studio Orcas,Windows Communication Foundation (Indigo)...
# 7
Nevermind, next time I'll read your response before sending my own. I used basicHttpBinding and that fixes the problem.
omatase at 2007-10-3 > top of Msdn Tech,Visual Studio Orcas,Windows Communication Foundation (Indigo)...

Visual Studio Orcas

Site Classified