[fpc-pascal] WST SOAP HTTP CONTENT TYPE

Dimitrios Chr. Ioannidis d.ioannidis at nephelae.eu
Tue Jun 3 12:17:17 CEST 2014


Hi,

   FYI, in a wst soap client talking to a .net web service i find out, 
that for SOAP calls, if the CONTENT-TYPE http header ( i'm using 
fpc-http-protocol ) doesn't have the 'text/xml' plus the 'charset=UTF-8' 
like this 'text/xml; charset=UTF-8', the server chocks. So, i changed 
the const sSOAP_CONTENT_TYPE in base_soap_formatter.pas to 
sSOAP_CONTENT_TYPE = 'text/xml; charset=UTF-8', and all is working fine.

I don't know if this is a bug or not.

-- 
Dimitrios Chr. Ioannidis

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4261 bytes
Desc: Κρυπτογραφημένη υπογραφή S/MIME
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20140603/6dac921b/attachment.bin>


More information about the fpc-pascal mailing list