Hi All,
I'm trying to upload a file or byte array to a standard .net webservice - not a WCF one. It's an existing web service with loads of functionality that would break if I change to WCF.
I've been looking at examples of how to use the HttpUtils2 lib to PostFile or PostBytes. I can get all of that done but on the web service side of things I can't find out how to receive the file. Looking at it PostFile seems to use PostBytes behind the scenes so I'm really just focusing on that front.
I'm used to doing a web service with the PostString method like this:
Public Function Upload(ByVal input as String, ByVal input2 as string)
How do you do it with the PostBytes method?
I've been searching and searching and before my hair falls out I thought I may as well take the last resort and post the question.
Thanks for any help.
Jon
I'm trying to upload a file or byte array to a standard .net webservice - not a WCF one. It's an existing web service with loads of functionality that would break if I change to WCF.
I've been looking at examples of how to use the HttpUtils2 lib to PostFile or PostBytes. I can get all of that done but on the web service side of things I can't find out how to receive the file. Looking at it PostFile seems to use PostBytes behind the scenes so I'm really just focusing on that front.
I'm used to doing a web service with the PostString method like this:
Public Function Upload(ByVal input as String, ByVal input2 as string)
How do you do it with the PostBytes method?
I've been searching and searching and before my hair falls out I thought I may as well take the last resort and post the question.
Thanks for any help.
Jon