Download the PHP package raigu/x-road-soap-envelope-builder without Composer
On this page you can find all versions of the php package raigu/x-road-soap-envelope-builder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download raigu/x-road-soap-envelope-builder
More information about raigu/x-road-soap-envelope-builder
Files in raigu/x-road-soap-envelope-builder
Download raigu/x-road-soap-envelope-builder
More information about raigu/x-road-soap-envelope-builder
Files in raigu/x-road-soap-envelope-builder
Vendor raigu
Package x-road-soap-envelope-builder
Short Description PHP library for generating X-Road SOAP envelope.
License MIT
Package x-road-soap-envelope-builder
Short Description PHP library for generating X-Road SOAP envelope.
License MIT
Please rate this library. Is it a good library?
Informations about the package x-road-soap-envelope-builder
x-road-soap-envelope-builder
PHP library for generating a SOAP envelope for X-Road request.
Requirements
- php ^8.0
- DOM extension
(For PHP ^PHP7.2 use version 1.1.1)
Installation
Usage
Building SOAP envelope for X-Road request
The method's withBody
input parameter can be generated from
WSDL using free tools like WSDL Analyzer or SOAP UI.
The WSDL-s can be found in X-Road catalog.
See short (1:34) demo video how to acquire WSDL and generate a request body.
Builder methods
Method name | Mandatory | Description |
---|---|---|
withService | Y | service id. Format: {xRoadInstance}/{memberClass}/{memberCode}/(subsystemCode}/{serviceCode}/{serviceVersion} |
withClient | Y | client id. Format: {xRoadInstance}/{memberClass}/{memberCode}/(subsystemCode} |
withBody | Y | X-Road service request witch is but into the X-Road message body. See short video how you can find the WSDL based on service id and generate body from WSDL. If you use SoapUI make sure you do not miss the XML proper namespace definition. |
withUserId | N | natural person code who is initiating the request. Format: {isoCountryCode2Alfa}/{personCode} . Optional. |
withRepresentedParty | N | Party who is represented by client. See X-Road Third Party Representation Extension for more info. Format: [{partyClass}/]{partyCode} . Optional. |
Making X-Road request
In following samples assign your X-Road security server URL to $securityServerUrl
.
Using Guzzle
Using curl
References
All versions of x-road-soap-envelope-builder with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
ext-dom Version *
ext-dom Version *
The package raigu/x-road-soap-envelope-builder contains the following files
Loading the files please wait ....