note 98613 deleted from soapclient.soapclient by crell
| From: | crell@php.net | Date: | Mon, 04 Apr 2022 16:49:47 +0000 |
| Subject: | note 98613 deleted from soapclient.soapclient by crell | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-218069@lists.php.net to get a copy of this message | ||
Note Submitter: marcovtwout at hotmail dot com
----
Being new to SOAP, I was searching for a while to find out why my message was getting a response in
soapUI, but not with my php code. The specific service I was addressing gives a HTTP 202 Accepted on
success (no response), but returns a SOAP message on errors.
Situation:
Using an (authenticated) client connection, and a WDSL file, SOAP calls with type
"One-Way" don't give a response header, even though a response is expected.
Solution:
When calling the client constructor, set SOAP_WAIT_ONE_WAY_CALLS in the
$options['features'].