Included in ODBC PowerPack

ODBC XML / SOAP API Driver

Read XML files and SOAP web services with XPath filters and familiar SQL.

Read local XML files or call SOAP web services and REST APIs with plain SQL. Pick the repeating node with an XPath filter, handle OAuth and Basic authentication, and query the data from Power BI, Excel, SSIS, Python or SQL Server, all without writing code.

Included in the Standard edition and above

ZappySys ODBC Driver - Create XML Driver
Driver UI, SQL query and live preview

Trusted by data teams worldwide

MicrosoftIBMOracleDell TechnologiesHPCiscoAT&TVerizonDHLFedExUPSWalmart

Also rated on Capterra★★★★★ , Trustpilot★★★★★ and BBBA+ — see why teams trust ZappySys

At a glance

What the XML / SOAP API Driver can do

Read XML files and SOAP web services with XPath filters and familiar SQL.

Familiar SQL

Use WHERE, ORDER BY, GROUP BY and built-in math, string, date and JSON functions on top of the data source.

  • Standard SELECT syntax
  • Custom functions in the SQL dialect
  • Driver options in a WITH clause

Query examples

XML & SOAP

Read XML files and call SOAP web services. Flatten repeating elements into rows.

  • XML files and SOAP / REST APIs
  • Filter expression to pick the repeating node
  • Namespaces and attributes

See the SQL example

Security standards

OAuth 1.0 / 2.0, JWT, Basic authentication and TLS 1.2 for secure HTTPS.

  • OAuth connection manager
  • Custom headers and body
  • HTTPS / SSL / TLS 1.2

See the screenshots

Multiple files

Read one file or a wildcard set, local or from a URL.

  • Wildcard patterns
  • Pagination for APIs
  • Proxy server support

See the SQL example

Works with the tools you have

Any ODBC-compliant tool can use the DSN: Power BI, Tableau, Qlik, SSRS, Informatica, Excel and SSIS.

  • Create a DSN once, reuse it everywhere
  • 32-bit and 64-bit ODBC
  • Stored in the standard ODBC Data Source Administrator

Setup guide

Use it from code

Connect from Java, C#, Python, PowerShell and more with an ODBC connection string that names the DSN.

  • Standard ODBC connection strings
  • Parameterized queries
  • Same SQL as in the UI

Python example

SQL Server via Data Gateway

Query the driver from SQL Server (linked server / OPENQUERY) without installing it on the SQL Server machine, through the Data Gateway.

  • No driver install on the server
  • Works with SQL Server 2012 through 2025 (32/64 bit)
  • Same DSN, same SQL

About Data Gateway

See all features
  • Read /write data from XML SOAP / REST API or local XML files using familiar SQL Query language
  • De-normalize nested XML into a flat document just like a regular database table
  • Integrate insight any ODBC Compliant Reporting / ETL tools (e.g. Power BI, Tableau, Qlik, SSRS, Informatica, Excel, SSIS)
  • Support for programming languages such as JAVA, C#, Python, PowerShell and more…
  • Tight integration with Microsoft SQL Server (With support for Gateway Option – No need to install Driver on Server)
  • Familiar SQL Query language support including WHERE, ORDER BY, GROUP BY constructs
  • Support for custom math/ string / datetime functions in SQL query Language
  • The unparalleled performance with large file support (See how we processed 3 million rows in 3 mins)
  • POST data to API server, Upload File to server (Support MultiPart File Upload).
  • Latest security standards such as OData, OAuth and JWT (RFC 7519) (Call services like Google API, Facebook …)
  • Call API using Dynamic Token Authenticate or Basic authorization (i.e. UserID / Password)
  • Reading from multiple files using wildcard pattern (e.g. Year??_data*.xml)
  • Support for Array Flattening (Child Array Items as Columns)
  • HTTP Request with Custom Headers / Body / URL Parameters.
  • REST API Pagination Support to consume multiple requests / loop (many options explained here and here)
  • Support for 2D arrays and Complex Transformation (See this article and this for Google BigQuery)
  • Option for Pivoting nested data (Convert Columns to Rows)
  • Ability to read raw XML / indent output from inner array
  • HTTPS / SSL / TLS 1.2 Support for more secure communication
  • Support for passing cookies
  • Support for Proxy Server
Runs in your environment ·

SQL Server 2012–2025

through the Data Gateway · Read the FAQ

Ways to use it

Pick how you reach your data.

Configure the DSN once, then query it from any ODBC tool or from SQL Server.

Query XML files with SQL.

Point SRC at a file or wildcard and pick the repeating node.

  • Local files and URLs
  • Wildcard patterns
  • Namespaces
ZappySys ODBC Driver UI: read from a file or API URL (JSON REST API, XML SOAP web service, CSV)

Inside the UI

The driver UI, step by step.

Real screens from the ZappySys ODBC driver configuration.

Create the DSN

Add a user or system DSN and pick the XML / SOAP API Driver.

SQL example

Write SQL. Get a flat table.

The driver reads local files or Web API responses, flattens the XML and lets you use WHERE, ORDER BY, GROUP BY and functions on top. Below: a sample document, the SQL query and the rows it returns.

  1. Sample XML data

    A small XML file on disk. Point SRC at a URL instead and the same query reads a Web API response.

    customers.xml

    <Customers>
      <Customer><CustomerID>C1</CustomerID><CompanyName>Company 1</CompanyName><City>Atlanta</City></Customer>
      <Customer><CustomerID>C2</CustomerID><CompanyName>Company 2</CompanyName><City>Boston</City></Customer>
      <Customer><CustomerID>C3</CustomerID><CompanyName>Company 3</CompanyName><City>Atlanta</City></Customer>
    </Customers>
  2. Run the SQL query

    SQL QuerySELECT CustomerID, CompanyName FROM $ WHERE City = 'Atlanta' ORDER BY CompanyName WITH ( SRC = @'C:\Data\customers.xml', Filter = '$.Customers.Customer[*]' )

    Paste the statement into the driver’s Query Editor, or run it from any ODBC tool or language.

    WITH (…) clause carries driver options, so a single DSN can read many sources.

  3. Rows returned to your tool

    Illustrative output rows from the sample input
    CustomerID CompanyName
    C1 Company 1
    C3 Company 3

    Connect Power BI, Excel, SSIS, Python or SQL Server to the DSN to get the same rows.

Illustrative input and output. More query samples are in the online help.

SQL query examples

Copy a query, change the source, run it.

19 of the 51 examples from the XML / SOAP API Driver help. Open one to see the SQL.

Read files, API responses and objects as rows.

Query XML API Service

This example shows how to query XML API service. In order to see table list you must populate required connection parameters on the parameter grid

SELECT * FROM "feed.entry"
WITH (SRC='https://services.odata.org/Northwind/Northwind.svc/Orders')

Open this example in the help

Query Single File

This example shows how to query single XML file (For multiple file use wildcard (i.e. *.xml)). This example selects root level hierarchy (i.e $ as table name). Use table selector from toolbar to exact data from different hierarchy (i.e table).

SELECT * FROM $ WITH (SRC='C:\Data\cust-1.xml')

Open this example in the help

Query Multiple Files

This example shows how to query multiple XML files using wildcard (i.e. *.xml). This example selects root level hierarchy (i.e $ as table name). Use table selector from toolbar to exact data from different hierarchy (i.e table).

SELECT * FROM $
WITH (
    SRC='C:\Data\cust*-?.xml'
    --,RECURSIVE='True' --Include files from sub folder
)

Open this example in the help

Query direct XML string (embedded inside query)

This example shows how to query direct XML string embedded inside query. This is useful for testing purpose. In real world this may not be the case because data may be coming from File or URL (API call).

SELECT * FROM [data.row]
WITH (
--enter path in SRC or use static value in DATA'
--SRC='http://some/api/data.xml'
--SRC='C:\somefile.xml'
--SRC='C:\some*.xml'
DATA='
<data>
	<row><id>1</id><name>AAA</name></row>
	<row><id>2</id><name>BBB</name></row>
</data>'
,ElementsToTreatAsArray='row' --if you don't specify this option then your query may fail when only 1 <row> tag is found (use comma for multiple names e.g. order,item,row).
)

Open this example in the help

Query OData API Service

This example shows how to query OData API. By specifying DataFormat=’OData’ it will automatically paginate multiple requests for you so you don’t have to worry about additional pagination configuration.

SELECT * FROM "feed.entry" WITH (SRC='https://services.odata.org/Northwind/Northwind.svc/Orders',DataFormat='OData')

Open this example in the help

Query with static Metadata (META option / Override Mode)

This example shows how to supply custom Metadata rather than relying dynamic metadata detection (based on 300 rows scanning). If you run query you can click on [View Metadata] button to generate default metadata.

SELECT * FROM [data.row]
WITH
(DATA='
<data>
	<row><id>1</id><checknumber>0001</checknumber><name>AAA</name></row>
	<row><id>2</id><checknumber>0002</checknumber><name>BBB</name></row>
</data>'
--//Method-1: >>>DIRECT META (compact mode)<<<
,META='id:int;checknumber:string(10);name:string(10)'
-- Add: @OverrideMode:1 in the column list to override meta for only specific column(s) - In below example we are changing default datatype/length for id and checknumber, all other columns are dynamic so dont have to supply in META clause
--,META='@OverrideMode:1;id:int;checknumber:string(10)'

--//Method-2: >>>DIRECT META (xml mode)<<<
--,META='[{Name:"id",Type:"Int32"},{Name:"checknumber",Type:"String",Length:10},{Name:"name",Type:"String",Length:10}]'
-- Add: @OverrideMode entry in the column list to override meta for only specific column(s). No need to set Type for that entry - In below example we are changing default datatype/length for id and checknumber, all other columns are dynamic so dont have to supply in META clause
--,META='[{Name:"@OverrideMode"}, {Name:"id",Type:"Int32"},{Name:"checknumber",Type:"String",Length:10}]'

--//Method-3: >>>META from File <<<
--,META='c:\data\meta.xml'

--//Method-4: >>>META from Internal Storage - Just refer entry by name <<<
--,META='MY_META_STORAGE_NAME'

)

Open this example in the help

Download File from URL (Raw Text) / Write to file / Read from file

This example shows how to read RAW data from URL and then save content to disk file. If you dont specify EnableRawOutputMode flag then parser is not invoked to parse data in rows/column.

SELECT
     FILE_WRITE_TEXT( RAW_DOCUMENT,'c:\temp\dump.xml' ) AS ColBytesWritten1 --//text file
    --,BASE64_TO_FILE('c:\temp\dump.png',  FILE_TO_BASE64('http://httpbingo.org/image/png') ) AS ColBytesWritten2 --//This is how you can for binary file input must be base64 of data
    --,FILE_READ_TEXT('c:\temp\dump.txt' ) DiskFileContent
FROM $
WITH(
	 Src='https://httpbingo.org/xml'
	,EnableRawOutputMode='True' --//set this flag to read data as RAW text
)

Open this example in the help

See all 51 SQL examples in the help

Articles

Guides and tutorials for the XML / SOAP API Driver

GuideHow to read RSS feed in SSIS and ODBC (with pagination)Read RSS feed in SSIS can be challenging. RSS named first RDF Site Summary and later named Rich Site Summary and Really Simple Syndication allows customer applications…zappysys.com blogRead articleGuideRead / Write REST API data in Talend (JSON / XML / SOAP)In this post we will learn how to read / write REST API data in Talend Open Studio. We will create a simple Talend Job using ZappySys JSON Driver to read from REST…zappysys.com blogRead articleGuideGet Office 365 data in Power BI using Microsoft Graph API and ODBCIn this article, we will get Office 365 data in Power BI using Microsoft Graph API and ODBC drivers. Specifically, we will get Excel file data in OneDrive, events from…zappysys.com blogRead articleGuideImport REST API in Tableau – Read JSON, SOAP XML, CSVTableau is one of the most popular Reporting / Visualization tool for BI / Data analytics. It comes with many out-of the box connectors to pull data from some popular…zappysys.com blogRead articleGuideHow to call REST API in MicroStrategy (JSON / XML SOAP) In this new article, we will show how to call REST API in MicroStrategy. MicroStrategy is a Business Intelligence company that provides powerful software to create…zappysys.com blogRead articleGuideImport REST API in MS Access (Load JSON / SOAP XML)In this post, we will learn how to import REST API in MS Access (JSON or SOAP XML data). We will use ODBC PowerPack to connect and query a JSON file / URL. JSON…zappysys.com blogRead articleCollectionAll XML / SOAP API Driver articlesMore tutorials and how-to articles on the ZappySys blog.zappysys.com blogBrowse all articles

Compatibility and requirements

Built for Windows, and for your own environment.

  • Windows 11, 10, 8 and 7, and Windows Server 2022, 2019, 2016, 2012 R2 and 2008
  • .NET Framework 4.x. The JDBC Bridge Driver also needs Java 8 or later
  • 32-bit and 64-bit ODBC drivers. SQL Server 2012 through 2025 through the Data Gateway
  • Self-hosted: drivers run in your Windows process, business data does not pass through ZappySys servers, and credentials stay in your DSN
  • Free trial of ODBC PowerPack: test with your own data before you buy

FAQ

Questions about the XML / SOAP API Driver

Which tools and languages can use this driver?

Any ODBC-compliant tool, such as Power BI, Tableau, Qlik, SSRS, Informatica, Excel and SSIS. You can also connect from Java, C#, Python, PowerShell and other languages with an ODBC connection string.

Do I need to install the driver on SQL Server?

No. With the Data Gateway option the driver runs on the gateway machine and SQL Server connects to it through a linked server.

Which edition includes the XML / SOAP API Driver?

The XML / SOAP API Driver is included in the Standard, Professional and Enterprise editions of ODBC PowerPack. See the edition comparison for the full list.

Can it call SOAP web services?

Yes. Set the URL and request body, then query the XML response with SQL.

Can I save a query to reuse it?

Yes. Save a query as a virtual table or a stored procedure (custom objects) in the DSN. Tools then see it like a normal table, and a procedure can take parameters. See custom objects in ODBC drivers.

Is there an SSIS version?

Yes. This driver uses the same data engine as the XML Source in SSIS PowerPack.

Which SQL Server and Windows versions are supported?

Support for SQL Server 2025, 2022, 2019, 2017, 2016, 2014 and 2012 (32/64 bit) through the Data Gateway. See the system requirements.

Can I try it before buying?

Yes. Download ODBC PowerPack, create a DSN and test your own data before you buy.

Independent ratings

Trusted by data teams, recognized by the industry

See why teams trust ZappySys (opens in new tab)

What customers say

  • Customer story

    ZappySys has been a fantastic way to bring our small company into the world of APIs, automation, and systems integration by providing tools within an easy-to-use framework.

    Ben KingeryOxspring Paul
  • Customer story

    At Synchronous Customers, we need to connect various types of data quickly. The super handy ZappySys connectors and great documentation let us do it without writing a lot of code.

    Joel ConnerSynchronous Customers
  • Customer story

    We have worked with the ZappySys support team for over a year and have consistently found them extremely helpful — resourceful and creative in offering multiple solutions to our challenges.

    Senthil SekarPublicis Groupe
  • Trustpilot

    I’ve been using ZappySys for over 6 years — it makes development faster, and I introduced it to my current company.

    Anna JohnsonTrustpilot review
  • Customer quote

    I submitted a support request and had someone logged in and fixing things within 2 hours.

    Barry Wilson
  • Customer quote

    The REST source is very powerful — the only thing I found I could use after trying components from major vendors.

    Jes KirkupKTC
  • Customer quote

    Whenever we run into an obstacle, ZappySys has a solution for us. We are so glad that we chose ZappySys PowerPack.

    Kevin ChenBerricle

Start your free trial today

Install ODBC PowerPack and add a XML / SOAP API Driver DSN.

Preview your data in the driver UI before you connect your tool.

  • One DSN, many toolsPower BI, Excel, SSIS, Python and SQL Server can all use it.
  • Free trialTest the driver with your own data before you buy.
  • Live supportHelp during your trial and after purchase.

New purchases may be eligible for refund review within 30 days. See the refund policy.

Talk to an engineer before or during your trial.

1 / 12