How can I do a POST request using PHP ?
wsdl: http://abc.vendor.com/webservices/servicealpha?wsdl
username: u01
password: p01
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns="http://abc.vendor.com/webservices/servicealpha">
<soap:Header/>
<soap:Body>
<ProcessAlpha>
<!--Optional:-->
<xmlJob>
<anything>
<Field name="id" value="C001"/>
<Field name="name" value="One" />
</anything>
</xmlJob>
</ProcessAlpha>
</soap:Body>
</soap:Envelope>
I see there are two option, using curl and SOAPClient but unsure which one is recommended. But I am not sure in either of these, especially with SOAPClient how to send custom xml
Thanks.