I'm using CURL to access a SOAP webservice:
Code: Select all
$SOAPrequest = <<< End_Of_Quote
<?xml version="1.0" encoding="UTF-8"?>
<firstName>John</lastName>
<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);
I'd be extremely grateful if you could provide me any help. Thank you very much.