Indigo client now working
Posted by arungupta on May 3, 2005 at 2:36 PM EDT
Phew, finally I could get an Indigo client to invoke an Indigo Web service. Here is the client code that worked:
using System;
class HelloClient {
public static void Main() {
HelloServiceProxy myProxy = new HelloServiceProxy(
new System.ServiceModel.EndpointAddress("http://localhost/hello/HelloService.svc"),
new System.ServiceModel.WSProfileBinding());
String echoout = myProxy.Hello("Duke!");
Console.WriteLine(echoout);
}
}
Note, I had to create a proxy by explicitly specifying an EndpointAddress and Binding. Thanks to Gerald for the tip.
I should be able to play around with other samples now :)
Here are some useful postings from Indigo newsgroup:
- SOAP Message Tracing
- Getting Started sample debugging tips
- Manipulating SOAP Headers
- Correct Visual Studio Version
Related Topics >>
Blog Links >>
- Login or register to post comments
- Printer-friendly version
- arungupta's blog
- 445 reads





