Hi,

Στις 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.

Regards,

--
Dimitrios Chr. Ioannidis

Attachment: smime.p7s
Description: Κρυπτογραφημένη υπογραφή S/MIME

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to