Note that there are some explanatory texts on larger screens.

plurals
  1. POPHP SOAP connection error.Uncaught SoapFault exception: [soap:Server] Server was unable to process request
    primarykey
    data
    text
    <p><strong>The SOAP input :</strong></p> <pre><code>POST /webservice.retail/retail.asmx HTTP/1.1 Host: factura.md Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/Login" &lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"&gt; &lt;soap:Body&gt; &lt;Login xmlns="http://tempuri.org/"&gt; &lt;login&gt;string&lt;/login&gt; &lt;password&gt;string&lt;/password&gt; &lt;messageDataAsXml&gt;string&lt;/messageDataAsXml&gt; &lt;/Login&gt; &lt;/soap:Body&gt; &lt;/soap:Envelope&gt; </code></pre> <p><strong>The soap output:</strong></p> <pre><code>HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length &lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"&gt; &lt;soap:Body&gt; &lt;LoginResponse xmlns="http://tempuri.org/"&gt; &lt;LoginResult&gt;boolean&lt;/LoginResult&gt; &lt;ticket&gt;string&lt;/ticket&gt; &lt;messageDataAsXml&gt;string&lt;/messageDataAsXml&gt; &lt;/LoginResponse&gt; &lt;/soap:Body&gt; &lt;/soap:Envelope&gt; </code></pre> <p>Im try to connect with this code:</p> <pre><code>&lt;? $client = new SoapClient( '...WDSL...', array('trace' =&gt; true)); $cred = array( 'Login' =&gt; 'USER', 'Password' =&gt; 'PASS' ); $result = $client-&gt;Login( $cred ); ?&gt; </code></pre> <p><strong>error:</strong> Fatal error: Uncaught SoapFault exception: [soap:Server] Server was unable to process request. --> Object reference not set to an instance of an object.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload