What we had done at the outset, was to make a connection HTTP that took us to a page in php, that was the one in charge to connect themselves with bbdd and to make the discharge, but this way lost the control with the application.
On making webservice, the truth is that we have developed never one either, thus is that we do not know like continuing

.
Thanks.