[fpc-pascal] (no subject)

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


Στις 3/6/2014 1:20 μμ, ο/η Reinier Olislagers έγραψε:
> On 03/06/2014 12:17, Dimitrios Chr. Ioannidis wrote:
>>    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.
> No idea, but Isn't there a specific wst mailing list/group mentioned on
> the WST wiki page? Maybe it's a better idea to post there.

i already done that. I posted here also because i wanted to share it 
with users who doesn't keep track that list while using the wst framework.

> BTW: if the content is indeed UTF8, IIRC, it's not a bug to explicitly
> specify charset=UTF-8; a similar fix was needed for exporting XML files
> to Microsoft .Net dataset XML format IIRC.

AFAIU, in the SOAP HTTP Binding the character encoding in the 
Content-Type header is optional.


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/b1abbc54/attachment.bin>

More information about the fpc-pascal mailing list