I am designing a multi-file upload service that also shows upload
progress for each file.
If I was to design my WCF method as a SOAP contract, I would do
something like this:
var request = IService.UploadMethod(List<Upload> request);
But, how do I pass the parameter “”request”” of type “List<Upload>”
when I am calling the method from the client (../upload.svc/
uploadpictures/””request””)?
Help appreciated, thanks.
You’re using SOAP as you say yourself – which means, you cannot just invoke your service methods from the URL (REST-style), as the second part of your posting would imply (../upload.svc/ uploadpictures/”request”).
What you need to do in SOAP is this (assuming you’ve created your client side proxy using Visual Studio or
svcutil):Marc