The SOAP request: POST /axis/PatientImage.jws HTTP/1.1 Host: localhost Content-Type: Multipart/Related; boundary=MIME_boundary; type=text/xml; start="" Content-Length: nnn SOAPAction: "" --MIME_boundary Content-Type: text/xml; charset=UTF-8 Content-Transfer-Encoding:8bit Content-ID: 12345 --MIME_boundary Content-Type: image/jpeg Content-Transfer-Encoding: binary Content-ID: ..Raw JPEG image.. --MIME_boundary--