10 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for maurices5000

I bought a book to help me learning WCF. Lots of people complained that the book was written for VS 2005 at first then there was a reprinting for VS 2008. What it seems is that the code for VS 2005 would not work in VS 2008. I'm wondering why? …

Member Avatar for maurices5000
0
261
Member Avatar for Dendei

Hey im just wondering if or how i can split up my services **IService** namespace Phpwcfconsole { // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IService1" in both code and config file together. [ServiceContract] public interface IService { [OperationContract] string KundNyKund(Variables.Kunder …

Member Avatar for Dendei
0
194
Member Avatar for Dendei

hello! i have a function in my C# code that returns a string array. and when i test my function in WCF Test Client i get Name Value Type (return) length=4 System.String[] [0] "DE" System.String [1] "DK" System.String [2] "NO" System.String [3] "SE" System.String **code if i do var_dump on …

Member Avatar for Dendei
0
598
Member Avatar for Dendei

Hello, so im trying to send an metod that takes a class as input parameter with a bunch of variables. I want to write in some textboxes in my php side of the program send them with my class and into a database. but the database part is no problem …

Member Avatar for Dendei
1
960
Member Avatar for cool_zephyr

Hello everyone..I'm trying to access the methods of a WCF service from a pocket pc emulator..I added a Web Reference to the service and tried to access the method like this [code] WebReferenceService1.Service1 client = new WebReferenceService1.Service1(); MessageBox.Show(client.GetData(10,true)); [/code] ..but everytime i call the method..i get System.Net.WebException error saying "Unable …

Member Avatar for cool_zephyr
0
163
Member Avatar for cool_zephyr

hey there, I'm writing a program where I have to store and retrive student information(e.g. name,address,photo..) in the database. I've written the code to interact with the database in a WCF service..The problem is I'm able to get the image from the database if I directly write the code to …

Member Avatar for cool_zephyr
0
311
Member Avatar for micmo

Hi Guys, I'm currently developing a project using WCF (hosted on local IIS) which connects to a local SQL database using LINQ to get data. My problem is that when I run the code, 9/10 times it'll fail with the "Specified Cast Is Not Valid" error, but the other 1/10 …

Member Avatar for micmo
0
1K
Member Avatar for noamo48

Hi all, I'm new on this site and was hoping some of you more experienced coders could give me some advice. I'm a long time IT guy, always loved programming but never got too deep into it. I know the basics of programming in .Net and C# but I would …

Member Avatar for kvprajapati
0
157
Member Avatar for Ketsuekiame

Hello, here's the setup for the project. I have a WCF Service that is hosted on a net.tcp binding in buffered mode and ReliableSession enabled. The binding is configured to use TransportWithMessageCredential security. The certificate is a self signed certificate that I am identifying using the Thumbprint. The UserNameValidator is …

Member Avatar for Ketsuekiame
0
163
Member Avatar for k1robert

I am trying to consume a web service using VS2008. The code below works in VS2005 but not VS2008 I, suspecting it's to do with WCF. Please can someone help me to solve the puzzle? 'Old code that works [CODE] Dim o As New MyWebService.Name Dim pr As New System.Net.WebProxy("100.0.1.1", …

Member Avatar for k1robert
0
911

The End.