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

Add the ability to select specific services by port / service name #558

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

veewee
Copy link
Contributor

@veewee veewee commented Nov 13, 2024

Fixes #557

This allows for selecting specific ports / services in the WSDL:

https://github.com/php-soap/wsdl-reader/releases/tag/0.19.0

 EngineOptions::defaults($wsdl)
-     ->withPreferredSoapVersion(SoapVersion::SOAP_12)
+     ->withWsdlServiceSelectionCriteria(
+         ServiceSelectionCriteria::defaults()
+             ->withPreferredSoapVersion(SoapVersion::SOAP_12)
+             ->withServiceName('SpecificServiceName')
+             ->withPortName('SpecificPortName')
+     );

@veewee veewee added this to the 4.0.0 milestone Nov 13, 2024
@veewee veewee force-pushed the engine-service-selection branch from 10c3c54 to 222a282 Compare November 14, 2024 05:59
@veewee veewee merged commit aba0c91 into phpro:v4.x Dec 13, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant