Sie sind auf Seite 1von 36

TWS Install and setup TWS EE

TEMENOS EDUCATION CENTRE


Warning: This document, is protected by copyright law and international treaties. No part of this document
may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any
purpose, without the express written permission of TEMENOS HEADQUARTERS SA Unauthorized
reproduction or distribution of this presentation or any portion of it, may result in severe civil and criminal
penalties, and will be prosecuted to the maximum extent possible under applicable law. Information in this
document is subject to change without notice

Objectives

At the end of the session, you will be able to:

Install TWS EE
Generate web service
Deploy your application
Test your web service
Use strong data type in TWS EE

Slide 2

What is a Web Service?

Slide 3

TWS - Web Service Creation

Web
Server
Certificate
Server

T24
Application
Server

Developer

1
3
2

Slide 4

TWS - Web Service Communication


External Interface

Certificate
Server

4
T24
Application
Server

Web
Server
2

Slide 5

Why TWS?

TWS is a tool to expose Service Landscape as web APIs using JCA connectivity.

Compliant to industry standard tools and technology

Minimum dependent on T24 code and vendor specific components

Platform independent

Ease of deployment

Slide 6

Software requirements for TWS EE

Eclipse : requires JDK 6 or above

Ensure that the JAVA_HOME environment variable is set

Ensure that JAVA_HOME\bin folder is appended to PATH variable

Eclipse Juno with Web Tools Platform (WTP)

TWS (EE) Eclipse plug-in (TWS-PLUGIN)

Slide 7

T24 Web Services Composer (Java)

T24 system calls

T24
Server

T24 provides the service


definitions to be deployed via a
number of core system calls using
the same meta data as the UI.

XSD-based
representation of the
T24 business services

T24
Service
Definitions

Temenos plug-in using


JAXB & AXIS to generate
annotated classes.

Web
Services
Generator

Temenos Eclipse plugis coded to allow


browsing of the T24
business services, and
generation of the code
behind packages.

Generated
Annotated
Classes

Code behind
packages are
ready to
execute.

Web
Services
Packages

Web
Services
Interfaces
(WSDL)

Deploy
Annotated
Classes

JAXB (JDK)
AXIS2

generic

Supporting Technologies

Supporting Technologies

Eclipse developer tool is used to


manually deploy the code behind
packages (java only) to the target
runtime, which causes the runtime
to generate the WSDL. Otherwise
incumbent tooling is used for
creation based on .XSD

Deployment target
dependent on
selected vendor &
configuration of JEE
server.

Slide 8

04 February 2016

T24 setup to support TWS

Product required:
WS

Application to be used:
OFS.SOURCE
PW.ACTIVITY
EB.SERVICE

Slide 9

TWS - Service Definition

Slide 10

OFS.SOURCE

Attributes field should be left


blank to receive OFS Response
from the callOFS method as
native OFS response as shown
below

Slide 11

The first time you start Eclipse

Install Eclipse (with web tools platform). j2EE projects should be available in
eclipse to support TWS (Java).

Slide 12

T24 Plugins for Eclipse

Download T24Plugins and copy it to the dropins folder

Slide 13

Creating TWS project using Eclipse

Slide 14

Creating TWS project using Eclipse

Slide 15

Creating TWS project using Eclipse

Slide 16

Creating TWS project using Eclipse

Slide 17

Creating TWS project using Eclipse

Click here
to create
the service

Slide 18

Exporting the Web Service using Eclipse

Slide 19

Exporting the Web Service using Eclipse

Slide 20

Strong Typed WSDL

Strong Typed WSDL

Slide 22

Deploy the service created


tws.properties

Slide 23

Data type mapping

The T24 data types are: String, Currency, Date, Recurrence, Frequency,
Password, Amount, BlockText and imUpload
The Java types that are getting mapped with the fields in XSD as:
String for T24 types string like Currency, BlockText, imUpload,
Recurrence, Frequency, Password
Date - for T24 type Date
Decimal - for T24 type Amount

Mapping with specific data type

This is an example to show that the date is passed as string data in the earlier TWS java
version.

With the new TWS java version, the data type of the field is read from the SS and the
schema are mapped to the specific data type as shown below:

This ensures that only the valid data can be passed through the web service.

Restricting the data entered

You know that the CURRENCY field holds data of three character length. Earlier it was
allowed to enter any three characters input for the CURRENCY field.
But the new TWS java applies restrictions and hence the web service will accept only three
alphabets as an input.

Accessing the service

Start the application server (Run the run.bat in your jboss)

Test whether the web services are successfully deployed by browsing to the
following URL:
http://<host>:<http port>/<TWS Project name>/services
E.g. http://localhost:9089/TEMService/services
Slide 28

Testing Web Service with soap UI

Create a new project in soap UI and load the wsdl link which was created under
jBoss

Slide 29

Testing the web service using soap UI tool

Slide 30

Testing the web service using SOAP UI tool

Slide 31

Web service response in jBoss console

You can see the request and the response in the jboss running terminal.

Slide 32

Sample FT

Try-it-out

Create a Version for Account application

Create a web service for ACCOUNT version(that you have created)


using TWS Eclipse tool..

Use the SOAPUI tool to input record.

Note:
Create the Web Service with strong data types and check the schema
that got generated and create a new web service without strong data
type and check the schema that got generated.

Slide 34

Quiz

Description

Name the component !

Tool to expose existing T24


functionality via SOAP web
services.
Tool which can be used to test the
WSDL schema published by TWS
Mandatory products that should be
available in T24 installation to
enable TWS

Slide 35

Summary

In this unit, you learnt to

Install TWS Java


Generate, test and deploy TWS JEE web service
Use strong data type in TWS

Slide 37

Thank You

TEMENOS EDUCATION CENTRE


Warning: This document, is protected by copyright law and international treaties. No part of this document
may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any
purpose, without the express written permission of TEMENOS HEADQUARTERS SA Unauthorized
reproduction or distribution of this presentation or any portion of it, may result in severe civil and criminal
penalties, and will be prosecuted to the maximum extent possible under applicable law. Information in this
document is subject to change without notice

Das könnte Ihnen auch gefallen