0
我想通過soap web服務發送圖像數據。我的肥皂信息如下所述。如何使用SOAP Web服務發送圖像數據和其他參數
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<TestFile xmlns="http://tempuri.org/">
<userID>int</userID>
<FileTitle>string</FileTitle>
<FileName>string</FileName>
<BufferFile>base64Binary</BufferFile>
<languageID>int</languageID>
</TestFile>
</soap:Body>
</soap:Envelope>
我想用base64編碼在bufferFile上添加圖片。
給我任何可以同時發送maltipart數據或參數的建議或示例代碼。
謝謝。