An example of a SOAP call to Magento at localhost using a raw XML

$soapClient = new SoapClient(
	'https://localhost.com:2200/soap/all?wsdl&services=salesShipmentRepositoryV1'
	,[
		'cache_wsdl' => WSDL_CACHE_NONE
        ,'exceptions' => true
		,'soap_version' => SOAP_1_2
		,'stream_context' => stream_context_create([
			'http'=> ['header' => 'Authorization: Bearer izxwqvkaqdjrf44d9kxx0awdujc80x0m']
			# 2020-11-26 https://magento.stackexchange.com/a/247679
			,'ssl' => ['allow_self_signed' => true , 'verify_peer' => false, 'verify_peer_name' => false]
		])
        ,'trace' => true
	]
);
try {
	$xml = file_get_contents(dirname(dirname(__FILE__)) . '/xml/01-req-2.xml');
	$soapBody = new \SoapVar($xml, \XSD_ANYXML);
	$res = $soapClient->__doRequest(
	    $xml
        ,'https://localhost.com:2200/soap/all?services=salesShipmentRepositoryV1'
        ,'salesShipmentRepositoryV1Save'
        ,'2'
    );
	print_r($res);
}
catch (Exception $e) {
	xdebug_break();
}