Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with web service
Message
 
À
08/03/2012 04:46:21
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Divers
Thread ID:
01537540
Message ID:
01537594
Vues:
43
This message has been marked as a message which has helped to the initial question of the thread.
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,
Frank Camp
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform