I imported WS Reference:
and called it PocztaPolskaTest.
I can connect to it but I have problem with getGuid operation. I don't understand why this operation does not work with parameter value = 1 (as below). I receive an error: "incorrect type of parameter". Why? Operation getGuid has parameter "ilosc" of int type and value 1 is int type, isn't it?
What is wrong and how should I write it? I tried many combinations but none of them works
ssl = New OpenSSLSecureConnection(); PocztaPolskaWS = WSReferences.PocztaPolskaTest.CreateWSProxy("http://e-nadawca.poczta-polska.pl","ElektronicznyNadawca","ENSoap",,,ssl,,); PocztaPolskaWS.User = "user"; PocztaPolskaWS.Password = "pass"; guidstring = PocztaPolskaWS.getGuid(1);