|
-
Aug 21st, 2005, 10:38 AM
#1
Thread Starter
PowerPoster
Webservice problem!
Hi there.
Interesting thing I just found.
I made a webservice which updates my app on request. This is the way it works, simple pseudo:
[webservice]
Recieves incoming versioning
compares with server files
if server file versioning > incoming versioning
send the file name
end if
[client]
if filename != null
create the file
request file size from webservice
[webservice]
recieves incoming request for update file size
sends update file size in byte[]
[client]
creates byte[] of size of file in byte[] sent by server
thats just a quick psuedo of what is happening
My app consists of 2 apps: Server (runs on Windows) and client (runs on mobile device)
I have a webserver (hosting) and of course my local computer
The Server can see an update and download it successfully from either my local box or the webserver.
The client sees the update ON my LOCAL BOX and downloads it fine (GPRS).
However, when the client tries to download the file from the WEBSERVER, it bums out and just gives me a System.Net.WebException and a "protocolError" - that is it! no other innererrors or anything.
What can be the problem? the local box works fine but when downloading the webserver update, it doesnt like it on the client. And yes the WSDL/ASMX web references have been changed accordingly for the localbox testing and webserver testing.
any ideas?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|