consume soap services from visual basic

Viewed 31

good afternoon, I am trying to convert my php application to visual basic and I need your help in the following:

//According to Documentation this is what I have in php

$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $request);
curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);

$response = curl_exec($ch);
$httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);

To consume my service the url requires an apikey and its token, which is sent in the header through PHP curl but in vb I have no idea where to start

0 Answers
Related