XML error parsing SOAP payload on line 4:

  • Xingyu Xiao

    Xingyu Xiao - 2011-01-26


    I am new to the tool. I am developing the SOAP server for a new project. I have created a client to test my service using the tool.
    It sent request and server sent respones with correct data. However, I get error message from $err = $client->getError(); and says:
    $error::XML error parsing SOAP payload on line 4: Reserved XML Name
    and $client->cal returned nothing.

    Do you know which xml file the error is found - request or reqponse?


  • Scott Nichol

    Scott Nichol - 2011-01-31

    $client->getError() returns any error encountered by the client working with the response from the server.

    $client->fault is the information from a SOAP Fault returned from the server when it has a problem.

    $client->request and $client->response can be used to look at the request and response XML.

    You can look at samples included with NuSOAP such as wsdlclient1.php to see boilerplate client code to access servers.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks