Download the PHP package php-soap/wsdl-reader without Composer
On this page you can find all versions of the php package php-soap/wsdl-reader. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package wsdl-reader
WSDL Reader
This package provides tools for reading WSDL files and to converting them to metadata that will be used in other parts of the php-soap packages.
Want to help out? 💚
Want more information about the future of this project? Check out this list of the next big projects we'll be working on.
Installation
Example usage
As shown above, parsing the WSDL is done in phases:
- Select any loader to load the content of the WSDL. Tip: make sure to flatten it!
- Reading raw WSDL XML into value objects and XSD schema.
- Converting this WSDL to usable metadata
This gives you the flexibility in all different layers:
- You can specify how a WSDL will be loaded.
- You can use the WSDL classes of this package to run your own data lookups/manipulations.
- You can use the provided metadata to run your own data lookups/manipulations.
- ...
Readers
This package provides some configurable WSDL readers. This gives you some flexibility in what version of WSDL is being parsed, what SOAP version you want to use, ...
WSDL1 and 1.1
The WSDL1Reader accepts a ParserContext
. You don't have to configure it since it falls back to defaults.
But if you want to configure things like known XSD schema locations, that would be the place to go!
Once the WSDL1 file has been read, it will try to find a SOAP 1.2 service from your WSDL file. This service will be converted into metadata you, as a human, can understand.
You can apply additional service selection criteria that will be used to find the SOAP service you prefer. By default,
- The selection criteria allows any SOAP service. You can disable e.g. the HTTP-based SOAP services.
- no SOAP version is preferred. The first SOAP service the system detects, will be selected. But you can specify a specific soap version as well.
WSDL2
Not implemented yet!
Console
This package extends the WSDL CLI Tools that are provided by the WSDL package. It provides these additional commands:
Listing all contents
Method details
Type details
Custom WSDL Loader
By default, all CLI tools use the StreamWrapperLoader.
All CLI tools have a --loader=file.php
option that can be used to apply a custom WSDL loader.
This can be handy if your WSDL is located behind authentication or if you want to get control over the HTTP level.
Example custom PHP loader:
All versions of wsdl-reader with dependencies
ext-dom Version *
goetas-webservices/xsd-reader Version ^0.4.6
php-soap/engine Version ^2.13
php-soap/wsdl Version ^1.10
php-soap/xml Version ^1.8.0
veewee/xml Version ^3.0
azjezz/psl Version ^3.0
symfony/console Version ^5.4 || ^6.0 || ^7.0
webmozart/assert Version ^1.11