Forum Moderators: coopster
I'm using CURL to access a SOAP webservice:
--------
$SOAPrequest = <<< End_Of_Quote
<?xml version="1.0" encoding="UTF-8"?>
<firstName>John</firstName>
<lastName>Smith</lastName>
End_Of_Quote;
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://www.domain.com/webservice.asp");
curl_setopt($ch, CURLOPT_POSTFIELDS, $SOAPrequest);
-----------
However, this webservice offers it by using a method called 'getUserData', but I've got no idea about how to insert it into my code.
I'd be extremely grateful if you could provide me any help. Thank you very much.