Can phper give me some code snippet to consume the .net wcf service
- by Vincent
Hi, 
I can successfully make a call to wcf from php without WCF message security enabled. I search the whole forum and cannot find any clue. I'd like to know how can I pass the credential ?
My WCF service use the basichttpbinding on SSL with  Message security enabled. 
Here is my code snippet to call my wcf from .NET 
 ServiceReference1.TestClient sc = new TestClient();
        sc.ClientCredentials.UserName.UserName = "[email protected]";
        sc.ClientCredentials.UserName.Password = "ABC123";
        Console.WriteLine(sc.GetProfiledSchemas(412));