I started using NuSOAP and PHP quite recently
It works great when parsing both rpc/encoded and doc/lit service WSDLs and the clients are easy to use too.
What I have not been able to do is to extract the Fault String from a SOAP Fault.
The error message extracted from $client->getError() is
"XML error parsing SOAP payload on line 1: Attribute redefined"
This is the SOAP Response
<faultstring>There is a fault string</faultstring>
<Message xmlns="http://mynamespace.com">There is a permission issues</Message>
<Cause xmlns="http://mynamespace.com">The root cause is here</Cause>
How can I extract the faultstring that is present in the <soap:Fault> ??
Thanks for any help and response,
Log in to post a comment.