• Help with =?UTF-8?B?c29hcCg/KQ==?=

    From jonkelly@jonkelly@fastmail.fm (jonoke) to comp.lang.tcl on Wed Oct 9 01:21:46 2024
    From Newsgroup: comp.lang.tcl

    Hi,

    I have to interface with web service api ... and this is all I have

    username
    password

    a url

    and documentation that just looks like this ...

    <soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v2="http://webservice.gekko-holding.com/v2_4">
    <soapenv:Header/>
    <soapenv:Body>
    <v2:getBoardTypes>
    <language>FR</language>
    <identification clientId="test" password="test"/>
    </v2:getBoardTypes>
    </soapenv:Body>
    </soapenv:Envelope>

    ----
    I have used the http package to access other REST api's ,,, but I'm lost
    here.

    grateful for any pointers
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Gerald Lester@Gerald.Lester@gmail.com to comp.lang.tcl on Wed Oct 9 07:17:58 2024
    From Newsgroup: comp.lang.tcl

    On 10/8/24 20:21, jonoke wrote:
    Hi,

    I have to interface with web service api ... and this is all I have

    username
    password

    a url

    and documentation that just looks like this ...

    <soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v2="http://webservice.gekko-holding.com/v2_4">
    <soapenv:Header/>
    <soapenv:Body>
    <v2:getBoardTypes>
    <language>FR</language>
    <identification clientId="test" password="test"/>
    </v2:getBoardTypes>
    </soapenv:Body>
    </soapenv:Envelope>

    ----
    I have used the http package to access other REST api's ,,, but I'm lost here.

    grateful for any pointers

    Check out the TCLws package (https://core.tcl-lang.org/tclws/index).
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Gerald Lester@Gerald.Lester@gmail.com to comp.lang.tcl on Wed Oct 9 07:25:53 2024
    From Newsgroup: comp.lang.tcl

    On 10/9/24 07:17, Gerald Lester wrote:
    On 10/8/24 20:21, jonoke wrote:
    Hi,

    I have to interface with web service api ... and this is all I have

    username
    password

    a url

    and documentation that just looks like this ...

    <soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:v2="http://webservice.gekko-holding.com/v2_4">
    <soapenv:Header/>
    <soapenv:Body>
    <v2:getBoardTypes>
    <language>FR</language>
    <identification clientId="test" password="test"/>
    </v2:getBoardTypes>
    </soapenv:Body>
    </soapenv:Envelope>

    ----
    I have used the http package to access other REST api's ,,, but I'm lost
    here.

    grateful for any pointers

    Check out the TCLws package (https://core.tcl-lang.org/tclws/index).

    BTW, the documentation is the WSDL, not what you posted, and should be available from the site itself.

    What you posted was a call to the getBoardTypes method.

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Jonathan Kelly@jonkelly@fastmail.fm to comp.lang.tcl on Thu Oct 10 07:00:06 2024
    From Newsgroup: comp.lang.tcl

    On 9/10/24 23:25, Gerald Lester wrote:
    On 10/9/24 07:17, Gerald Lester wrote:
    On 10/8/24 20:21, jonoke wrote:
    Hi,

    I have to interface with web service api ... and this is all I have

    username
    password

    a url

    and documentation that just looks like this ...

    <soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:v2="http://webservice.gekko-holding.com/v2_4">
    <soapenv:Header/>
    <soapenv:Body>
    <v2:getBoardTypes>
    <language>FR</language>
    <identification clientId="test" password="test"/>
    </v2:getBoardTypes>
    </soapenv:Body>
    </soapenv:Envelope>

    ----
    I have used the http package to access other REST api's ,,, but I'm lost >>> here.

    grateful for any pointers

    Check out the TCLws package (https://core.tcl-lang.org/tclws/index).

    BTW, the documentation is the WSDL, not what you posted, and should be available from the site itself.

    What you posted was a call to the getBoardTypes method.

    Yes ... I want to make the call. I've been trying to just send the
    message via the http package and then happy to parse the result myself.
    I've tried, but I keep getting some error page from cloudfare ... I
    don't know if that is because what I'm trying is wrong or some sort of permissions problem. Chasing that up with the vendor.

    I'd use the TCLws thing, but it seems to assume you already know what everything means. I'd need a worked example of using the wsdl thing and
    then the soap procedures thing.




    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Gerald Lester@Gerald.Lester@gmail.com to comp.lang.tcl on Wed Oct 9 15:59:03 2024
    From Newsgroup: comp.lang.tcl

    On 10/9/24 15:00, Jonathan Kelly wrote:
    On 9/10/24 23:25, Gerald Lester wrote:
    On 10/9/24 07:17, Gerald Lester wrote:
    On 10/8/24 20:21, jonoke wrote:
    Hi,

    I have to interface with web service api ... and this is all I have

    username
    password

    a url

    and documentation that just looks like this ...

    <soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:v2="http://webservice.gekko-holding.com/v2_4">
    <soapenv:Header/>
    <soapenv:Body>
    <v2:getBoardTypes>
    <language>FR</language>
    <identification clientId="test" password="test"/>
    </v2:getBoardTypes>
    </soapenv:Body>
    </soapenv:Envelope>

    ----
    I have used the http package to access other REST api's ,,, but I'm
    lost
    here.

    grateful for any pointers

    Check out the TCLws package (https://core.tcl-lang.org/tclws/index).

    BTW, the documentation is the WSDL, not what you posted, and should be
    available from the site itself.

    What you posted was a call to the getBoardTypes method.

    Yes ... I want to make the call. I've been trying to just send the
    message via the http package and then happy to parse the result myself.
    I've tried, but I keep getting some error page from cloudfare ... I
    don't know if that is because what I'm trying is wrong or some sort of permissions problem. Chasing that up with the vendor.

    I'd use the TCLws thing, but it seems to assume you already know what everything means. I'd need a worked example of using the wsdl thing and
    then the soap procedures thing.

    Look at the examples in the documentation and in the repo.

    --- Synchronet 3.20a-Linux NewsLink 1.114