Re: [SOAP] options available to SoapClient constructor

[email protected] (Samisa Abeysinghe)
Newsgroups php.soap
Message-ID <[email protected]>
Pablo Javier Roca Méndez wrote:
> Hello everybody!
>
> I am writing a client that has to send "not valid" XML messages to the
> server for testing purposes.
>
> My problem is, that SoapClient in wsdl-mode checks the validity of the
> message before sending and *exits* (i.e. it is not possible to catch
> the exception) if the message is not valid.  Are there any options
> available to the constructor of SoapClient to disable validating the
> message? I can't find any usefull information under
> http://www.php.net/manual/en/function.soap-soapclient-construct.php
>
> Maybe someone can point me to the right direction/documentation.
>   
To my knowledge, there are no such options. On the other hand, SOAP 
client uses an XML parser for serialization and de-serialization, so it 
would naturally complain if the XML is not valid.

For testing, you may have to telnet to the service and send the invalid 
XML.

Samisa...
> Thanks in advance for your help.
> Best regards,
> Pablo
>
> --
> Pablo Javier Roca Méndez
>
>   


-- 
Samisa Abeysinghe - Apche Axis2/C
"http://ws.apache.org/axis2/c/?Apache&nbsp;Axis2/C&nbsp;The&nbsp;Web&nbsp;Services&nbsp;Engine"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.