Frustrated with httputils2

realblue

Member
Licensed User
Longtime User
Hi everybody :sign0085:;

As it says in the title I couldn't get httputils2 working for my web service.

My webservice has several methods and each method has different types of parameters. Service address is https://www.olympiakent.biz/veritabaniws/veritabaniws.asmx

One of the method's definition is like this :

B4X:
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <Initialize xmlns="http://novafortis.com/">
      <dbtype>int</dbtype>
      <myDataSource>string</myDataSource>
      <myUserName>string</myUserName>
      <myPassWord>string</myPassWord>
      <myCatalog>string</myCatalog>
      <myprovider>string</myprovider>
    </Initialize>
  </soap12:Body>
</soap12:Envelope>

I almost read all the httputils2 examples but couldn't figure out how to call my servide and get the result. :confused:

Please answer me with a very simple coding as

B4X:
 'initialize
 'set the parameters
 'call the service
 'get/check the result

Thanks in advance.
 

realblue

Member
Licensed User
Longtime User
Thanks Erel,

I tried one of the methods in my web service and it seems to work. I'll try others also if anything goes wrong I'll share it in this thread.

However, all the web service calling and getting answer operations are in a code module. How can I initialize a job that will call JobDone sub in a code module.
 
Upvote 0
Top