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

Wsdl flattener #1

Merged
merged 12 commits into from
Jan 28, 2022
Merged

Wsdl flattener #1

merged 12 commits into from
Jan 28, 2022

Conversation

veewee
Copy link
Member

@veewee veewee commented Oct 29, 2021

Q A
Type feature
BC Break no
Fixed issues

FlatteningLoader

This loader can be used if your WSDL file contains WSDL or XSD imports.
It will any other loader internally to load all the parts.
The result of this loader is a completely flattened WSDL file which you can e.g. cache on your local filesystem.

use Soap\Wsdl\Loader\FlatteningLoader;
use Soap\Wsdl\Loader\StreamWrapperLoader;

$loader = new FlatteningLoader(new StreamWrapperLoader());

$contents = $loader($wsdl);

TODO:

  • test XSD includes / redefines
  • test XSD redefines
  • test context?
  • group schemas per namespace instead of including everything. Resulting in very big XMLs
  • xsd namespace todo comment
  • check import definitions attributes / namespaces

@veewee veewee added enhancement New feature or request hacktoberfest labels Oct 29, 2021
@veewee veewee added this to the 1.1.0 milestone Oct 29, 2021
@veewee veewee modified the milestones: 1.1.0, 1.2.0 Nov 26, 2021
@veewee veewee changed the title [WIP] Wsdl flattener Wsdl flattener Jan 28, 2022
@veewee veewee merged commit d12cf90 into php-soap:main Jan 28, 2022
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