Hello, I'm a newbie and I'm trying to send a picture and other parameters to a WebService asmx, but I can't find an example here. From what I understand, I have to use the SOAP 1.2 format, I've used with a single String parameter with HttpJob, but I don't know how to do it, with several parameters and one of them image (base64Binary)
Here the WebService SOAP 1.2:
Thank you in advance.
Here the WebService SOAP 1.2:
B4X:
POST /CYSDataWeb.asmx HTTP/1.1
Host: localhost
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<UploadPicture xmlns="http://www.cys.com.gt/">
<Picture>base64Binary</Picture>
<Customer>int</Customer>
<GPSLat>double</GPSLat>
<GPSLon>double</GPSLon>
</UploadPicture>
</soap12:Body>
</soap12:Envelope>
Thank you in advance.