PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV Mobile 2024
→
[WM20] Call to Webservice works in Android v5 and v6 but not in v3 or v4
[WM20] Call to Webservice works in Android v5 and v6 but not in v3 or v4
Started by Neil Porter, Mar., 03 2017 10:09 PM - No answer
Connect yourself…
Neil Porter
#1
Posted on March, 03 2017 - 10:09 PM
sWebServiceRequest is LoginLogout
sWebServiceResponse is LoginLogout_response
sWebServiceRequest.username = EDT_User_ID
sWebServiceRequest.password = EDT_Password
sWebServiceRequest.serialno = sSerialNumber
sWebServiceResponse = LoginLogout(sWebServiceRequest)
This code used to work fine in Android v3.2 and later when
LoginLogout_response was a single string containing an xml structure. I
then had to parse the xml myself to read the data into my variables.
The webservice has been updated to provide me with multiple fields that
I can reference directly in my code rather than having to parse the xml
myself.
The code works fine in the simulator, and with devices running Android
v5 and above, but gives me an error when I call LoginLogout with
earlier versions of Android.
Do I have to set some additional properties to call a webservice with
earlier versions of Android?
Regards,
Neil.
Report
0
0
→ Go back to WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text