Download the PHP package dmt-software/webservices-client without Composer
On this page you can find all versions of the php package dmt-software/webservices-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dmt-software/webservices-client
More information about dmt-software/webservices-client
Files in dmt-software/webservices-client
Package webservices-client
Short Description An implementation of the CompanyInfo WebservicesNl data integration
License MIT
Informations about the package webservices-client
WebserviceNl Client
A generic client for consuming the services from CompanyInfo - WebservicesNl.
Installation
Service packages
Install a service package using composer:
After installation all of the service methods become available in this client. See Services for a complete list of supported services.
Usage
Create a Client
Create a client for communication with CompanyInfo - WebservicesNl.
In this case a client is returned for communication with the soap_doclit
endpoint.
See Protocols for all supported endpoints.
Make a service call using a request
The client uses a CommandBus to delegate a request to a handler that can process it.
This example sends a GetDossierV3Request
noticing to the DutchBusiness service
and returns a GetDossierV3Response
.
Call a service method directly
Alternatively the client accepts a direct service method call with an array of arguments. This functionality is similar to the native SoapClient behaviour.
NOTE: The requests created from your call, might be erroneous without notice. This makes it hard to debug.
Services
Goal is to support as many services as WebservicesNl provides. If the service you are looking for isn't available, feel free to leave a feature request.
The services that can be installed are:
Protocols
Currently this package supports the WebservicesNl endpoint for:
- soap
- soap_doclit
All versions of webservices-client with dependencies
ext-curl Version *
ext-dom Version *
ext-json Version *
ext-simplexml Version *
dmt-software/jms-soap-serializer Version ^1.0
dmt-software/command-bus-validator Version ^1.0
guzzlehttp/guzzle Version ^6.3
doctrine/cache Version ^1.7