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. 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. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal