SOAP
This handler allows you to consume SOAP WSDL
files and generate a remote
executable schema for those services.
To get started, install the handler library:
npm i @graphql-mesh/soap
Now, you can use it directly in your Mesh config file:
.meshrc.yaml
sources:
- name: CountryInfo
handler:
soap:
source: http://webservices.oorsprong.org/websamples.countryinfo/CountryInfoService.wso?WSDL
CodeSandBox Example
You can check out our example that uses SOAP Handler.
Config API Reference
source
(type:String
, required) - A url to your WSDL or generated SDL with annotationsschemaHeaders
(type:Any
) - JSON object representing the Headers to add to the runtime of the API calls only for schema introspection You can also provide.js
or.ts
file path that exports schemaHeaders as an objectoperationHeaders
(type:JSON
) - JSON object representing the Headers to add to the runtime of the API calls only for operation during runtime