Siirry pääsisältöön

Visma Nova Webservice installation- and user manual

Introduction

This document contains the installation- and user manual.

The XML-description can be found in Visma Nova Webservice XML kuvaukset section.

For support please contact: [email protected]

Nova WebService and Nova environment overview

Nova Webservice is installed to Windows server in the Nova customer’s environment, where IIS (Internet Information Services) is installed and the server must have access to Nova’s database server (SQL server). During the installation of Webservice a unique key is created and the 3rd party can connect to a specified Nova company database with that key. The customer has to tell from which address the Webservice is replying from (for example: https://customerdomain.fi/NovaWebService/NovaWebSDK.asmx?). Webservice is used by sending an xml message with the execute method and Webservice replies with a return xml-message.

The 3rd party is responsible for creating the application, which then uses Nova webservice API.

Warning

NOTE! Customer is responsible for the IIS settings.

About the integration project

All integration projects should start with specifications, where the party who ordered the integration and the one creating it decide together on the content of the integration project – what functionalities and restrictions it will include. The parties should also make sure that the Webservice API provides the components needed for the integration. We recommend having the specifications in writing.

To test the implementation phase of the integration it is recommended to have a test environment as similar as possible to the production environment. This way you can test and identify the different scenarios. The integration will be deployed to production only after all usage scenarios have been tested and accepted as planned in the test environment similar to production.

You can also ask our consultant to be part of the implementation process. For more information, contact the Visma salesperson responsible for your company.

General requirements

  1. Windows server: Windows Server 2012

  2. .Net 4.5 full

  3. IIS installed on the server

  4. Server has a public IP

  5. The firewall settings have to be settled between the integrator and the customer. Webservice uses ports 80 (http) or 443 (https). We recommend to use HTTPS protocol.

  6. Admin access rights for the user who makes the installation

To do before the installation

Latest Nova-version has to be installed.

IIS must be installed before installing Webservice.

In IIS, the following defaults have to be selected:

  • Application Development

  • .Net Extensibility 3.5

  • .Net Extensibility 4.5:

  • ASP.NET 3.5

    • HTTP Activation

  • ASP.NET 4.5

    • WCF Services

    • HTTP Activation

  • Management Tools

  • IIS Management Scripts and Tools

C:\Users\tanja.lehtola\AppData\Local\Skitch\Kuvakaappaus_022117_121143_PM.jpg

  • ISAPI and CGI restrictions: asp.net 4.0 version has to be allowed

Warning

NOTE! Make sure that you have appropriate access rights to perform the installation. The majority of problems during installation is due to limited access rights.

Using Nova Webservice API

Visma Nova Webservice follows the SOAP-model and contains the following webmethods:

Execute

Main method which is used to send XML-messages to Webservice. Returns an xml-message.

Execute2

Same as Execute method. Only differense is that it takes in the XML

ExecuteEx

Not in use

HelloWorld

Test method

SDKVersion

Returns NovaSDK’s version number, which is used by Webservice

WebServiceVersion

Returns the version number of Webservice

An XML-message is sent to Webservice using the Execute-method, which consists of two parts: the Login part and the method part. The login part is used to specify which connection you want to use. You will get the keys required in the Login part from the person who installed Webservice. In the example, the

element inside the

tag specifies the key which is used.

73685dbea3290215b74a3a2e9c1c3ecc

tuote1

The actual task that you want to accomplish with the execute-method is shown in the following example:

tuote1

The execute -method returns the xml message.

You can find examples and descriptions of these functions in a separate document.

Here is an example in vb.net: an order is created with Nova webservice:

Dim xmltext As String = "

73685dbea3290215b74a3a2e9c1c3ecc

99

100

Toimitusasiakas

1

0

1

akra

1

2

mivv

2

3

KOKO

2

7

"

'Note! I added serviceReference to the project, which points to Nova Webservice.

Dim client As ServiceReference1.NovaWebSDKSoapClient = New ServiceReference1.NovaWebSDKSoapClient

Dim xmlResponse As XElement = New XElement("Empty")

Dim xmlRequest As XElement = XElement.Parse(xmltext)

Try

xmlResponse = client.Execute(xmlRequest.ToString)

MsgBox(xmlResponse.ToString)

Catch ex As Exception

MsgBox(ex.Message)

End Try

Test with Boomerang

Underneath some examples of how to test web service with Boomerang (a plugin for Chrome)

Execute

or

C:\Users\tanja.lehtola\AppData\Local\Skitch\Kuvakaappaus_013018_031005_PM.jpg

Execute2

C:\Users\tanja.lehtola\AppData\Local\Skitch\Kuvakaappaus_013018_025921_PM.jpg

Response

C:\Users\tanja.lehtola\AppData\Local\Skitch\Kuvakaappaus_013018_030034_PM.jpg

Warning

NOTE! Remember to add prefix.

Example

73685dbea3290215b74a3a2e9c1c3ecc

01-06-2018

Vastasiko tämä kysymykseesi?