Last week I had to write a small piece of code to send to a webservice a number from a text input. All was fine for the normal test values (0,1,100). The problem appeared when I tried to send the number -9223372036854775808. Instead of receiving this number I got -9223372036854776000. So I started to do [...]
Yesterday I had to do a small flex application that resided on a server with php. Since I required a connection to mysql I wanted to use the same class I did before to connect to web-services. But PHP does not support web-services (and WSDL) by default.
So after I did some search on the net [...]
Flex3 offers a nice way of using web-services. Flex2 does not have the feature to the generate wsdl classes, but there is a way to write one general function that allows you to connect to any webservice and pass any number of parameters to it. Here is the quick and dirty code :
private var [...]