Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find method by SOAP action #22

Merged
merged 1 commit into from
Jan 3, 2025

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