Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with web service
Message
De
08/03/2012 09:57:45
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Divers
Thread ID:
01537540
Message ID:
01537614
Vues:
31
Hi Frank,

İ is not a unicode char, it's an ascii char. "I" and "İ" are different chars for turkish. I don't know why but "I" and "İ" characters are usually a trouble for a turkish developer. We have more special characters (Ö,Ü,Ş,Ç...) but don't have problem with these characters...

>Hi Metin
>
>Could it be that the 'İ' in 'METİN' is causing the problem?
>
>I did check it with SoapUI from http://www.soapui.org/ and it indeed returns true. But when I change it to 'METIN' it returns false.
>So maybe those non-ascii characters are encoded the wrong way when send to the webservice.
>
>Regards,
>Frank
>
>>>>I have a problem with a web service. It returns .f. all time.
>>>>this is my code:
>>>>
>>>>publ o
>>>>o = CREATEOBJECT("MSSOAP.SoapClient")
>>>>o.MSSoapInit("https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx?WSDL")
>>>>XX=o.TCKimlikNoDogrula("12713611350","METİN","EMRE",1971)
>>>>?XX
>>>>
>>>>this is government's information page:
>>>>https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx?op=TCKimlikNoDogrula
>>>>
>>>>this is a sample made with PHP:
>>>>http://www.goktugozturk.com.tr/programlama/php-ve-soap-ile-tc-kimlik-numarasi-dogrulama/
>>>>
>>>>What's wrong with mine?
>>>
>>>I checked the signature and the result is suppose to be a Boolean. So, that part works. As to know why it returns True or False would depend on the parameters. Are you sure those parameters are suppose to return True?
>>
>>If you have to send correct citizenship number +name + borndate it should be return .t. otherwise should be return .f. All parameters are correct... :(
>>
>>Anyway thanks,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform