note 128630 added to class.soapheader

From: Date: Thu, 22 Jun 2023 14:15:48 +0000
Subject: note 128630 added to class.soapheader
Groups: php.notes 
Request: Send a blank email to php-notes+get-220589@lists.php.net to get a copy of this message
Something I came across that I feel should be noted here is if you come across the error "cannot be processed at the receiver, due to an addressfilter mismatch at the endpointdispatcher. check that the sender and receiver's endpointaddresses agree." and you are absolutely sure your protocols and the service URL matches, send 'To' SoapHeader. $soapHeaders = array( new \SoapHeader('http://www.w3.org/2005/08/addressing', 'Action', 'your-action', true), new \SoapHeader('http://www.w3.org/2005/08/addressing', 'To', 'your-service-endpoint-url') ); $soapClient->__setSoapHeaders($soapHeaders); ---- Server IP: 45.112.84.4 Probable Submitter: 80.90.13.130 (proxied: 50.221.25.7) ---- Manual Page -- https://php.net/manual/en/class.soapheader.php Edit -- https://main.php.net/note/edit/128630 Del: integrated -- https://main.php.net/note/delete/128630/integrated Del: useless -- https://main.php.net/note/delete/128630/useless Del: bad code -- https://main.php.net/note/delete/128630/bad+code Del: spam -- https://main.php.net/note/delete/128630/spam Del: non-english -- https://main.php.net/note/delete/128630/non-english Del: in docs -- https://main.php.net/note/delete/128630/in+docs Del: other reasons-- https://main.php.net/note/delete/128630 Reject -- https://main.php.net/note/reject/128630 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#220589) next »