Australian Bureau of Statistics
1407.0.55.002 - ABS.Stat - Beta: Web Services User Guide , 2013
Latest ISSUE Released at 11:30 AM (CANBERRA TIME) 01/03/2013 First Issue
|Page tools: Print Page Print All RSS Search this Product|
Information for building a custom .Net application to call SDMX Web Service
Below is general information on how to build a simple C# .NET application that calls the SDMX web services.
Setup C# .NET developer environment i.e. Visual Studio 2010
Create a 'web references' to the SDMX web service
Build an SDMX Query
**Refer to each of the 'SDMX Query Message Example' provided above for the structure of the query message to construct and pass onto the SDMX web service.
**Below is an example of C# code that builds the query messages which is then passed to the SDMX web service.
Query message builder for GetGenericData function:
Establish a web service connection to the server object
i.e. OECDStatSDMXwebservice svc = new OECDStatSDMXwebservice();
Call the SDMX web service
XmlElement xe = svc.GetCompactData(GetCompactDataQuery());
Pipe the element to where necessary
where XmlWriterPtr is of type XmlWriter
These documents will be presented in a new window.
This page last updated 28 February 2013