Skip to content

Conversation

veewee
Copy link
Member

@veewee veewee commented Jan 3, 2025

Q A
Type feature
BC Break no
Fixed issues

Summary

Provides a way to find a method based on SoapAction:

// The soap action can be detected from a PSR-7 request headers by using:
// https://github.com/php-soap/psr18-transport/blob/main/src/HttpBinding/SoapActionDetector.php
$soapAction = 'http://tempuri.org/Add';

$method = $metadata->getMethods()->fetchBySoapAction($soapAction),

This comes in handy for soap servers : php-soap/encoding#32

@veewee veewee added the enhancement New feature or request label Jan 3, 2025
@veewee veewee merged commit c19daa9 into php-soap:main Jan 3, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant