Page 1 of 1

methode parameters is null at WCF server side

Posted: Wed Jul 06, 2016 7:58 am
by Sesztak
Dear Support Team,
I have a very strange bug (using 8.3 beta):
I have a very simple methode signature, like red marked :

[ServiceContract]
[XmlSerializerFormat]
public interface IServiceKassza
{
[OperationContract]
string GetData(int value);


[OperationContract]
ServerTest GetTestServerData (int value);


//[OperationContract]
//SajátBool Generate_settingsxml_Sample();

[OperationContract]
string GenerateSettingsXmlSample();


[OperationContract]
string SikeresEALoginKiserlet(string LoginNév, string LoginJelszó, Guid FelhasználóEgyediAzonosítója, Guid FelhasználóKasszájánakEgyediAzonosítója);
}

When I call this very simple function "SikeresEALoginKiserlet" from CSHTML5 client side
var response = _kliens.SikeresEALoginKiserlet("John", "Smith", Guid.NewGuid(), Guid.NewGuid());

, I allways got null or default values at IIS Server side:
(debug/attached to right IIS process)
LoginNév = null
LoginJelszó = null
FelhasználóEgyediAzonosítója = {00000000-0000-0000-0000-000000000000}
FelhasználóKasszájánakEgyediAzonosítója = {00000000-0000-0000-0000-000000000000}

The problem is only at browser, and no problem with simulator.

Any idea?
Thanks in advance,
Best Regards,
Péter

Re: methode parameters is null at WCF server side

Posted: Wed Jul 06, 2016 9:21 am
by Sesztak
I've found a problem or a workaround to this:

Do NOT USE non-english characters in methode signatures (characters with accents: öüóőúéáűíÖÜÓŐÚÉÁŰÍ), like :
string LoginNév

USE:
string LoginNev

Any deeper explanation from Support Team ?
Is it a normal restriction or a bug ?

Bg,
Péter

Re: methode parameters is null at WCF server side

Posted: Sun Jul 24, 2016 11:58 am
by JS-Support @Userware
For reference, this issue is now being discussed on this topic:

http://forums.cshtml5.com/viewtopic.php?f=5&t=5504