I've been tasked with the project of upgrading some interfaces that use the AX WebServices to upload documents to our document repository but am running into an issue with the UploadImageStream operation.
When I attempt the POST, I am encountering a 400 Bad Request message.
I suspect the cause to the issue is the value that I am passing for <xmlAxStreamData>.
Has anyone used this operation and do you have an example of the post that is being passed?
Here's the example POST that has been provided.
POST /AppXtenderServices/AxServicesInterface.asmx HTTP/1.1
Host: scaax23u.lereta.net
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>
<UploadImageStream xmlns="http://documentum.com/AX/WebServices">
<sessionTicket>string</sessionTicket>
<dataSource>string</dataSource>
<xmlAxStreamData>string</xmlAxStreamData>
</UploadImageStream>
</soap12:Body>
</soap12:Envelope>