SOAP calls are nothing else than simple HTTP requests using the POST method and XML payloads. You can have a look at the following example [1]. You'll need to adjust the target URI and the body (the user/password attributes can possibly be dropped if the SOAP server does not require basic or digest authentication).

Hope this helps
Christian

[1] https://docs.basex.org/wiki/HTTP_Client_Module#POST_Request



<ykhabins@bellsouth.net> schrieb am Fr., 12. Aug. 2022, 17:48:
Mr. Grün,

The documentation is covering just the REST calls.
I need to make SOAP call.
It seems that it is not coverd in the HTTP_Client_Module documentation.

It is not clear how to specify an operation/method on a SOAP service.

Here is a sample of the request exposed via SoapUI.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:miam="http://miamiarrest.ws.ts">
   <soapenv:Header/>
   <soapenv:Body>
      <miam:getArrestReportsForExport>
         <miam:agencyId>000</miam:agencyId>
         <miam:passphrase>password</miam:passphrase>
         <miam:fromDate>2022-08-02T06:35:01</miam:fromDate>
      </miam:getArrestReportsForExport>
   </soapenv:Body>
</soapenv:Envelope>



Regards,
Yitzhak Khabinsky

-----Original Message-----
From: Christian Grün <christian.gruen@gmail.com>
Sent: Friday, August 12, 2022 7:41 AM
To: Yitzhak Khabinsky <ykhabins@bellsouth.net>
Cc: BaseX <basex-talk@mailman.uni-konstanz.de>
Subject: Re: [basex-talk] BaseX 10.0 as a SOAP client

Hi Yitzhak,

> Is it possible to make calls to SOAP Web Service from the BaseX 10.0?

That’s no problem; you can use the HTTP Client Module for that [1].

Best,
Christian

[1] https://docs.basex.org/wiki/HTTP_Client_Module