I am writing a client that has to send "not valid" XML messages to the
server for testing purposes.
Id depends on what you mean by "not valid". If you just wish to send
message which is does not conform to WSDL, simply use non-WSDL mode. In
non-WSDL mode you can send whatever you wish, but it will be translated to
valid XML (SOAP envelope).
If you want to send some garbage which is not valid XML, use cURL.
Hijack sent data using __getLastRequest, __getLastRequestHeaders, build
your own request (damaging the SOAP envelope however you wish) and send it
just like you would send POST request using cURL.
--
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php