[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CCSID problem?????



   Hi Scott!
   I use HTTP API to communicate with a WS.


   The API works very well but I have a problem with some special
   characters (à ò è ù).


   I sended  this XML request

   <tem:CorporateName2>adesso ç è à ù ì ò</tem:CorporateName2>


   but the WebService has receive this

   <tem:CorporateName2>adesso ? ? ? ? ? ?</tem:CorporateName2>



   Note the ? ? ? ? instead of ç è à ù


   Is this a CCSID problem??

   How can I send an XML without any type of char conversion?


   I attached a log of my XML request


   Best regard



   -------Stefano Busolo-------

   Servizio Produzione Software plain ERP Commercio - Industria

   mailto: [1]bu@xxxxxxxxxxxx

   ______________________________________________________________________
   _________

   Gruppo ASI - Via della Croce Rossa, 42 - 35129 Padova

   [2]http://www.plain.it - [3]mailto:info@xxxxxxxxxxxx  Tel. +39 049
   8070030 - Fax +39 049 8078433


   [4]IBM_BP_w 

   [5]MS_GCP_w 


   Questa e-mail è da considerare strettamente riservata ai destinatari
   specificati. Se il messaggio

   è stato ricevuto per errore, si prega avvisare il mittente e poi di
   cancellare il messaggio.

   ______________________________________________________________________
   _________

   E-mail sottoposta a scansione antivirus con Scanmail TrendMicro (
   [6]http://www.antivirus.com ).

References

   1. mailto:bu@xxxxxxxxxxxx
   2. http://www.plain.it/
   3. mailto:info@xxxxxxxxxxxx
   4. http://www.plain.it/portalev2/a00_Base/default.aspx?sCD_Pagina=30374
   5. http://www.plain.it/portalev2/a00_Base/default.aspx?sCD_Pagina=30374
   6. http://www.antivirus.com/

JPEG image

JPEG image

HTTPAPI Ver 1.23 released 2008-04-24
OS/400 Ver V6R1M0

New iconv() objects set, PostRem=819. PostLoc=0. ProtRem=819. ProtLoc=0
http_persist_open(): entered
http_long_ParseURL(): entered
DNS resolver retrans: 2
DNS resolver retry  : 2
DNS resolver options: x'00000136'
DNS default domain: DOMAIN
DNS server found: 192.168.0.7
DNS server found: 192.168.0.220
http_persist_post(): entered
http_long_ParseURL(): entered
do_post(): entered
POST /portaleV4/WebServices/plainWS.Accounts/Importer.asmx HTTP/1.1
Host: mq
User-Agent: http-api/1.23
Content-Type: text/xml
Expect: 100-continue
Content-Length: 32767


recvresp(): entered
HTTP/1.1 100 Continue
Server: Microsoft-IIS/5.1
Date: Fri, 01 Apr 2011 07:34:39 GMT
X-Powered-By: ASP.NET


SetError() #13: HTTP/1.1 100 Continue
senddoc(): entered
<?xml version="1.0" encoding="ISO-8859-15"?><soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"; xmlns:tem="http://tempuri.org/";><soap:Body><tem:SaveAccount xmlns:tem="http://tempuri.org/";><tem:account><tem:AccountType>C</tem:AccountType><tem:Company></tem:Company><tem:AccountID>002278</tem:AccountID><tem:Cancelled>false</tem:Cancelled><tem:CancelledBy></tem:CancelledBy><tem:CancelledDate xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><tem:SuspendedDate xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><tem:CorporateName>Herbert Achermann AG</tem:CorporateName><tem:Address><tem:Street>Poststrasse, 25</tem:Street><tem:City>Wohlen</tem:City><tem:ZipCode>5610</tem:ZipCode><tem:ProvinceCode></tem:ProvinceCode><tem:CountryCode>CH</tem:CountryCode></tem:Address><tem:FiscalCode>00988740395</tem:FiscalCode><tem:VATNumber>00988740395</tem:VATNumber><tem:PhoneNumber></tem:PhoneNumber><tem:Fax></tem:Fax><tem:EmailAddress></tem:EmailAddress><tem:Language></tem:Language><tem:LastModified>2011-04-01T08:59:15.062000</tem:LastModified><tem:CorporateName2>adesso ç è à ù ì ò</tem:CorporateName2><tem:PhoneNumber2></tem:PhoneNumber2><tem:PhoneNumber3></tem:PhoneNumber3><tem:Fax2></tem:Fax2><tem:EmailAddress2></tem:EmailAddress2><tem:EmailAddressHR></tem:EmailAddressHR><tem:EmailAddressBuyer></tem:EmailAddressBuyer><tem:EmailAddressSales></tem:EmailAddressSales><tem:URL1></tem:URL1><tem:URL2></tem:URL2><tem:Currency></tem:Currency><tem:VATType></tem:VATType><tem:PaymentType>016</tem:PaymentType><tem:TradeDiscount></tem:TradeDiscount><tem:PriceRise></tem:PriceRise><tem:VATItem></tem:VATItem><tem:CIN></tem:CIN><tem:ABI>0</tem:ABI><tem:CAB>0</tem:CAB><tem:IBAN></tem:IBAN><tem:BankAccount></tem:BankAccount><tem:ISO>CH</tem:ISO><tem:INCOTerms></tem:INCOTerms><tem:DeliveryTerms></tem:DeliveryTerms><tem:PriceList>1</tem:PriceList><tem:CarriageType>03</tem:CarriageType><tem:Carrier>001</tem:Carrier><tem:AcceptsEMail>false</tem:AcceptsEMail><tem:AcceptsFax>false</tem:AcceptsFax><tem:AcceptsMail xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><tem:AcceptsSMS xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><tem:PrivacyTerms></tem:PrivacyTerms><tem:PortalService></tem:PortalService><tem:CATService></tem:CATService><tem:PortalServiceDate></tem:PortalServiceDate><tem:CATServiceDate></tem:CATServiceDate><tem:LegacyCode></tem:LegacyCode></tem:account></tem:SaveAccount></soap:Body></soap:Envelope>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
recvresp(): entered
SetError() #43: CommTCP_read: time-out!
http_close(): entered
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------