PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV Mobile 2024
→
Import a SOAP webservice in a WM project
Import a SOAP webservice in a WM project
Started by HIS 21, Jul., 06 2016 11:09 AM - 4 replies
Connect yourself…
HIS 21
#1
Posted on July, 06 2016 - 11:09 AM
Good morning everybody,
I have a big problem when I import a web service in my WM project (every time, not for a specific web service only):
When I use the web service inside the simulator everything works fine, but if I use it on a real device (in debug mode) the application crashes (when I press on the icon android tells me something like "the application was terminated").
I had tried with a web service made with WebDev and with a web service made by third people but the behavior was the same each time: the application crashes before start.
May be I'm doing something wrong.
Have somebody the same problem? Any suggestion?
Best regards.
Report
0
0
Fabrice Harari
#2
Posted on July, 06 2016 - 1:09 PM
Hi
one of the recurring problem with webservices is tha ANSI vs UNICODE...
There is a good chance that your webservice is in ANSI, your emulator in
ansi, but under android, you are working in UNICODE by default (ie all
strings functions expect unicode, all string variables are unicode, and
so on)
So, either specify that every is ansi (myString is ANSI stirng), or make
the appropriate conversions
Best regards
--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting
More information on
http://www.fabriceharari.com
Report
0
0
BOLLER ADRIANO
#3
Registered member
3,661 messages
Popularité : +175 (223 votes)
Posted on July, 06 2016 - 1:24 PM
Hi His21
View link:
http://www.wxinformatica.com.br/p/indice.html
--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 9949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/
Report
0
0
HIS 21
#4
Posted on July, 06 2016 - 2:07 PM
Thanks for your response,
I've found the problem:
In my application I had imported the Ksoap java library (as external JAR file) because, in older versions of WM, there wasn't the native support for SOAP web services. May be WM uses this library too and, because of this, the application won't to work. Sometime WM also gave me problems when I tried to compile this application.
After removing the JAR the application works fine again.
Report
0
0
BOLLER ADRIANO
#5
Registered member
3,661 messages
Popularité : +175 (223 votes)
Posted on July, 06 2016 - 3:16 PM
View Link:
http://forum.pcsoft.fr/fr-FR/pcsoft.us.windevmobile/405-android-soap-and-windev-mobile/read.awp
http://forum.pcsoft.fr/fr-FR/pcsoft.fr.windevmobile/17809-appels-soap-avec-windev-mobile-android/read.awp
http://forum.pcsoft.fr/fr-FR/pcsoft.us.windevmobile/902-windev-mobile-webservice-revisando-codigo-soap/read.awp
http://forum.pcsoft.fr/fr-FR/pcsoft.us.windevmobile/903-windev-mobile-criando-webservice-usando-soap-medodo-post/read.awp
http://forum.pcsoft.fr/fr-FR/pcsoft.us.windevmobile/904-webservice-com-soapui-instalacao-exemplo-uso/read.awp
http://forum.pcsoft.fr/fr-FR/pcsoft.br.windev/121-httprequest-envelope-soap/read.awp
:thank you:
--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 9949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/
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