Soap request from php cleint to the Android Server..? - php

I have tried to set up a Soap connection between a Php client and making the Android app as a server. I tried it by getting the Android device Ip address and setting a request in php client..? I was not successful in doing so. Need some help with this.?

Related

TCP/IP protocall, Android, PHP sending to and reciving from server

I want to send a message to a PHP script on a server from one android device using HttpURLConnection and have the PHP script send the message to a second phone using file.getContents().
When a phone connects with the server is it possible to leave the phone waiting for a response by not echoing a response?
Can I then later use the same connection to respond to the device by executing file.getContents() and passing in the IP address of the device that had initially connected?
Thanks!

SOAP web service is not working only for IOS device, it is working in soap ui and Android devices

We changed PHP version to 5.4.45 from 5.4.25 and installed MS SQL Driver on Server. Before server change, everything was working but after server change, I am facing web service issue. Our authentication Soap web service(written in Zend framework1) is not working only for IOS Devices. It is working for Android and from soap UI even we tried multiple times from Android and SOAP UI. It works every time.
if we uninstall the app in IOS device and reinstall then for the first time authentication web service works fine but if we call this service again then we are getting HTML data inside the response body which is not the actual response.
Same input request we are sending from ios and Android device.
Please suggest...
I figured it out. The issue was because of "debug mode". It was set to "true" in development environment. Now I set it to "false" and found web service is working for Android, IOS and from soap UI.

ios push notification web server on 2mhost.com

I am trying to use push notification on my app, I followed the tutorial.When I try the command php pushMe.php (this is my php file to send notification) on terminator, it works. My iphone got the message.But when I move my file to web server (2mhost.com) it does not work.
Can somebody tell me Why.
By the way,the socket and openssl are enabled on the server.

IP address needed to pass to run app on android device

I am developing an app in android in which i am making use of json parsing to get data from php file and also sending data to php file from android. This time I am running my app on emulator so I am passing ip address of emulator i.e. 10.0.2.2. Now I want to run that app on android device,so what ip address is needed to passed instead of emulator's address?

Make the Android app as a Server..?

How to make the android app as Server. I installed web server in the Android device and tried to call the service from the php which is the client. Its telling that it is unable to listen to the socket. I Implemented SOAP to send the request from the Php client to the Android server. Any suggestion.>?
Or is there any other method.? other than TCP socket listening.
please read below link fetch data from server to andriod mobile
http://codeoncloud.blogspot.in/2013/07/android-mysql-php-json-tutorial.html

Categories