Nyheder RSS feed med nyheder


WebService

Introduction

This Web Service makes it possible to syncronize data with your own application

A Web Service makes it easy to generate the client code that makes it possible getting and updating data. It doesn't matter if you are using C#, C++, Java or any other language that has support for Web Services.

Click here to get at general description of the product (In danish only).

Description

The Web Service sends five kinds of objects back.

HierarchyNode can have an array of Product objects.

A Product has the following relations defined:
Company manufacturer;
Suppliers[] suppliers; - a Supplier object has a Company object
File[] photos;
File[] files;

Available Fields on a Product

The following document describes the fields available on the product: feltnavn.doc

Functionality

To generate the client code that opens up for interfacing the administration data, you need to use a tool that can parse a WSDL file and generate the source code. Microsoft Visual Studio and Eclipse has this build in and makes it easy with a wizard to get you going.

The WSDL to generate the client code for "Roerforeningen" customers can be found at the following address: http://ws.vvskataloget.dk/catalog?wsdl

Available functions

The following functions are available at this time:
Function Description
Connection(username, password) - Authenticate a user and creates a session, remember to maintain the session by setting your client to maintain HTTP sessions.
Disconnect() - Close a session.
getCompany(id: int) - Get one company by its id
getAllCompanies() - Get all the companies.
getHierarchy() - Returns all groups you have access to.
getProduct(id: int) - Get one product by its id
getProductByVVSNo(vvsNo: string) - Get one product by its vvsNo
getProductsFromGroup(id: int) - Gets all products for one group by its id
getProductsCount(startDate: Date, endDate: Date) - Gets count of products were changed in passed period
getProductsWithPagination(from: int, count: int, startDate: Date, endDate: Date) - Gets "count" starts from "from" of products were changed in passed period. Should be used with "getProductsCount" method
* All other methods do not declared in this list, maybe not implemented or deprecated. Please do not use undeclared methods.

Examples

Java

Zip file containing Java example

.NET C# (Visual Studio 2005)

Zip file containing C# example

Contact

Branchehuset
Dag Hammarskj�lds All� 5
DK-2100 K�benhavn �
Danmark
Email: support@branchehuset.dk
Tel: +45 35 25 06 02