KOSTAS KOUSINOVALIS Member Licensed User Aug 28, 2018 #1 Hello I am query a SOAP service and i think some variables are not posting. The query is the following job1.Initialize("Job1", Me) job1.PostString("http://www.lexiconsoftware.gr/vies/webservice.asmx/findafm?afm=045019634&key=mykey", str) the response is that the "Afm" parameter is missing which i think is not going or some characters are not going. If you run the string http://www.lexiconsoftware.gr/vies/webservice.asmx/findafm?afm=045019634&key=mykey in a browser you will get that the key is invalid which is the correct answer. What do i have wrong? Is it the correct way to call SOAP web services? Thank you
Hello I am query a SOAP service and i think some variables are not posting. The query is the following job1.Initialize("Job1", Me) job1.PostString("http://www.lexiconsoftware.gr/vies/webservice.asmx/findafm?afm=045019634&key=mykey", str) the response is that the "Afm" parameter is missing which i think is not going or some characters are not going. If you run the string http://www.lexiconsoftware.gr/vies/webservice.asmx/findafm?afm=045019634&key=mykey in a browser you will get that the key is invalid which is the correct answer. What do i have wrong? Is it the correct way to call SOAP web services? Thank you
Erel B4X founder Staff member Licensed User Longtime User Aug 28, 2018 #2 Example of sending a SOAP request: https://www.b4x.com/android/forum/threads/soap-textbox-info.19961/#post-155159 Upvote 0
Example of sending a SOAP request: https://www.b4x.com/android/forum/threads/soap-textbox-info.19961/#post-155159
KOSTAS KOUSINOVALIS Member Licensed User Aug 28, 2018 #3 I dont think this is a convenient way What if the webservice has a lot of methods? I found solution using the download2 and its working now job1.Initialize("Job1", Me) job1.Download2("http://www.lexiconsoftware.gr/vies/webservice.asmx/findafm" , Array As String("afm","045019634","key","lex")) Upvote 0
I dont think this is a convenient way What if the webservice has a lot of methods? I found solution using the download2 and its working now job1.Initialize("Job1", Me) job1.Download2("http://www.lexiconsoftware.gr/vies/webservice.asmx/findafm" , Array As String("afm","045019634","key","lex"))