Archived Forum Post

Index of archived forum posts

Question:

Webservice with return param

Oct 23 '14 at 11:22

Hallo,

can you please tell me, how can i execute a webservice request which returns data. TheWebservice:

byte downloadData(name, dir);

The webservice can be called by http.post.

I tryed this: response = http.SynchronousRequest(domain,port,ssl,request);

by i get: System.InvalidOperationException: There was an error generating the XML document. ---> System.InvalidOperationException: System.Net.ConnectStream cannot be serialized because it does not have a parameterless constructor.

I use Visual Studio 2008 with the newest chilkat library in mfc.

Do i miss a property? have i to set something?

Thanks a lot.