Einzelnen Beitrag anzeigen

aals

Registriert seit: 5. Jun 2014
9 Beiträge
 
#1

Tbytedybarray return von einer Funktion

  Alt 4. Jul 2014, 15:31
Ich habe einen Webservices.
Es gibt eine Funktion gefile.
function getFile(const user: string; const pass: string; const appId: Int64; const retId: Int64; const personId: string; const fileId: string
): TByteDynArray; stdcall;
Bei dieser Funktion parst Delphi das Resultset mit dem XML - Parser. Das ist aber nur ein Binary File.
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><env:Header xmlns:env="http://www.w3.org/2003/05/soap-envelope"/><soap:Body><ns2:getFileResponse xmlns:ns2="http://services.aals.dev/"><return><xop:Include xmlnsop="http://www.w3.org/2004/08/xop/include" href="cid:73218242-2924-4c2c-bd2f-21538f6a8a34-25@cxf.apache.org"/></return></ns2:getFileResponse></soap:Body></soap:Envelope>
--uuid:61810b24-98c5-4479-a012-e33b8ec6c069
Content-Type: application/binary
Content-Transfer-Encoding: binary
Content-ID: <73218242-2924-4c2c-bd2f-21538f6a8a34-25@cxf.apache.org>
Das Problem wird nirgend beschrieben. Ich glaube das das ein Delphi-Fehler ist.
die execption ist:
raise EXMLDocError.CreateFmt(Msg, Args);
Ich brauche dringend ein Workaround.

Wer kann mir da helfen? In keinem Forum ist das Problem Beschrieben.

Geändert von aals ( 4. Jul 2014 um 15:56 Uhr)
  Mit Zitat antworten Zitat