Nooit aan toegekomen en nu vindt ik de site waar het allemaal genoemd wordt: http://rendon.x10.mx/testing-a-web-service/

Voor mij is de command line optie super handig:

Stop het SOAP bericht in een xml file.
bijvoorbeeld: vi request.xml

<soapenv:Envelope xmlns:soapenv=”http://schemas.xmlsoap.org/soap/envelope/” xmlns:mys=”MyService”>
<soapenv:Header/>
<soapenv:Body>
<mys:Hello>
<name>Rafael</name>
</mys:Hello>
</soapenv:Body>
</soapenv:Envelope>

WGET

wget –post-file=request.xml –header=”Content-Type: text/xml” http://localhost/ws/index.php?wsdl -O response.xml

cURL

curl –header “Content-Type: text/xml; charset=utf-8” –data @request.xml http://localhost/ws/index.php > response.xml

Het antwoord op het SOAP bericht komt in het bestand response.xml