creating a webservice that accepts a file (Stream) doesnt want other params

前端 未结 6 1442
梦毁少年i
梦毁少年i 2021-01-13 22:50

I have a File i want to upload to a Webservice, but it needs additional params, so I create some hidden fields with the associated name:value pairs to get pushed to the serv

6条回答
  •  一整个雨季
    2021-01-13 23:07

    It's an issue\bug with WCF, which don't accept any other parameters when using Stream input.

    We also had similar issue with WCF and after all research we decided to convert other input parameters also into stream and attach it to the input with some delimter

提交回复
热议问题