Hi,
I have written a VB.Net application, for deployment to SmartDevices. The application uses .Net Compact Framework v3.5. The application is working, but when it calls a remote web service, the response is quite slow because the data coming back is quite large. The web service supports compression but so far I have been unable to get this working. I have found various C# examples, but although I have been able to convert these to VB.Net, I have been unable to get them working. I'm not sure whether the issue is the way I have converted them to VB, or whether the issue is the fact that I'm using the Compact Framework
The web service is added as to the project as a Web Reference, and then declared using code similar to DIM testVar as new WebReference.EndPoint. From this, I can make calls to the web service using code similar to testVar.username="" and testVar.Logon
I think that in order to get the compression working, I need to be able to add something into the HTTP Header, but I'm totally stuck. Can anybody give me some advice.
Thanks
I have written a VB.Net application, for deployment to SmartDevices. The application uses .Net Compact Framework v3.5. The application is working, but when it calls a remote web service, the response is quite slow because the data coming back is quite large. The web service supports compression but so far I have been unable to get this working. I have found various C# examples, but although I have been able to convert these to VB.Net, I have been unable to get them working. I'm not sure whether the issue is the way I have converted them to VB, or whether the issue is the fact that I'm using the Compact Framework
The web service is added as to the project as a Web Reference, and then declared using code similar to DIM testVar as new WebReference.EndPoint. From this, I can make calls to the web service using code similar to testVar.username="" and testVar.Logon
I think that in order to get the compression working, I need to be able to add something into the HTTP Header, but I'm totally stuck. Can anybody give me some advice.
Thanks