Home
Concept Anchoring and Alignment Tool User manual
Contents
1. getTaxi l mM getTaxi Concept Anchoring and Alignment Tool User Manual 7 References 1 http en wikipedia org wiki Business_process 2 http en wikipedia org wiki Business_Process_Execution_Language 3 http docs REMOTE open org wsbpel 2 0 wsbpel specification draft html 4 Hewitt E 2009 Java SOA CookBook O Reilly Version 3 0 56
2. out12 Figure 45 The cascading mechanism using ideal operations matching The two inputs of the initial operation are finally cascaded with outputs of two already aligned operations in CCM through ideal operation I O matching Finally the inputs needed for Operation 1 to be invoked is only in6 Finally it should be noted that in the current version of CAAT the linking between the ideal operations is transparent to the users In a future CAAT version the linking Version 3 0 42 Concept Anchoring and Alignment Tool User Manual of input outputs between ideal operations will be also supported In this way any SP will be able to provide web service cascading at the ontology level 6 2 Linking Ideal Operations CAAT allows the creation of cascades between ideal operations By selecting the Link ideal operations option as it is shown in Figure 5 option no 6 the window that is shown in Figure 46 appears Two lists of all ideal operations that are defined in the ontology are shown in the left and right areas on this window In order for the user to link the parameter of two ideal operations which may belong to any available domain the following restrictions should apply The ideal operations cannot be the same Any input parameter can be linked only to an output parameter and vice versa ET Concept Anchoring and Alignment Tool Concept Anchoring and Alignment Tool LINK IDEAL OPERATIONS pan Business And
3. SDL Operation Operation Classification Score Ideal operations in Nutrition domain getDinner w 1 000 getDinnerIdeal v Inputs INPUT eo getDinnerldeal LJ category int WSDL Concept Name Ontology Concept Name Matching Score E Inputs P day int L category int L day int day day 1 000 BW Outputs category category 4 000 E return Dinner we ba L dinner string WW return h dinner string OUTPUT WSDL Concept Name Ontology Concept Name Matching Score dinner dinner 1 000 Save Current Allignment Test Invocation Create New Ideal Operation Upload Ontology Figure 37 Create a new ideal operation using the CAAT user interface 4 3 2 Add a new ideal operation in the Service Ontology We assume that a new Service Ontology has been created as described in Section 5 2 To add a new ideal operation select the class Operation in Class browser of the Prot g ontology authoring tool and create a new instance to this class in the Instance browser Selecting this new instance brings up the Individual Editor that shows the Version 3 0 33 Concept Anchoring and Alignment Tool User Manual following properties that should be filled in manually with appropriate data Figure 38 hasPreferredUIName Shows the name of the new ideal operation added as it will appear in the user interface of CAAT isPrototype This property should be true for every ideal operation belongsToPro
4. lt 8 lt 5 enumeration value kePercubicmeter gt enumeration value lbmFercubicfoot gt enumeration value lbmPergallonU Shq gt enumeration value slugPercubictoot gt enumeration value gramPercubiccerm enumeration value kilogramPerlter s gt zgi enumeration value metrictonFercurmeter gt enumeration value longtonPercubicyard gt zg enumeration value lbmPercubicinch gt enumeration value shorttonFercubic foot gt enumeration value lilogramPercubiccm s gt enumeration value aluminum gt Kgl enumeration value iron gt enumeration value copper gt 8 enumeration value lead gt enumeration value g0ld gt zs enumeration value siyer gt enumeration value water gt lt s Trestriction gt fs simple Type gt Figure 21 The definition of an element that has enumeration values gt ChangeDensityUnit Invocation Form 5 ChangeDensityUnit Inputs LJ DensityValue double L fromDensityUnit string toDensityUnit string Figure 22 Invocator identifies enumeration values and allows the user to select specific values from the allowed ones Version 3 0 22 Concept Anchoring and Alignment Tool User Manual 3 4 Edit web service metadata The third option provided on CAAT home screen Figure 5 is the ability to insert or edit WS metadata that will be used by the AmI platform for personalisation purposes The AmI reques
5. WSDL Operation while the matched operations in the ontology are Version 3 0 15 Concept Anchoring and Alignment Tool User Manual shown under the label Ideal operations in domain where domain is the name of the domain in which the web service has been classified By clicking on any real Operation parameter the corresponding aligned parameter that belongs to the ideal operation is highlighted Figure 13 In the column labelled Operation classification score a normalised measure of the accuracy of the matching process is listed for each one of the matched operations Finally the user has the option to accept or reject a given alignment proposed by the tool automatically In the latter case the option of manual correction of the resulted matching is still available If the alignment that the system recommends is not valid the user may change it by using drag and drop functionality operations see e g Figure 14 After the completion of this stage the user is able to select and save each one of the desired aligned operations by pressing the Save current alignment When an alignment is saved the tool creates for the selected WSDL operation the corresponding entries in the aligned services registry Additionally it creates and uploads to OR the corresponding ontology file that describes the alignment between the WSDL real operation and the corresponding ideal operation ET Concept Anchoring and Alignment Tool Concept An
6. e Actions toolbar Includes the following buttons o Simulate execution Executes the current business process Import BPEL file It loads a business process that is saved as a BPEL file Load business process Loads an existing saved business processes Save business process Saves the current business process Clear Cleans up the canvas O O O 0 The design of a new business process is performed in the Editor mode toolbar by using the Edit Graph option Any new business process has a Start and an End node A new node can be added by right clicking anywhere on the business process canvas and selecting Create node The list of node types that appears is shown in Figure 52 Each node type represents different semantics for the components that constitute a business process All nodes should be connected by arrows that are drawn automatically in the Edit mode when the user clicks and drags the mouse from one node to another For each one of them a different colour and shape is used These are illustrated in Figure 53 The various node types as they appear in a left to right order have the following meaning Operation Selection peration Assign Assign values If Wait Return Figure 52 By right clicking on the business process canvas area a list of available options appears stat E oO O dP a a DP Figure 53 The different types of nodes that may appear in a business process e Start End There
7. GW outputs Mappings latitude double p getLocation longitude double D getDateTime WW getTaxiwithCoordinates WW inputs latitude double L longitude double datetime long User Manual L return fint WW oetTaxiwithCoordinates WW outputs return TaxiResponse taxiNumber int taxiResponseTime int Figure 55 When a new Invoke node is added to the business process a prompt window appears Confirm Alignment Align latitude to w Figure 56 With drag and drop functionality the user can align an input or an output shown on the left to an output or an input respectively shown on the right Create logical expression Variable 1 Logical expression Variable 2 el Se Se l ad E Operations Wy getDateTime L inputs WW Outputs D return in WW getTaxiwithCoordinates WW Inputs latitude double L longitude double L datetime long WW Outputs E EF return TaxiResponse taxiResponseTime int W getLocation Figure 57 With drag and drop functionality the user can specify an if statement create a logical expression Version 3 0 48 Concept Anchoring and Alignment Tool User Manual e Wait This node is used in order to introduce a delay in the business process It is quite useful in those cases that one node should wait for some time after the execution of another node e g when a dynamic input is requested as a signal from a GPS
8. domain 0 184 add ventideal v ida E addEventIdeal Matching Score W Inputs LJ Email string WSDL Concept Name Ontology Concept Name L Password string P EventTypeID int p EventName string L BeginDate dateTime P EndDate date Time L Location string L InformationURL string P Description string WW Outputs L JD aAddEventResult int WSDL Concept Name AddEventResult description WW parameters contact end_date end_time event_tags id long_description start_date start_time Ontology Concept Name status Matching Score E auth_token E P token string W event p description string L contact string iP end_date string Y end_time string L event_tags string P fees string L id string L long_description string p organiser string L start_date string start_time string p title string L venue string WW Outputs W return L status string lt m gt Save Current Allignment Test Invocation Create New Ideal Operation Upload Ontology Figure 12 2 and 3 Level Classification results In case one or more of the aligned operations are matched incorrectly the user has the option to manually correct the ontology operations that match with the real ones by using a drop down list of all available ideal operations In the table depicted in Figure 12 the real WS operations are listed in the drop down list labelled
9. 14 Figure 9 Manual selection of the application GOMAIN cccccccssseeseeeeeeeeeeeeeeeeees 14 Figure 10 Manual selection of the application domaln ccccssseeseeeeceeeeeeeeneeeeees 14 Figure 11 Selection of the classification al gorithm cccccecccccccceeeeeeeeeeeeeeeeeeeeees 15 Figure 12 2 and 3 Level Classification results In case one or more of the aligned Operations are matched incorrectly the user has the option to manually correct the ontology operations that match with the real ones by using a drop down list of all available dear Opera ons enea tactile dace eas T a T eens ee Miran eencia Binchelaten 15 Figure 13 By clicking on any real operation parameter the aligned parameter of the corresponding ideal operation is highlighted cc ccseessseccceecceeeeeseeeeeeeeeeeeeeeeeees 16 Figure 14 CAAT drag and drop functionality allows users to manually correct the result of the automatic alignment process e eesssssssseeresssssssscerrsssssssseerressssssseeeeees 17 Figure 15 Warning message when not all inputs or outputs are aligned during saving PA AEE A A bec A E tuner E A E EN AAE eran aac eusr etal E E E AT 18 Figure 16 WSDL operation list with one operation aligned ccccccecessseeeeeeeeees 18 Figure 7 Web Service Invocation pane leen a a A 19 Figure 18 The results that are returned after the invocation of the real web service operation are shown both in
10. Alignment Tool DOMAIN CLASSIFICATION y Please type in the url location of the WSDL that describes your Web service or choose a file http 60 40 63 90 8084 axis2 services NutritionalAdvisorServices wsdl Vv Current Classification Model optimal Available Classification Models Data Preparation Parameters Word Parsing Parameters WordStemming true Singularize true FeatureOccurence Frequency NegativeDictionary true Create New Classification Model WordMinimumLength 2 lt Step 1 Data Preparation Step 2 Training Foran Select algorithm bayes NaiveBayesMultinomialUpdateable v Train Operation Names Operation Inputs Outputs gz Operation Documentation Step 3 Classifier output Word Parsing Singularize Stemming Stop words list Minimum word length 2 Feature Occurence Expression Frequency w Pre process Data Figure 34 Training a first level classification model Y Thing ObjectProperty hasInput E eia Ouran Device Range Concept Y D operationDomain Business_and_Money ObjectProperty hasOutput Y Tourism_and_Leisure Domain Operation Y Game Range Concept pe Scores i BTeam_Status i Holiday ObjectProperty hasServiceDomain Horoscope Domain Operation p cle Range Concept e B City List ObjectProperty hasType Country_List Domain Concept Language_List Movies Range Concept or DataType Y Music 7 Pla Objec
11. Available Classification model From this point on the service classification procedure is performed as described in Section 3 ET Concept Anchoring and Alignment Tool Concept Anchoring and Alignment Tool INPUT OUTPUT ALIGNMENT a e a Operation Classification Score Ideal operations in Transport domain caliTaxiByGPS 0 343 getNlowTaxiByGPSIdeal v E Inputs INPUT Gy getNowTaxiByGPSIdeal L date string WSDL Concept Name Ontology Concept Name Matching Score E Inputs L time string latitude latitude 1 000 LY latitude double L latitude double longitude longitude 1 000 LJ longitude double L longitude double time time 4 000 LY time string W Outputs date pe 1 000 L dientName string W return TaxiAnswer D date string p info string W Outputs L taxinumber int ww return P companyName string p taxiNumber int p info string OUTPUT WSDL Concept Name Ontology Concept Name Matching Score taxiNumber taxiNumber 1 000 info info 1 000 Save Current Allignment Test Invocation Create New Ideal Operation Upload Ontology Figure 33 When creating a new domain equal number of ideal operations to the wsdl operations are created but no alignment can be saved before the domain approval by the administrator 4 2 Service Ontology In order to annotate the various elements in a WS you can create various service ontologies similar to the official Service Onto
12. H P EndDate dateTime h J Location string J InformationURL string p Description string WW Outputs Concept Anchoring and Alignment Too INPUT WSDL Concept Name Description Email EndDate InformationURL Password Location BeginDate EventName INPUT OUTPUT ALIGNMENT e 7 a Operation Classification Score 0 184 Ontology Concept Name Matching Score description contact end_date end_time Confirm Alignment gt Align EventTypelD to event_tags User Manual Ideal operations in social_platform domain addEventideal v EF addEventideal W Inputs G parameters T Gy auth_token L J token string W event J description string a P contact string J end_date string J end_time string U fees string Se m J id string J long_description string J organiser string J start_date string J start_time string z p title string J venue string WW Outputs WW return L J status string L p AddEventResult int Cok Cancel OUTPUT WSDL Concept Name AddEventResult Ontology Concept Name Matching Score lt ma Y Save Current Allignment Test Invocation Create New Ideal Operation Upload Ontology Figure 14 CAAT drag and drop functionality allows users to manually correct the result of the automatic alignment process 3 2 1 An example of use The foll
13. Money v Business And Money Ideal insetaccount D insertAccount WW Inputs p accountiD long L cardiD int E soapAccount P inactiveAgeLimit long P usageAge long accountiD long D balance float L batchNumber long L brandiD long p creationDate dateTime L creatorinfo string p creditLimit float p currencylD long L debitBalance float p denomination float p endRoamDate dateTime p expirationDate dateTime p grouplD long L initialBalance float p lastUseDate dateTime p monitoredBalance float L phonePumber string U remark llong Save and upload links Ideal operation companySearch v E companySearch A WW Inputs E7 businessBasicData EF address p addressDirection strinc L address string WY coordinates latitude double iP longitude double L streetName string P streetNumber int p streetNumber string L city string p companyName string L linkiD string L phonePumber string P postalCode string L state string L city string p companies string P companyName string L linkiD string password string p unregisteredUserEmail string LD useriD int amp Outouts Figure 46 Link ideal operations main window If any of the above restrictions is not satisfied error messages such as the one shown in Figure 47 will appear Linking between two ideal operations is performed dragging from the
14. The classification of a WS in a given domain which is undertaken on the first layer implies that all operations that are included in the WSDL document belong to the same domain as well In the second classification layer any WSDL document that represents a WS is analysed into its operations The purpose of automatic classification of operations is to allow automated annotation of operations apart from WS classification and thus facilitate more automated ways of service invocation Architecture Positioning with respect to the other components The CAAT has been implemented as a standalone application in Java However it communicates with the OR through the CCM that operates as a middleware Also CAAT communicates to the service registry that has been implemented as a rational database system which is part of the CCM The communication between the CAAT and the CCM is performed via software interfaces that are shared between the middleware and the tool 1 2 Alignment of devices CAAT provides the capability to align ontological descriptions of devices against semantically corresponding concepts in the hyperontology in a way similar to the one applied for the alignment of web services The alignment process is undertaken by the same algorithms used for web service alignment In order to enable alignment of devices each device to be aligned should be linked to a web service interface that is used in order to control the device Typical operation
15. be successful and the newly created classifier to support the new domain the ontology administrator should approve the ontology in ORATE and move it from the Pending Approval to the Web Services category This is required before proceeding to the next step The following process is required for manually training a new classifier that corresponds to a newly created domain In order to start training go to the initial panel that is shown in Figure 34 and press the Create New Classification Model The extended panel that appears in Figure 34 allows you to initiate the training process This involves the following steps in this order 1 Data preparation To start the data preparation stage press the Pre Process Data after selecting the appropriate parameters or leaving the default choices more details on the classification parameters can be found in project public deliverable D1 3 2 Data Content Connector 2 Training After the previous step is completed you may select an appropriate classification algorithm e g NaiveBayes and start the training process by pressing the Train button Version 3 0 29 Concept Anchoring and Alignment Tool User Manual 3 Saving Model Once the training process is completed you may save the newly created model This is named automatically based on the current date and time The name of the newly trained classifier that supports the new domain appears on the list of the
16. constructing loops declaring variables copying and assigning values defining fault handlers and so on By combining all these constructs new complex business processes can be defined in an algorithmic manner By pressing the Import BPEL button which is located on the Actions toolbar Figure 59 in CAAT business process window any BPEL process can be imported As soon as a new BPEL file is loaded in CAAT the corresponding business process appears as a flowchart on the business process canvas Figure 51 In this way any service provider using any BPEL designer such as the Netbeans BPEL Designer depicted in Figure 70 can create a process file and import it into the CAAT tool and then execute it CAAT will automatically recognize the sequence of invocations and assignments of the imported process and integrate as a new Web Service The Version 3 0 54 Concept Anchoring and Alignment Tool User Manual specifications of the BPEL 2 0 language can be found in 2 while general information and examples in 2 3 4 lt xml version 1 0 encoding windows 1253 gt lt process lt import lt import lt import lt import name newProcess targetNamespace http enterprise netbeans org bpel BpelModule2 newProcess xmlns http docs oasis open org wsbpel 2 0 process executable xmlns xsd http www w3 org 2001 XMLSchema xmlns sxt http www sun com wsbpel 2 0 process executable SUNExtension Trace xmln
17. is only one Start and only one End node in each business process diagram The Start node indicates the point at which the business process begins The End node represents the terminal node of the business process These nodes appear in any new diagram by default and are obligatory e Invoke This type indicates any node that is related to a specific executable operation defined in a specific web service When a new Invoke node is added to the diagram the window shown in Figure 54 appears that allows the selection of a specific aligned operation to participate in the business process through the particular Invoke node There are three views In the first one By domain we can see all operations per domain Figure 54 The second view By provider lists all operations per service provider whereas the third one Business Processes shows all previous business processes that have been Version 3 0 46 Concept Anchoring and Alignment Tool User Manual saved so that they can be inserted into a new business process as well resulting in more complex business processes e Assign This node should be added after at least two Invoke nodes have been previously added in the business process diagram in order to allow the assignment of input and output parameters with each other For example when the output parameter x of the getLocation operation is assigned to the parameter latitude of the getTaxiWithCoordinates operation each time that th
18. s output parameter for cascading purposes Finally the property hasCostForCascading is used to define the amount of money that is charged each time the specific output is used for cascading Additional parameters that are defined for this property are similar to the ones defined for the hasCost property Version 3 0 37 Concept Anchoring and Alignment Tool User Manual Table 2 Specific Business Rules for web services hasCost Cost double Currency String EUR USD GBP etc Payment charge String with possible values Per invocation Per month Per year Unlimited freeAllowedDaysOfInvocation int only if hasCost gt 0 Counting is started at first invocation allowedWSDLsForCascading Array of Strings only if allowCascading true If no values are specified all WSDLs are allowed for cascading use Only if allowCascading true Cost double Currency String Payment charge String with possible values Per invocation Per month Per year Unlimited has CostForCascading cost for using this operation s outputs for cascading After the alignment process the business properties are described within the web service ontology file OWL which is uploaded to the ontology repository ORATE and after verification the new web service with these rules is available for invocation by the end user User profile will hold information about end user s payments and transactions on web services operations 5 2 Defining business rules in C
19. sensor in the getLocation operation assuming that the user is moving The wait node has one parameter that specifies the duration of the delay in sec e Return This node is necessary in every business process and should be the last node in a business process It is used in order to produce as an output a value which is calculated after the execution of one or more of the involved operations The user may select which output objects will be returned via a Return node using the window shown in Figure 58 that appears as soon as a new Return node is inserted onto the canvas After a business process is created it can be saved by pressing the Save business process button located on the Actions toolbar Figure 59 The GUI prompts the user to enter a name of the business process and select a domain into which the business process should belong Each time the Load business process is pressed the window that is illustrated in Figure 60 shows a list of all previously saved operations per domain that the user may load and edit select objects to be returned E Outputs B Return outputs mY Ey oetTaxiWithCoordinates w RY E Outputs P taxiNumber int E return TaxiResponse LJ taxiResponseTime int LJ taxiNumber int LJ taxiResponsetTime int getLocation E GH Outputs R E return location LJ x double LJ y double Figure 58 The user may select which output objects will be returned via a Return node Import BPEL file Sa
20. that run in the background in order to provide synchronization between the local copy of the ontology and the ORATE repository and to provide increased performance when trying to parse already aligned services More specifically a background process ensures that the local copy of the ontology 1 e loaded ontology in the current CAAT instance is always synchronized with the one stored in ORATE Therefore if an ontology file 1s added or deleted to ORATE by another provider a warning message appears to CAAT prompting the user to update Version 3 0 23 Concept Anchoring and Alignment Tool User Manual synchronize his local ontology Service providers are highly recommended to update their ontology in such cases in order to avoid any potential mismatches Another background process is parsing all aligned WSDL services in order to gain performance when provider requests to view any aligned services ET Concept Anchoring and Alignment Tool My aligned services W demo user a GP hitp 160 40 63 90 8084 axis2 services Tae gt BB hitp 160 40 60 234 11223 075f76c4 ead D E hitp 10 0 2 3 1122 43b2 97fb b83c 3 ED hitp 160 40 63 90 8084 axis2 services ScoreKeeper D ED hitp 85 9 23 204 8080 0ASISTraining OASISTraining D ED hitp 160 40 60 234 11223 21fa5411 cheb 4219 afbf GP hitp 160 40 60 234 11223 21fa5411 c6eb 4219 afbf a GDP hitp 160 40 60 234 11223 ed2fc7 ac 013c 49d6 98ds 3 GP hitp 160 40 60 234 11
21. type matching Special focus at this alignment is given on lexicographic and data type matching in order to prevent unsuccessful cascaded invocations The supported UI that is part of CAAT in addition to the automatic alignment option also supports manual selection with drag amp drop functionality Furthermore the ability of exploitation of ideal operations belonging to other domains is supported for generalization purposes Once the matching is performed the aligned real operation with the highest ranking is selected for invocation purposes Thus the cascading mechanism is applied between the input parameters of a real operation and the output parameters of another real operation as illustrated in Figure 44 Composite Operation x Operation y Service Z Inputs Inputs Inputs Outputs Outputs I Figure 44 The result of cascading mechanism between two operations x y The aligned pairs i 03 and 73 04 result in a unified cascaded operation with two inputs and two outputs Version 3 0 41 Concept Anchoring and Alignment Tool User Manual In Figure 45 the cascading mechanism is presented at the ideal operation level The real operation Operation I and its inputs outputs are aligned through third classification level to the Ideal operation I Then an automatic or manual alignment is performed that results in matching of inputs ins and ing with the appropriate ideal operation s outputs in thi
22. 1l dict CCM WSDLWORDSParsingLevel OperationsNames 1 CCM NegativeDirectory Wordnet e l dict COM TrainedModelDir models CCM TrainedModelDirendLevel modelsendLevel Figure 2 File ccm properties In this file the user may appropriately define values for runtime parameters such as the location of the CCM database service registry the location of various auxiliary folders that are created dynamically and a set of other parameters concerning the functionality of the tool Version 3 0 9 Concept Anchoring and Alignment Tool User Manual 2 1 Requirements CAAT executable has some requirements in order to run properly In order to communicate with ORATE CCM and service registry the terminal that runs CAAT should have access to the ports 3306 4848 and 8080 Additionally it should be mentioned that CAAT executable encounters some GUI performance issues when running under JDK version 6 20 Therefore JDK version 6 21 is recommended Version 3 0 10 Concept Anchoring and Alignment Tool User Manual 3 Basic CAAT operations The CAAT is a tool intended for the following users e service providers who are willing to register a new service into the OASIS platform e device developers who want to align the functionality of their devices into the OASIS ontology By registering a new service through CAAT the service becomes available to the OASIS platform thus it is capable to be invoked by any end user application By adding a new devi
23. 223 c631eck4 644a 45a0 a5f8 J GP hitp 160 40 60 234 11223 396 6ffec 25de 4b76 8790 J GP hitp 160 40 60 234 11223 c673503c dfe3 4003 bce D ED hitp 160 40 60 234 11223 e0ed1800 83ad 44bf Sbb a ED hitp 160 40 60 234 11223 7931ee3d 9bb5 4416 bet 3 GP hitp 160 40 60 234 11223 7931ee3d 9bb5 4416 bet J GP hitp 160 40 60 234 11223 c4e0fa43 5b62 45b0 a02 J GP hitp 160 40 60 234 11223 0c9fc39a c94b 48b5 8afe j w hitp 160 40 60 23 88834 8183 4a96 83 a HP hitp 160 40 60 234 11223 102dc64d db72 424b 8et D HP hitp 160 40 60 234 11223 102dc64d db72 424b 8et J GP hitp 160 40 60 234 11223 17f7f416 114b 412c b67F J HP hitp 160 40 60 234 11223 12385bf3 1680 475b a4a D GP hitp 160 40 60 234 11223 491 edff3 b3af 4b7e ad71 J ED hitp 160 40 60 234 11223 246684e5 f8cb 4223 ae9 D GP hitp 160 40 60 234 11223 f32023cd 5fa9 4caf beb0 D ED hitp oasis netsmart gr SWPLTranslation Translation D ED hitp iwww websericex net sendsmsworld asmx wsi D ED hitp iwww innovalia org proyectos oasis soap2 auth D ED hitp www innovalia org proyectos oasis soap2 agen D ED hitp www innovalia org proyectos oasis soap2iwire J ED hitp oasis netsmart gr SWPLCalendar Calendar ws D ED hitp www innovalia org proyectos oasis soap2ifriend amon A w Concept Anchoring and Alignment Tool EDIT MY ALIGNED SERVICES p Test Invocation Business Processes Invoke business process E demo user callTaxiBP L get Taxi
24. AAT The capability to define business rules in the ontology has been added to the CAAT implementation A provider may insert business rules to his aligned operation either by right click on the operation tree at the third classification step or by the service metadata option as in Figure 41 W transport P findRoutesIdeal 1 Metadata Common Parameters SDL Operation getTaxiWithCoordinates v EF Inputs latitude double LD longitude double L datetir WY Outputs E E7 return TaxiResponse p taxiNumber int L taxiResponseTime int INPUT WSDL Cont latitude longitude datetime LD getairportinfo 0 LJ Planideal 1 findPoisideal 1 p findRouteldeal 1 P getRasterMappingSycGroupsIde p J findGeocodeFromCoordinatesId findaddressFromGeocodeldeal p getCartobasesIdeal 1 D getBusConnection 0 LD getNowTaxiByGPSIdeal 2 p getRoutingEnginesIdeal 1 getRastermapideal 1 p transformBoxIdeal 1 D transformCoordinatesIdeal 1 L findaddressFromCoordinatesIde L getVersionideal 1 p getAvailableCountriesIdeal 1 J findaddressideal 1 P getNowTaxiByAddressIdeal 2 D getTrafficInfo 0 LJ getPoisIdeal 1 L getNearestBusStop 0 getFlightInfo 0 USER ID 1284108024875 ALIGNMENT ID 1492 Age Category Young elderly Elderly Sex Male Language Select languages Impaired Category Select categories Old elderly Female
25. Concept Anchoring and Alignment Tool User Manual O ASE NTOLOGIE OS S OASIS Open architecture for Accessible Services Integration and Standardization GRANT AGREEMENT 215754 Concept Anchoring and Alignment Tool User manual SubProject No SubProject Title Open system reference architecture user interfaces platform and tools Workpackage No WP1 3 Workpackage Title Content Connector and Ontology Management Tools and Interfaces Authors per company if more than D Kehagias CERTH K Giannoutakis one company provide it together Version and Status F final D draft Version 3 0 RD revised draft File Name CAAT usermanual v3 0 pdf Project start date and duration 01 January 2008 48 Months Version 3 0 1 Concept Anchoring and Alignment Tool User Manual List of Abbreviations Content Anchoring and Alignment Tool IPR_ Intellectual Property Rights S o RDF Resource Description Language o Z o Z o Z SOAP Simple Object Access Protocol O Z oS o OR_ Ontology Repository S Ontology Repository for Assistive Technologies Ul Userinterface o Document History Version Date Author s March 2010 D Kehagias June 2010 D Kehagias September 2010 D Kehagias K Giannoutakis October 2011 D Kehagias K Giannoutakis Version 3 0 2 Concept Anchoring and Alignment Tool User Manual Table of Contents LIST OF ABB REV TA ETON wccieicasscecsaceseadeucnckscecescadsc
26. Health Status Countries Cities Select countriesicities Business Rules Set business rules Save Figure 41 Service Providers may define business rules to his operation at third classification level or at the metadata frame Version 3 0 38 Concept Anchoring and Alignment Tool User Manual In Figure 42 the business rules editor is presented The service provider can insert all the information described in Table 2 in order to apply the rules to his operation Moreover SPs can browse and select those specific aligned operations that are allowed for cascading Available options to choose from are by domain service provider or by company illustrated in the window of Figure 43 E gt Select business rules for operation get TaxiWithCoor dinates Sele Cost for operation invocation Cost 0 0 currency EUR w charge PER_INVOCATION a Free allowed number of invocations Free allowed days of invocation o Should the operation allow cascading Yes a Cost for using this operation s outputs for cascading Cost for cascading 0 0 currency EUR charge PER INVOCATION w Allowed WSDL s for cascading Give wesdl s URL Browse aligned operations Selected URL s for cascading All a OK Cancel Figure 42 The business rules editor Version 3 0 39 Concept Anchoring and Alignment Tool User Manual E Select allowed WSDLs Companies L Puffas D CERTH ITI E demot 4 CERT Drag a node and drop
27. The user may select the parameters of the data preparation and training processes that lead to an appropriate classifier 36 Figure 41 Service Providers may define business rules to his operation at third classification level or at the metadata Tame mcccesneenen a a 38 Froure 42 The BUSINESS r les editor ius senencewtsectactel petaienuiesucioupe iatyaaedtdab ants usauevedsans 39 Figure 43 Drag and drop functionality in order to add WSDL files allowed for CAS CANIN insae Gotan suse ieh sla piaeeihre ia Sates aici daceeG E nm oniaueee aehsatae 40 Figure 44 The result of cascading mechanism between two operations x y The aligned pairs 71 03 and 13 04 result in a unified cascaded operation with two inputs LIVNI OO S tacuetec et T se puesttutace sien ual atacand 4 Figure 45 The cascading mechanism using ideal operations matching The two inputs of the initial operation are finally cascaded with outputs of two already aligned operations in CCM through ideal operation I O matching Finally the inputs needed for Operation 1 to be invoked is Only INO ce eeeeeeeeeeeeeeeeeeeeeeceececceeeeeeeenaaeaaes 42 Figure 46 Link ideal operations main WINdOW ccccseeeecceeeececeeeeeeaaeeeeeeeeeeeees 43 Figure 47 An error message appears when the user tries to align two input or two QUED UL pame leE S n a e en demmesnetess 43 Figure 48 Confirmation window for linking two ideal operation parameters 44 F
28. advisor messageType ns getDailyMenuRequest gt lt variable name GetTaxiWithCoordinatesIn xmlns ins http uws messageType ns get TaxilithCoordinatesRequest gt lt variable name GetTaxiWithCoordinatesOut xmlns ins http ws messageType ns get Tax illithCoordinatesResponse gt lt variables gt lt sequence gt lt receive name Receivel createInstance yes partnerLink PartnerLinki operat ion getTaxilithCoordinates xmlns ns lt invoke name Invoke2 partnerLink PartnerLink3 operat ion getTaxiWithCoordinates portType ns0 TaxiRequestPortType lt assign name Assigni gt lt copy gt lt from gt GetTaxiWithCoordinatesOut1 parameters nsO return ns1 taxiNumber lt from gt lt to gt GetDailyMenulIn parameters ns2 category lt to gt lt copy gt lt copy gt lt from gt GetTaxiWithCoordinatesOut1 parameters nsO return ns1 taxiResponseTime lt from gt Figure 69 A part of a BPEL process file Figure 70 Graphical representation of a BPEL process in the Netbeans BPEL designer Version 3 0 newProcess amp PartnerLi PI Start l mM _ getArray 0 Recgivel 5 getArray Invgke2 NSS y getDaily fe _ A Assiant heusagte getLunch PartnerLi S T Invgkel eS A getBreak getTaxi MH Process End Pr hha mM getWeel aan getTaxi SA getArray mM getDinne PartnerLi
29. ain Transport Operation getTaxi city Domain Geographic Operation getGeoLocation L code string W coordinates _ latitude double longitude double ipAddress string LD dateAndTime long licensekey string W street p municipality string L streetName string L postalCode string L streetNumber int L province string R d L streetNumber string G i W outputs L city string taxiNumber int GW coordinates latitude double L longitude double W country P country string p countryCode string L countrylD string P description string P location string number string U postalCode string p state string type string P zip string taxiResponseTime int Save and upload links Figure 49 Link ideal operations window Success n F Linking successfully saved OK Figure 50 Confirmation window for linking two ideal operation parameters Version 3 0 44 Concept Anchoring and Alignment Tool User Manual 6 3 Howto Create and Edit a Business Process In addition to linking ideal operations which results in the creation of a business process at the ontological level CAAT provides the ability of cascading real web services and thus creating business processes of multiple web services by different service providers The result is a composite service with more complex functionalities with as compared to its constituents The overall
30. ain a new domain with available data The creation of a new domain has therefore some prerequisites that the service provider has to consider The WSDL file that wants to integrate to the new domain should have at least two operations in order to build and train classification models at the 2 classification step Additionally the service provider should have to submit local WSDL files that represent the domain and will be used as training data for classification purposes at the 1 classification Step 4 1 Create a new application domain To create a new application domain click on the Change Domain Button on the panel that appears after the completion of the first level classification process that is described in Section 3 2 Figure 28 On the drop down menu that appears select the lt Create New Domain gt option The pane depicted in Figure 29 appears Concept Anchoring and Alignment Tool Concept Anchoring and Alignment Tool Your Web service was Classified to domain Business And Money Change domain ET Choose domain Please choose the domain you think your Web service belongs to Business And Money wv Communication A e learning Geographic Health Nutrition Tourism And Leisure Transport Figure 28 By pressing the Change Domain button the user may select to create a new domain Domain Mame fT Domain Ul Mame Create Domain and Upload Upload Training data for domain Fi
31. and old elderly sec cto Sex male female service support Does the web service support Common Impaired Category OASIS user s impaired category Does the web service support Health Status permanent temporary psychological and health status Cit Does the web service support y OASIS user s current city List of countries that are Countries supported by web service Version 3 0 23 Concept Anchoring and Alignment Tool User Manual ET Concept Anchoring and Alignment Tool Concept Anchoring and Alignment Tool EDIT METADATA OF ALIGNED SERVICES ky Ideal Operations Gy Domains Metadata Common Parameters W Device cer wua 1288860411283 WD Social_Platform WW communication W amp e learning CERTH ITI p getAllCourseDescriptionsIdeal 172 p getCategoriesSerializedIdeal 1 p getCourseldeal 1 p getCourseDescriptionsSerialized L getResourceldeal 1 p getEverythingAsBytesIdeal 1 P getEverythingIdeal 1 p getEverythingAsBase64Ideal 1 kgiannou iti gr hitp 85 9 23 204 8080 OASISTraining OASISTrainingService wsdl Young elderly Elderly Old elderly Male Female L getAllNewsIdeal 1 Select languages p getProviderLogoAs100x50PNG p getProviderLogoAs150x75PNG authenticateldeal 1 Health Status CC P Impaired Category Select categories Countries Cities r getProviderGoToCourseUriPatte Select countries cities LJ getCategoriesByLocale 1 Business Rules PT a p g
32. anual 1 Introduction The purpose of Concept Anchoring and Alignment Tool CAAT is to align the functionality of the provided services and or devices with the ontologies stored in the ontology repository i e ORATE The concepts of the same or different application areas after being aligned with other ontological concepts are able to anchor in the hyper ontology thus being ready to be used seamlessly through the tool Modifications to the aligned concepts are feasible using a user friendly functionality that hides the complexity of the conceptualised connections from the user 1 1 Alignment of Web services The tool provides a fast and easy way to classify SOAP web services based on their WSDL description files As opposed to the most common available service classification techniques which deal with the classification of WSDL documents into different application domains the technique developed for CAAT s purposes focuses on the classification of all structural elements of a WS 1 e it structures operations and their input and output parameters into different classes that describe operations of the same application domain and their parameters respectively A typical view of a WSDL file is illustrated in Figure 1 Appropriate XML structures are used to annotate the various WSDL structural elements Amongst these a WSDL file uses the operation XML element in order to annotate WS operations while the input output elements are used for
33. ary 0 year J aetetettinerary 0 setRoomavailability 0 l Mandatory J getPos 0 J getRoomavaitability 0 J loaditineraryLine 1 YJ plantrips 1 wsdl aligned input year LJ loadBookingsF orltinerary 0 J getHolidays 3 LJ resetitineraryLine 2 BW transport int Figure 17 Web Service Invocation panel Version 3 0 19 Concept Anchoring and Alignment Tool User Manual ET Concept Anchoring and Alignment Tool Concept Anchoring and Alignment Tool a INVOKE SERVICES FROM ONTOLOGY w A a wsdl operation v Clear Output Ideal Operations Alligned Operations Operation ame sore WW Domains INPUTS _ e B business_and_money E GetTotaiSocialEvents IE GetTotalSociaiEvents E communication BW inputs W Outputs W geographic W eventDate EventDate Es E nutrition C month positiveinteger 12 tourism_and_leisure L year int 1980 L getReservations 0 Q day tint 12 L getCategories 1 L getvenue 1 L toadTrips 1 getvenues 1 L saveTrips 0 deleteTrips 0 createltinerary 0 deleteltinerary 0 P setRoomAvailability 0 OUTPUTS _ GetTotaSocialEventsResult Output value 4 L getPols 0 L getRoomAvailability 0 L loaditineraryLine 1 L planTrips 1 L toadBookingsF orltinerary 0 D getHolidays 3 resetitineraryLine 2 W transport f Request SOAP Message Result SOAP Message lt x
34. ber of input parameters has been assigned to real values there is at least one real WS operation that can be invoked The invocation of the real WS operation is performed by pressing the Invoke button The results that are derived from the real WS after the invocation of its selected operation are illustrated in Figure 18 These are shown both in the form of a SOAP message SOAP request and SOAP response or in terms of their content whenever this is possible e g when an output can be expressed as a known primitive data type such as integer string etc In the example shown in Figure 18 after the WS invocation the value of the output parameter called GetTotalSocialEventsResult is the integer number 4 ED Concept Anchoring and Alignment Tool aE x A Concept Anchoring and Alignment Tool r INVOKE SERVICES FROM ONTOLOGY v a ideal operation y Invoke Ideal Operations Alligned Operations GG Domains 1 INPUTS Operation Name sore W business_and_money GW date COMPLEX E communication D date datetime GetTotatsocieverts 0106 B geographic date string E nutrition D da E tourism_and_leisure a Carun getReservations 0 ff L month tint Y getCategories 1 J month string L D getvenue 1 J notificationDate dateTime loadTrips 1 z3 L D getvenues 1 U language string f t eor sternry fintt wv wv saveTrips 0 deleteTrips 0 createttiner
35. bjects will be returned via a Return 1018 l PEE IA E A E ce ee E P E E S T E eee ee meee E 49 Figure 39 ACUONS OOlDdE sesiooni a E E ere eres 49 Figure 60 Load business process WINdOW sssssseeseeeereesessssssssssssseseeerererreesssssssss 50 Proure0 Business TUles 001 Dal recse 50 Figure 62 In the Set business rules window the pricing policy associated with the use of the business process is determined enessssssssoeeesssssssseeeressssssseceresssssssseeeees 51 Figure 03 View total COSU WAN Ws rises tais E E S 5I Figure 64 Manual assignment of values to input parameters ssesseeeeeeeesesssssssse 52 Figure 65 The business process execution is visible on the canvas eeeeeeesssessses 53 Figure 66 Simulation properties WINdOW ccccccsssssssssssesseeeeecccecceeeeeeeeeaeeeeaeeeeeeeeees 33 Figure 67 Business process output windoW ssssssssoeeessssssssceerrssssssseceeessssssseeeeees 53 Figure 68 Available business processes of operation getTaxiWithCoordinates 54 Figure 09 A part Ol a BPEL process Me ceinanniiesnence a Siieiees 55 Figure 70 Graphical representation of a BPEL process in the Netbeans BPEL a SNE AEE E S E E E E E E E term A E E E E 55 List of Tables Table 1 Meti data parine o Sen EEE 23 Table 2 Specific Business Rules for web ServicCes cccessecceceeceeeeseeeeecceeeeeeeeeeeeees 38 Version 3 0 6 Concept Anchoring and Alignment Tool User M
36. c673503c dfe3 4003 bce9 da757e43be3d switchable wsdl S E hitp 160 40 60 234 11223 e0ed1800 83ad 44bf Sbb8 c9edba3ffe89 signaling wsdl 3 E hitp 160 40 60 234 11223 7931ee3d 9bb5 4416 beb2 c679b8193174 switchable wsdl e S GD hitp 160 40 60 234 11223 7931ee3d 9bb5 4416 beb2 ch79b8193174 dimable wsdl nope dence S GD hitp 160 40 60 234 11223 c4e0fa43 5b62 45b0 a021 f7be7330fc50 switchable wsdl Invoke business process 3 E hitp 160 40 60 234 11223 0c9fc39a c94b 48b5 8afe c44733267 ed9 switchable wsdl J m hitp 160 40 60 234 11223 03283834 81383 4a96 837 1 55ea9236dc1 1 baiteryStateProvide S E hitp 160 40 60 234 11223 102dc64d db72 424b Se6b 790c98fab905 lightSensor wsdl S E hitp 160 40 60 234 11223 102dc64d db72 424b 8e6b 790c98fab905 buttonProvider wsdl S D hitp 160 40 60 234 11223 f7f7f416 114b 412c b67f 16ad266461 1d switchable wsdl E demo user S E hitp 160 40 60 234 11223 12385bf3 1680 475b a4a4 fode50bbfdb 1 switchable wsdl p callTaxiBP 3 DP hitp 160 40 60 234 11223 491 edff3 b3af 4b7 e ad7 1 6c62221 1fdf1 buttonProvider wsdl D S E hitp 160 40 60 234 11223 246684e5 f8cb 4223 ae98 027884c7e1fb switchable wsdl 9 D hitp 160 40 60 234 11223 f32023cd 5fa9 4caf beb0 0860c71167b7 powerConsumptionMe 9 D hitp oasis netsmart gr SWPLTranslation Translation wsdl 9 D hitp iwww websericex net sendsmsworld asmx wsdl L get_Today_Menu 9 D hitp www innovalia org proyectos oasis soap2 auth php wsdl L getTodayMenuByBuiton D hitp i
37. ce the device is mapped in the hyperontology and becomes visible in the ontology repository Other users could also make use of CAAT such as researchers and practitioners in order to test the alignment processes between services and for research and improvements of the alignment process When running CAAT for the first time the tool asks for authentication 3 1 User authentication CAAT supports user registration in order to assure that only authenticated users enter the system and store user information User registration is required because only authenticated users may register a new service or device into the OASIS platform or remove assets from it In the initial CAAT window the tool prompts the users to enter using their credentials Figure 3 At the same time CAAT downloads automatically the latest ontology from the ORATE ontology repository Login to CAAT Username demo Password eee Login Register Figure 3 Initial CAAT window that prompts the user to enter a username and a password If the user does not have any account he she may create one by pressing the Register button and entering the required data in the form that appears Figure 4 After successful login users may choose one of the following basic functionalities performed by the tool as shown in Figure 5 1 integrate services into the platform 2 manually invoke one registered service 3 edit information meta data about the aligned WSs 4 edi
38. ce Invocation The user has the option to check out the invocation of any operation by manually inserting values to their input parameters This option is included in CAAT for testing purposes and in order to make sure that each one of the aligned operations is able to be invoked and returns the appropriate content value This option is available to the user either on the initial option window shown in Figure 3 for aligned operations or at the 3 level classification process through the Test invocation button The invocation panel is shown in Figure 17 By using the invocation form from the initial window the user is able to view also the aligned concepts of the ontology On the WS invocation panel the user may select an ideal operation that has been aligned with real WS operations For the selected ideal operation a list of possible Version 3 0 18 Concept Anchoring and Alignment Tool User Manual inputs 1s shown Among those inputs the user may find the ones that have been matched aligned to the input parameters of the aligned operations after the 3 level classification process The WS invocation panel allows users to insert values to those parameters that correspond to real WS operations In the example shown in Figure 17 the user inserts the value 1980 into the year input parameter The user can switch the view to the real operation by selecting Wsdl operation at the drop down list When the minimum required num
39. ce Ontology using the Prot g ontology authoring tool 4 3 Create a new ideal operation When a web service operation does not match semantically with any of the existing ideal operations a new one should be created Ideal operations are abstract ontological descriptions that describe the semantics of the corresponding real operations that are included in WSDL files There are two ways to create an ideal operation 1 within CAAT and 11 by manually creating a new Service Ontology 4 3 1 Create a new ideal operation in CAAT CAAT provides through its user interface the ability to create a new ideal operation This is required in two circumstances a when a new domain has been created and new ideal operations should be defined in the new domain b a web service cannot be classified correctly in one of the existing ideal operations of an existing domain therefore a new ideal operation should be created to semantically describe the current service Before creating a new ideal operation you should perform a 2 and 3 level classification of a newly inserted web service as described in Section 0 To create a new ideal operation that corresponds to a particular real operation select the real operation for which you want to create the new ideal operation and press the Create New Ideal Operation button that appears on the 2 and 3 level classification results panel Figure 37 A new ideal operation appears on the right panel
40. choring and Alignment Tool INPUT OUTPUT ALIGNMENT e SDL Operation Operation Classification Score Ideal operations in social_platform domain AddEvent w 0 184 addEventideal v Inputs INPUT W addEventIdeal LJ Email string WSDL Concept Name Ontology Concept Name Matching Score E Inputs L Password string Description description BW parameters B auth_token Email contact L EJ token string LJ EventName string EndDate end_date BW event P BeginDate dateTime Information URL end_time kaai L EndDate dateTime anm mm L Location string se id es LJ InformationURL string Location ican lence alien me P Description string BeginDate start_date Outputs i P AddEventResult int aa aes 2 Cee D long_description string P organiser string start_date string start_time string title string venue string GW Outputs BW return L P status string OUTPUT WSDL Concept Name Ontology Concept Name Matching Score AddEventResult status a gt Save Current Allignment Test Invocation Create New Ideal Operation Upload Ontology Figure 13 By clicking on any real operation parameter the aligned parameter of the corresponding ideal operation is highlighted Version 3 0 16 Concept Anchoring and Alignment Tool Lia Concept Anchoring and Alignment Tool an p Email string Password string i l EventName string BeginDate dateTime
41. d it should be up and running In case as service is not operational 1 e the service is offline an error message appears such as the one shown in Figure 9 Version 3 0 13 Concept Anchoring and Alignment Tool User Manual a a This WSDL is already aligned by another service provider ok Figure 7 A warning message that appears when the user tries to align an already aligned service E Concept Anchoring and Alignment Tool i da N Concept Anchoring and Alignment Tool DOMAIN CLASSIFICATION p Your Web service was classified to domain Tourism And Leisure Change domain Figure 8 1 Level Classification results la A No response from Web Service LOK Figure 9 Manual selection of the application domain As it is shown on this window the CAAT provides the option to manually change the domain to which a web service is classified in the first step J level classification By clicking on the Change domain button the user may select an alternative domain from the drop down list that appears in Figure 10 If an operation of the current WSDL file is already aligned to another domain a warning message appears on the status bar while the Next button is deactivated prohibiting the user to align the operation to another domain The user has also the option to manually create a new domain in case that none of the existing domains adequately describes the current WS The details of this process a
42. dditionally equal number of real operations will be created as annotated ontology files to the created ideal operations in order to be the training data for the 2 classification step Version 3 0 28 Concept Anchoring and Alignment Tool User Manual This may be a time consuming process but it is essential in order to have an automatic way of creating new application domains Upload Training data for domain Training data sethas been uploaded Figure 31 The user presses the upload training data for domain button in order to provide the web services to be used as training data for training the new domain E open x Look In D my Documents 25 T He D Downloaded Installations DD My Pictures DD Updaters D Downloads D My Received Files D Visual Stud D eRoom Files for Offline Editing PO My Shapes DD To Google t D GWord DD My Videos D My Cmaps DD Projects DD My Music D Updater C gt Files of Type wsdl files v Upload selected files Cancel Figure 32 The user is prompted to upload wsdl files to the training data repository After uploading the ontology files and training the necessary models the tool shows the 3 classification step Figure 33 where the user can view the created ideal Operations in the newly created domain In order for an alignment to be saved firstly the domain has to be reviewed and approved by an administrator A Attention In order for the training process to
43. e At this point the user has either the option to continue in the next step 1 e to launch the alignment procedure or to create a new classification model by pressing the corresponding button This part should be normally transparent to the users but it is included as a new feature in the tool in the last version of the tool in order to allow experimentation with various methods and techniques This functionality exists for research purposes e g to draw useful conclusions about which algorithm or combination of algorithms and corresponding parameters lead to an optimised solution regarding the concept matching accuracy according to the three aforementioned classification layers The details of the new model creation and training are described in chapter 4 It should be noted that if the selected classification model does not correspond to the available domains e g the model was created in the past with less domains compared to the ones that now exist then a warning message will appear By pressing the Next button the tool checks if the current web service is already aligned by another web service provider and if this holds an error message appears preventing the user to align this web service Figure 7 After this check and if the web service is not aligned by any other service provider the classification process runs and the results appear after a few seconds on the window illustrated in Figure 8 In order for a web service to be aligne
44. e business process will be executed the getLocation operation will be invoked before the getTaxiWithCoordinates operation so that the value of its output parameter x passes as a value of the input parameter latitude As soon as a new Assign node is inserted in the diagram a window like the one in Figure 55 appears Only assignments between input and output parameters are allowed 1 e no input parameter can be assigned to another input parameters neither any output parameter is allowed to be assigned to any other output parameter In order to assign one parameter to another click on the source 1 0 parameter that appears on the left panel of the window that is shown in Figure 55 and drag it onto the 0 1 destination parameter on the right panel A confirmation window like the one shown in Figure 56 appears and the i o mappings appear in the middle panel Select an operation to invoke _ By provider _ Business processes T i E Smart_Workplaces E setNotification L composeMail E Inputs LJ setStatus L userid int L eventid string P reminderMinutes int getAvailableLanguages r E Outputs Q addSmartEvent 2 return in deleteEvent YD updateEvent LJ retrieveAllEvents L addNewEvent P retrieveSingleEvent L getMails L getUserStatus P setUserStatus D setUserWorkflow LJ getUserWorkflow L getContentList getNewsList L getNotificationList Figure 54 When a new Invoke
45. e simulation can be interrupted each time the Abort simulation button is pressed The progress of the execution is also reported on the test area of the Simulation properties window where a list of log messages appears as the execution goes on After the invocation of the business process the window shown in Figure 67 appears that shows the value of the output 1 e Return node of the BP amp Inputs GP oetTaxiwithCoordinates inputs m Te l ali d datetime Optional long 31122012 Figure 64 Manual assignment of values to input parameters Version 3 0 52 Concept Anchoring and Alignment Tool User Manual Edit Graph Pick Nodes Move Graph Invoke getLocation Invoke getTaxiWithCoordinates Zoomin If taxiNumber 1 Zoom out If taxiResponseTime gt 5 Set business rules View total cost Import BPEL file Save business process Load business process Figure 65 The business process execution is visible on the canvas Simulation properties aAA Outputs of Business Process E Outputs J taxiNumber int 289 LJ taxiResponseTime int 5 Abort simulation Simulation speed 250 750 1000 INVOKING OPEralon geti axivWwiInLoorainatl es lf taxiwumber 1 returned false If taxiResponseTime 5 returned false Figure 66 Simulation properties window Figure 67 Business process output window Another way for
46. esxcasscceseisuatunssacneotasserieaanicaeans 2 DOCUMENT HISTORY essciscctecs scan cecticcd soeciccscetiainssesadecdsckheadbcecsatcelaccdecdcvsdesecubbesess 2 TABLE OBR CON TEIN ES oiire a a aa eE 3 TEES FOR PIG UIRES wavcacicdesiwsscideescdedeweccatadccurceaseseusaececwacetesecuscsdsevesnekaeassvidssectwtcsscsebnesse 4 LAST OR STA BUGES aonana eds ee 6 Be INTRODUCTION orses ae E E aa 7 1 1 ALIGNMENT OF WEB SERVICES sceccscececscecececccscscucccecscececesescscecesescscucess 7 E2 ALIGNMENT OF DEVICES uerai EE E E Redowaadens 8 2 SIN aN ooreis ri EEEE AERA 9 2 1 REOUIREMEN T Sna e a a e a a a a ae 10 32 BASIC CAAT OPERATIONS aena aaa 11 3 1 RISER EAU DHE NIC ATION anrea a N 11 3 2 PUD DAs NEWS ER IC Bete a O E T a 13 She PV CMOMIDLC OF USE cis Gacscdas sie weds AA a 17 3 3 MANUAL SERVICE INVOCATION ceccsceccscecccecscececcsceccscecscscsescusescecesees 18 Sle SPECAL COS CS aasa a teiahoutiandanteueney 20 3 4 EDIT WEB SERVICE METADATA ecccceccsceccececcccecescecctececescecescecsescucescucesees 23 35 EDIESER VI Gh hee eee ene ae EC ee OE Pon ee PSST EER SP RU eA A 24 3 6 CAAT BACKGROUND PROCESSES cccsccecoccececcececcscaccececsscnceccscetcscacsececsees 25 4 CREATING AND TRAINING NEW CLASSIFICATION MODELS 27 4 1 CREATE A NEW APPLICATION DOMAIN ccescececcececcececccceccscscscscesesceceseeceees 27 Ae SER VICE ONTOLOGY scstnci th tartsnerte erica eae en Aeon eae eet 30 4 2 1 Manual Creation o
47. etProviderNameldeal 1 p getAllCourseDescriptionsSerializ p getProviderUrlIdeal 1 P getCourseDescriptionsIdeal 1 D getProviderLogoAs125x62PNG E nutrition 5 v Apply these metadata to all wsdl s operations Apply Save Figure 24 By the third option the user may insert metadata to describe web service properties These are used for personalisation purposes Any service provider can edit the parameters for the selected operation and save them to the registry by corresponding forms as the ones that are illustrated in Figure 25 Among the various options that are available the Business Rules properties are described in detail in Section 5 Creating Business Rules 3 5 Edit services The fourth option provided in the introduction window shown in Figure 5 is the ability to view or delete all user s aligned web services By pressing Next in the main screen CAAT parses all user s aligned WSDL operations this can be a time consuming process and presents them as it is shown in Figure 26 It should be noted that if during the time of parsing the WSDL operations a WSDL URL does not respond it will not appear in the aligned operations tree The user has the option to delete an alignment of an operation or the aligned operations of a WSDL file as in Figure 27 Additionally he can test the invocation of any of his aligned service by pressing the Test Invocation button It should be mentioned that by delet
48. execute file run bat in the CAAT installation directory CCM Domainstet domaing CCM secondbLevel Feature OUccurence Expression Frequency CCM LocalWSDLFilesServiceUrl http 160 40 50 57 0080 CCH LocalWSDL CCMs LocalWsDLiervice Wwapk COM WSDLWORDSParsingLevel OperationslONames 1 CCM StenWords 1 CCM OntologyRepository ontology CCM secondLevel WADLWORDSParsingLevel Operations lO0Names 1 CCM Testaet tests CCM UseNegativeDictionary 1 COM AlgorithmLevelThree v CCM secondbevel Stenlfords 1 CCM secondLevel WADLWORDSParsingLevel OUperationsDocumentation 1 CCM WSDLWORDSParsingLevel OperationsDocumentation 1 CCM DatabaseName oasisdh CCM AlgorithnLevelO0ne 0 CCM secondbLevel MinimunWordLength 2 CCM MinimumllordLength 2 CCM Feature Uccurence_ Expression Frequency CCM Trainset training COM ServiceProviderProftilelwsDbLUrl http 160 40 60 230 6000 axtise fservices ProviderProfilelWs wsdl CCM DatabaselP 160 40 50 57 CCM Singularizelords 1 CCM secondLevel WADLWORDSParsingLevel OperationsNames 1 CCM WordNetDirectory Wordnet 0 dict CCM User oas1lsuser CCM ExperimentResulta experimentResults COM AlgorithnLevelTwo 0 CCM secondLevel UseNegativeDictionary 1 CCM HOME CCM secondbLevel Singularizelords 1 CCM OntologylImportaRepository imports COM Pawd oasieles CCM OrateUrl http ontologies informatik uni bremen de 5080 bloportal ontologies CCM UseOrate 1 CCM secondLevel NegativeDirectory Wordnet e
49. f a new DOMAIN cccccccseecccccecenesseeeecsaaesssseessaaaessees 32 4 3 CREATE A NEW IDEAL OPERATION ccccceccscecccceccscececcecscscesescesesceceseeceses 32 4 3 1 Create a new ideal operation in CAAT cccccccccccssseesssecescccccasnensseeeseees 32 4 3 2 Adda new ideal operation in the Service Ontology cccccccccccsessseeeeseeeees 33 4 3 3 Add new concept classes that describe the I O of the operation 35 SA TAO EEE ET coach OA teats eanet iui teense A 35 5 CREATING BUSINESS RULES esesccccsccccococococococococococecococeceseseseseceseseseseseseo 37 5 1 SUPPORTED BUSINESS RULES cccscecsceccscecscececcsceceececescscsescesesceceseeceses 37 I2 DEFINING BUSINESS RULES IN CAAT cccccccceccscecccscescscesescececescecesceses 38 6 BUSINESS PROCESSES WEB SERVICE CASCADING u ceceeee 41 6 1 INRODDU OTIO eee eee ee ane weir ene cre tren eo NOPE ne RP ete a ee es ae 41 6 2 LINKING IDEAL OPERATIONS cceccscecccceccececcccecescececcscecescecscscecescesescecesees 43 6 3 HOW TO CREATE AND EDIT A BUSINESS PROCESS csceccsceccececcscecesceceses 45 6 4 BUSINESS PROCESSES AND BUSINESS RULEG cccescececcececcsceccscecescecesceceses 50 6 5 EXECUTION OF A BUSINESS PROCESS csccscecescecscececcsceccscecescecesescecescecesees 51 6 6 IMPORTING EXTERNAL BPEL PROCESSES cccecescececcecescececcscececcecesceceses 54 Te REFERENCES icciicccilic
50. from GPS LD Handle lights p getTaxiln5minutes LD get_Today_Menu P getTodayMenuByBuiton Figure 26 The aligned operations panel ET Concept Anchoring and Alignment Tool My aligned services We er PU OS SU UU UI OAS EIS SCIVILCOIULUISCINS SPS A 9 ED hitp 35 9 23 204 8080 0ASISTraining OASISTraining a ED hitp 160 40 60 234 11223 21fa541 1 cheb 4219 afbf J ED hitp 160 40 60 234 11223 21fa5411 cBeb 4219 afbf D ED hitp 160 40 60 234 11223 ed2fc7ac 013c 49d6 98d WD hnitp 160 40 60 234 11223 c631ecf4 644a 45a0 a5f8 D ED http 160 40 60 234 11223 3966ffec 25de 4b76 879C WD hitp 160 40 60 234 11223 c673503c dfe3 4003 bce D ED hitp 160 40 60 234 11223 e0ed1800 83ad 44bf 8bb D ED hitp 160 40 60 234 11223 7931ee3d 9bb5 4416 bet D ED hitp 160 40 60 234 11223 7931ee3d 9bb5 4416 bet D ED hitp 160 40 60 234 11223 c4e0fa43 5b62 45b0 a02 3 ED hitp 160 40 60 234 11223 0c9fc39a c94b 48b5 8afe J wd hitp 160 40 60 234 11223 03288834 8183 4a96 83 9 ED hitp 160 40 60 234 11223 102dc64d db72 424b 8eet I ED hitp 160 40 60 234 11223 102dc64d db72 424b 8eet 3 ED hitp 160 40 60 234 11223 f7f7f416 114b 412c b67f 3 ED hitp 160 40 60 234 11223 12385bf3 1680 475b a4a 3 ED hitp 160 40 60 234 11223 491 edff3 b3af 4b7e ad71 a ED hitp 160 40 60 234 11223 246684e5 f8ch 4223 ae9 D ED hitp 160 40 60 234 11223 f32023cd 5fa9 4caf beb0 a ED hitp oasis netsmart gr SWPLTranslation Translation 9 ED hitp iwww websernicex net sendsm
51. gure 29 New Domain Name and description option Version 3 0 27 Concept Anchoring and Alignment Tool User Manual Directions are given in what follows for the creation of a new domain In the Domain Name field write a unique short name identifier e g edu that will describe the ontology in the repository while in the Domain Description field write the name of the Domain as you would like it to appear in the tool and to the end user e g Education Press the Create Domain and Upload button in order to create the new domain in the form of an ontology that will be uploaded on ORATE As soon as the ontology will be uploaded on the ORATE repository a confirmation message as the one shown in Figure 30 shows up However it takes some time for the ontology to appear in the ORATE website http orate iti gr E Orate response Your request for a new ontology update has been sentto the ontology administrator After verification of your proposed change in the ontology you will be notified about the status of your request and the ontology update process Domain Name edu Domain Ul Name Education Orate response lt xml yersion 1 0 encoding UTF 8 lt success gt Create Domain and Upload saccessedResource bioportal ontologies lt accessedResource saccessDate gt 2010 09 20 15 15 38 39 UTCs accessDate lt sessionid c308332ea9dal1d88d4874c1 PbOch1af907d115cas sessionid j Upload Training data f
52. hat are defined within the ontology web service providers are able to define which web service operations will be free of charge and which ones will be payable providing also the corresponding cost for them In addition to this the web service providers can specify which service providers services are allowed to be chained to their own services through a service cascading scenario see previous chapter This will be made available during the service alignment process and in particular at the 3 level classification process which involves matching between input output parameters of web service operations The payable operations will be visible to all end users however only those users who have paid for particular web services will be able to invoke the corresponding operations Those operations for which no specific business rule is applied are assumed to be free of charge Business rules can be also defined for individual operation s outputs The service provider can determine which web service operations outputs will be available for free viewing after the invocation of the particular service and which ones will be available at a specific cost Moreover service providers may define IPR regarding the participation of their web services in a service chain that is composed of multiple simple services by different service providers In a typical web service cascading scenario see Section 6 a composite service z may be defined from two o
53. igure 49 Link ideal operations Window ssessiciisnice i a e 44 Figure 50 Confirmation window for linking two ideal operation parameters 44 Figure 51 Business process editor Right toolbox includes the basic operations that the editor supports In the main area a business process may be designed using basic WOLKLIOW COMPONIST sta agucnermeiatenans 45 Figure 52 By right clicking on the business process canvas area a list of available OP LLONS APPEAR 46 Figure 53 The different types of nodes that may appear in a business process 46 Figure 54 When a new Invoke node is added to the business process a window appears that prompts the user to select among the aligned operations the one that should participate in the business process ce eeeeeesseceeecceeeeeeeeeecceceeeeaeeeseeeeeeeeeeeaas 47 Version 3 0 5 Concept Anchoring and Alignment Tool User Manual Figure 55 When a new Invoke node is added to the business process a prompt Vindo w ADD CANS a caccnasrctshtiasard saicssautinadue aaeashuay lad nce eauatasadaneh deraaumaioonbaduamnenasees 48 Figure 56 With drag and drop functionality the user can align an input or an output shown on the left to an output or an input respectively shown on the right 48 Figure 57 With drag and drop functionality the user can specify an if statement catodon icak expressi OD arenn a a eaneresdnictemeiriaetan 48 Figure 58 The user may select which output o
54. ing an alignment the service registry and OR are updated by deleting the appropriate entries and ontology files correspondingly Version 3 0 24 Concept Anchoring and Alignment Tool Select supported countries cities Bulgaria Czech Republic Finland France C Plowdiy C Frague gt Helsinki Faris Oo Sofia Oo Erno O Marseille Ostrawa O Toulouse Great Britain Greece Hungary Italy O London O Athens O Eudapest C Milan Oo Hewcastle O Thessaloniki C Saronno C Liverpool O Trikala C Florence Poland Portugal Slovakia Spain C Wroclaw C Forto 5 Bratislava C vigo O Warsaw O Lisbon Select Impaired Category support Sele Impaired Category C Lower limb impairment ET Select supported languages Wheelchair users Languages Bulgaria gt Czech Republic Upper limb impairment O Upper body impairment France Germany O Physiological impairment C Psychological impairment Greece Cognitive impairment vision impairment Netherlands Poland Hearing impairment O communication producing and receiving difficulties ee ee Slovakia gt Multiple disabilities Normal Figure 25 Various forms for inserting metadata parameters 3 6 CAAT background processes User Manual O Germany B Berlin Oo Kaiserslautern Netherlands B Amsterdam O Rotterdam C Hague al gt Finland Great Britain Italy Portugal CAAT has some processes
55. invoking a business process is via the Edit services option no 4 on the main screen of CAAT Figure 5 In the example that is shown in Figure 68 the user selects in the Business Processes panel bottom right a business process called get Taxi from GPS By pressing the Invoke business process button above the business process canvas appears Figure 65 allowing the execution of the business process through the Simulate Execution button Version 3 0 53 Concept Anchoring and Alignment Tool User Manual My aligned services EF demo user S ODP hitp 160 40 63 90 8084 axis2 services NutritionalAdvisorServices wsdl a DP hitp 160 40 63 90 8084 axis2 services TaxiCall wsdl 9 E hitp 160 40 63 90 8084 axis2 services TaxiDemand wsdl E hitp 160 40 60 234 11223 075f7 6c4 ead9 4ef0 960c e3fic7 15fa2d switchable wsc 9Aalewitcha S DP hitp 160 40 63 90 8084 axis2 services ScoreKeeper wsdl S D hitp 85 9 23 204 8080 0ASISTraining OASISTrainingService wsdl S E hitp 160 40 60 234 11223 21fa541 1 cheb 4219 afbf 4bed42596c68 consumerSwitchMonit 3 D hitp 160 40 60 234 11223 21fa5411 cheb 4219 afbf 4bed42596c68 bultonProvider wsdl 3 DP hitp 160 40 60 234 11223 ed2fc7 ac 013c 49d6 98d9 cccbb40bbefc switchable wsdl S GD hitp 160 40 60 234 11223 c631 ecf4 644a 45a0 a5f8 6c517d265bae switchable wsdl S D hitp 160 40 60 234 11223 3966ffec 25de 4b76 87 90 6b5f9f897 ae0 switchable wsdl a E hitp 160 40 60 234 11223
56. isible in CAAT 4 3 4 Training After the training data has been created as described in the previous section the training process can be instantiated The purpose of training is to create a new classifier in a way similar to the one adopted for first level classification process that will support the new ideal operations A trained classifier will be able to classify the operations of any real arbitrary service to the ideal operations that are defined in the ontology Training can be performed after a WS has been classified in a particular domain first level classification and before the 2 and 3 classification occur By Pressing the Create New Classification Model button on the Selection classification algorithm panel after the Ist level classification is completed the panel is extended as shown in Figure 40 This panel provided by the tool in order to allow selection of the appropriate combination of parameters that are related to the creation of a new model It provides a set of different sub panels for data preparation and training This functionality is provided to the users as an optional feature and it especially exists for experimentation purposes with different parameters since there is practical evidence Version 3 0 35 Concept Anchoring and Alignment Tool User Manual that the modification of these parameters can affect the quality of the classification method Similarly to the first level classification training proce
57. itto the allowed weal ist below L InFo X W ITACA Figure 43 Drag and drop functionality in order to add WSDL files allowed for cascading Version 3 0 40 Concept Anchoring and Alignment Tool User Manual 6 Business Processes Web Service Cascading 6 1 Introduction The term business process is a collection of related structured activities or tasks that produce a specific service or product serve a particular goal for a particular customer or customers It often can be visualized with a flowchart as a sequence of activities 1 By web service cascading we refer to the process of linking web service Operations the one next to the other so that at least one of the interconnected Operation s input is provided as an output to another linked operation Web service alignment is implemented in REMOTE at the ideal operation level By using the new UI components introduced at the cis alignment level service providers are able to explore one domain s ideal operation outputs in order to match them with the inputs of their service specific operations The service providers have the option for automatic or manual match search within the outputs of domain s ideal operations The matching process parses all ideal operations of the domain the service was classified to by default and performs a composite matching scheme More specifically the matching algorithm consists of three levels of matching lexicographic structure and data
58. logy ProfileHierarchy ow that is stored in the ORATE repository under the Web Services category and it is loaded each time CAAT starts Any new ontology that is manually created to describe a service and its domain should adhere to the structure of the ProfileHierarchy owl A snapshot of this ontology is shown in Figure 35 a The main structural elements of the service ontology skeleton that forms a template for the description of any service in the context of OASIS are the following e Class serviceDomain This class describes the domains in which a WS is classified in the first level e Class operation This class describes a WS operation used for the second classification level e Class Concept This class describes various I O operation parameters e Object properties hasInput hasOutput hasServiceDomain hasType belongsToPrototype These properties are required for the description of the input output and the application domain to which an operation belongs In addition the property belongsToPrototype is used to indicate if the current Version 3 0 30 Concept Anchoring and Alignment Tool User Manual operation is a real or an ideal one These properties are defined in Manchester syntax as shown in Figure 35 b e Datatype properties hasName hasPreferredUIName These properties are required for the description of the operation and its inputs and outputs ET Concept Anchoring and Alignment Tool Concept Anchoring and
59. ml version 1 0 encoding utf 8 gt lt soapenv lt oxml version 1 0 encoding utf 8 gt lt soap En Yv wi Figure 18 The results that are returned after the invocation of the real web service operation are shown both in the form of a SOAP message or by their content whenever this is possible 3 3 1 Special Cases Arrays of elements Arrays of elements can be defined in an input of a WSDL file such that the user can submit an input with multiple values For example in Figure 19 the invocator identifies that the object Stops consists of an array of TripStop objects TripStop and prompts the user to add as many elements within the array as he wants In Figure 20 the user has added two additional TripStop objects to the array Enumerations Some WSDL file definitions include enumerations in some of their inputs that prohibit users to enter any other value except from the ones that belong to a predefined list of values For example the definition of the element Densitys is restricted to the set of values shown in Figure 21 In such a case the invocator identifies the specific values that are defined in the enumeration list and prompts the user to select one of them as potential value to the input parameter In the invocation frame shown in Figure 22 the user presses the Select value button and gets the list of accepted values that are defined in the Enumeration list as it is shown in Figure 23 It is then u
60. n 3 0 7 Concept Anchoring and Alignment Tool User Manual message name GetForecastByZipSoapOut lt part name parameters clement s0 recastbyZipResponse gt lt message gt lt message name GetForecastByZipHttpGetin gt lt message name GetForecastByZipHttpGetOut gt lt message name GetForecastByZipHttpPostin gt lt message name GetForecastByZipHttpPos Operation lt portType name ForecastByZipSoap gt name Input message Stl PSSsaQe sU lt operation gt lt portType gt lt portType name ForecastByZipHttpGet gt lt portType name ForecastByZipHttpPost gt lt binding name ForecastByZipSoap type s0 ForecastByZipSoap gt lt binding name ForecastByZipHttpGet type s0 ForecastByZipHttpGet gt lt binding name ForecastByZipHttpPost type s0 ForecastByZipHttpPost gt lt service name ForecastByZip gt Figure 1 A typical WSDL file In this example we show the GetForecastByZip operation that includes the GetForecastByZipSoapIn input and GetForecastByZipSoapOut output parameter The details of these parameters e g their data types are defined under the message element In the ontology appropriate associations between ontological concepts are defined in the form of object properties to sufficiently annotate real WS and their structural elements For example the hasInput object property is defined in order to associate a WS operation with its input parameters
61. node is added to the business process a window appears that prompts the user to select among the aligned operations the one that should participate in the business process e Assign Values This node operates as the Assign node but it allows the assignment of constant values to any input parameter that appears in the business process e g the value 41 is assigned to the input parameter age e If This node is used in order to allow conditional execution of a business process When a new If node is added the window shown in Figure 57 comes up that allows the creation of a logical expression to be checked during the execution of the business process at the f node E g the definition of the If statement shown in Figure 57 and Figure 51 implies that when the business process execution workflow meets the f node the value of the taxiNumber parameter is checked If it is found to be equal to 1 which implies that the logical expression taxiNumber 1 returns true 1 e that no taxi is available right now the business process invokes the getLocation operation and the execution workflow starts over Otherwise the execution flow goes to the Version 3 0 47 Concept Anchoring and Alignment Tool Return node that is used to return an output value by one of the participating operations Mappings between I O WW Outputs WW getLocation WW Outputs return location x double LD y double WW getDateTime
62. or domain lt data gt lt ontologyBean lt id 3128 lt id gt 7 OK Domain edu successfully created Figure 30 As soon as the ontology is uploaded on the ORATE repository a confirmation message shows up This means that the ontology was been successfully uploaded A Attention When you create a new domain ontology in the way described so far this new ontology is automatically uploaded on the ORATE repository htip orate iti gr where it appears as a new ontology under the Pending Approval category The new domain will be only available after the ORATE administrator will finally approve the new ontological domain If the ORATE website for any reason is not operational this step cannot be completed After the ontology has been created and uploaded in ORATE the user presses the Upload Training data for domain button Figure 31 and in order to upload a set of local domain representative WSDL files that can be used as training data for the new domain A file selection dialogue window appears Figure 32 that allows the user to select the WSDL files and upload them to the training data repository When they are uploaded the user is ready to press Next in order to proceed By pressing Next some background processes are performed that are essential for the creation of the new domain More specifically equal number of ideal operations to the number of the wsdl operations are created and uploaded to Orate A
63. owing example illustrates the process followed by a service provider in order to enter a new service into the system Let us assume that a service provider launches the application and logins into the system Figure 3 In the window that appears use selects Integrate your service into the OASIS framework option Figure 4 and presses the Next button The user inserts the url of his working web service that corresponds to a valid WSDL description Figure 6 and presses the Next button The tool classifies the web service into the Tourism and Leisure domain Figure 8 He presses the Next button in order to proceed with the next window The Data Mining selection method is selected by default Figure 10 The user presses the Next button and in the next window Figure 13 the various alignments suggested by the tool for the included web service operations are shown The two drop down lists allow the selection of a particular ideal and real operation respectively The right drop down list containing all ideal operations from the classified domain is ranked as follows 1 If the operation is already aligned the aligned ideal operation will appear first on the list and 2 the remaining ideal operations are displayed in descending order according to the classification score of the second classification level Version 3 0 17 Concept Anchoring and Alignment Tool User Manual The user selects one real operation e g GetTotalSocialEvent
64. p to the user to select the appropriate value among the available ones that will be used as an input at the invocation process Version 3 0 20 Concept Anchoring and Alignment Tool User Manual ParkAndRide boolean Stops ArrayOtTripStap TripStop Tripstap LJ Type string Longitude double d Latitude double LJ Ia tint LJ DepartureMinimurm dateTime LJ DeparturemMaximum dateTime EF TransportModes TransporthodeEnumi z LJ Transporntwodes TransporthiodeEnum PS SortOptions TripSortOptions e Tripstop Optional TripStop Add Object to Array Figure 19 Example of an array element stop User is prompted to add elements to array _ i Stops ArrayOtTripStop m E TripStop Trip stopp m ET TripStop TripStap LJ Type string Longitude double Latitude double Id fir LJ DeparntureMinimum date Time p DepartureMasimurm date Time m EF TripStop TripStop p Type string Longitude double Latitude double tet tint LJ DeparntureMinimum date Time LJ DepantureMaximum date Time m OD TripStop TripStop p Type string Longitude double Figure 20 Inputs of the operation when user adds additional elements to array Version 3 0 21 Concept Anchoring and Alignment Tool User Manual lt s simpleType name Densitys gt lt s restriction base s string gt xg xg xS xg xg xS lt xg lt 5 a5 xg
65. r more single services x y where service x takes service y s output and uses it as an input For example web service provider A may define a business rule according to which only those services that are provided by providers A and B are allowed to use A s services output as their input Table 2 presents the specific business rules that are defined for both levels In particular the hasCost property determines whether the specific operation or output parameter will be provided at a specified cost which is expressed as a decimal number double with additional information such as the currency e g euro US dollar etc and the potential frequency of payment 1 e if payment is imposed per invocation or on a timely fashion etc The property freeAllowedNoOfInvocations 1s equal to the number of times that the specific operation is allowed to be launched free of charge Similarly the freeAllowedDaysOfInvocation determines the time in days that the operations may be invoked free of charge e g one month trial use The remaining properties are applied to the operation s outputs level Property allowCascading determines whether operation s outputs are allowed to participate in cascading configurations as e g the outputs 03 and o4 of the y operation illustrated in Figure 40 while allowedWSDLsForCascading determines the specific web services in terms of the location of their WSDL files that are allowed to access this Operation
66. re outlined in Section 4 1 ET Choose domain Please choose the domain you think your Web service belongs to Business And Money v Business And Money Geographic Nutrition Tourism And Leisure Transport Create New Domain Figure 10 Manual selection of the application domain After completing the first step the user may proceed to the next one that deals with the alignment of the WS operations into their ontological counterparts The first Version 3 0 14 Concept Anchoring and Alignment Tool User Manual action required by the user in the next wizard window is to select the classification algorithm to be used for the classification of the WS operations The user selects one out of the three options shown in Figure 11 Select Classification Method O Data Mining and Classification 2nd Level gt Data Mining Classification and Lexicographic 2nd Level Data Mining Classification and Lexicographic 2nd amp 3rd Level Figure 11 Selection of the classification algorithm The selection of the appropriate classification algorithm leads to the next step in the CAAT wizard that launches the classification of each one of the WS operations This is also known as 2 and 3 level alignment process An example is illustrated in Figure 12 ET Concept Anchoring and Alignment Tool Concept Anchoring and Alignment Tool INPUT OUTPUT ALIGNMENT e 7 Operation Classification Score Ideal operations in social_platform
67. rom the ontology repository A service provider who wants to add a new service should select the option Integrate your service into the OASIS framework in the initial CAAT option window Figure 5 The only required information for a service to be aligned is its URL In the example shown in Figure 6 the user enters the following URL http 160 40 50 81 WebServices Service asmx WSDL that corresponds to a valid web service in WSDL format Currently the tool supports alignment of SOAP services only Their semantic classification that results in the final alignment of their structure elements is based on information included in the WSDL description file Please type in the url location of the WSDL that describes your Web service or choose a file http 60 40 50 81WebServices Service asmx VSDL v Browse WSDL file Current Classification Model optimal Available Classification Models Details opima o S Delete Data Preparation Parameters Word Parsing Parameters WordStemming true Singularize true FeatureOccurence Frequency NegativeDictionary true Create New Classification Model WordMinimumLength 2 nal gt Figure 6 A user enters the URL of a web service In the panel shown in Figure 6 the current classification model is shown This model has been generated in a previous training session and it is necessary for the execution of the classification process that will be performed in the next step of the alignment procedur
68. s that is aligned to the ideal operation called getSocialEventList Among the output parameters of the real operation the one called month is incorrectly matched to the date instead of the parameter month which 1s the correct one In order to manually correct this mismatch the user uses the drag and drop functionality that the tool supports dragging the item called month from the left list and dropping it on the country item of the right list as shown in Figure 14 A dialog window then appears to ask for user s confirmation on the previous action Finally by pressing the Save current alignment button the alignment of the particular operation is saved into service registry as well as in the form of an ontology file that is uploaded as a mapping on the ontology repository If not all inputs and outputs are aligned with concepts in the ontology then a warning message appears as shown in Figure 15 The already aligned operations appear in bold font in the left drop down list Figure 16 fui Mot all operation s inputs or outputs are aligned h Are vou sure you want to continue Yes No Figure 15 Warning message when not all inputs or outputs are aligned during saving RetrieveEventList age GetTotalSocialEvents Getamountlfsocialevents BetsocialeventsMumber GeatsocialeventsFrom RetrievesocialList GetlitsacialList ge Social Figure 16 WSDL operation list with one operation aligned 3 3 Manual Servi
69. s example out5 and out are selected In order to make the mechanism more effective in terms of performance only ideal operations with aligned real ones are investigated for possible matching To this end an exploration is performed within CCM for aligned operations to ideal operations Ideal operation 2 and Ideal operation 3 These consequently are aligned to inputs ind and ing enabling the whole cascading invocation mechanism It should be noted that business rules in aligned operations are inherited through the cascading mechanism For example if output out7 in Figure 45 is aligned with an output that is set to be chargeable e g out7 then for the invocation of Operation 1 the end user has to provide the appropriate payment More details on CAAT business rules mechanism are provided in the next Chapter Ideal operation 2 Operation 2 Inputs Find the highest Inputs ranked real aligned operation with Ideal operation 2 Outputs Outputs Ideal Operation 1 operation 1 Inputs inl 3 classification method for ideal operations 7 ranking within in2 the domain Inputs cw We Fee elle ee Automatic or manual selection of ideal operations that their outputs matches ideal operation 1 s inputs Ideal operation 3 Operation 3 Outputs Inputs Find the highest Inputs ranked real aligned operation with Ideal operation in5 3 in6 Outputs
70. s sxed http www sun com wsbpel 2 0 process executable SUNExtension Editor xmlns tns http enterprise netbeans org bpel BpelModule2 newProcess xmlns nsO http ws xmlns insl http ws xsd x namespace http enterprise netbeans org bpel TaxiRequestWrapper location 160 40 63 90 8084 axis2 services Tax namespace http ws location 160 40 63 90 8084 axis2 services TaxiRequest wsdl importType http schemas xml namespace http enterprise netbeans org bpe1 NutritionaladvisorServicesUrapper location 160 40 63 90 8084 axi namespace http Nutritionaladvisor location 160 40 63 90 8084 axis2 services NutritionalAdvisorServices wsdl lt partnerLinks gt lt partnerLink name PartnerLink2 xmlns tns http enterprise netbeans org bpel Nutritionala dvisorServicesWrapper par lt partnerLink name PartnerLink3 xmlns tns http enterprise netbeans org bpel TaxiRequestUrapper partnerLinkType t lt partnerLink name PartnerLinki xmlns tns http enterprise netheans org bpel TaxiRequestWrapper partnerLinkType t lt partnerLinks gt lt variables gt lt variable name GetTaxiWithCoordinatesOuti messageType ns0 get TaxiWithCoordinatesResponse gt lt variable name GetTaxiWithCoordinatesIni messageType ns0 get TaxiWithCoordinatesRequest gt lt variable name GetDailyMenuOut xmlns ns http NutritionalAdvisor messageType ns getDailyMenuResponse gt lt variable name GetDailyMenuIn xmlns ins http Nutritional
71. s that a device web service should support include readValue activateDevice shutDownDevice and so on Thus CAAT treats devices as web services Any device web service belongs to the same domain which is called Device Therefore the result of aligning devices will be a set of ontology mappings between a newly incoming device described as a web service and the corresponding description in the form of an ideal operation defined in the hyperontology in the Device domain Version 3 0 8 Concept Anchoring and Alignment Tool User Manual 2 Installation Step 1 Unzip file CAAT zip in a folder e g D CAAT Step 2 optional CAAT requires the OASIS Content Connector Module to be up and running We assume that the CCM is located at a specific central point whose IP address should be specified in the CAAT configuration file ccm properties located in the CAAT installation directory A snapshot of this file is illustrated in Figure 2 In this file the user may appropriately define values for runtime parameters such as the location of the CCM service registry the location of various auxiliary folders that are created dynamically such as the ones used by training and create new classification model processes as well as a set of other parameters concerning the functionality of the tool If you leave the default values the CAAT will be connected to the default CCM with IP address 160 40 50 57 Step 3 In order to run CAAT
72. seicecoesce chains a aa 56 Version 3 0 3 Concept Anchoring and Alignment Tool User Manual List of Figures Figure A typical WSDL file In this example we show the GetForecastByZip operation that includes the GetForecastByZipSoapIn input and GetForecastByZipSoapOut output parameter The details of these parameters e g their data types are defined under the message eleMeNl c cc ceeceeeseccceceeeaeeeeeeeeeeees 8 Figure 2 File ccm properties In this file the user may appropriately define values for runtime parameters such as the location of the CCM database service registry the location of various auxiliary folders that are created dynamically and a set of other parameters concerning the functionality of the tool ccccsssessseeeeceeeeeeeeeseeeeeeees 9 Figure 3 Initial CAAT window that prompts the user to enter a username and a BASS ONG Aang treet here tide TIE E mete ere E E iat ded ep ae ane 11 Figure 4 CAAT user registration WIndow ssssssssseeeceereeeesssssssssssseeeeeceereeeesssssssssss 12 Fibre gt CAA T HOMO Sere Oeae a E 12 Figure 6 A user enters the URL of a Web Service cccecceececccceccecceceeeeeeeeeeeeeeeeeeeees 13 Figure 7 A warning message that appears when the user tries to align an already ANTS Wat 8 Btc 1 mA LS alee aan MA eee ne CRC Dir ORE ene apie aera oT Tea ee ane Tee eee 14 Figure 8 1 Level Classification results c c cccccccccccccssccsssscsssscescsssscsssscssssesssseeeeens
73. source left ideal operation parameter and dropping to the destination parameter icon right Please link an input from left with an output from right ok Figure 47 An error message appears when the user tries to align two input or two output parameters Version 3 0 43 Concept Anchoring and Alignment Tool User Manual When the user tries to link two parameters adhering to the aforementioned restrictions a confirmation window like the one shown in Figure 48 appears All linked operations through their 1 o parameters are shown in the list that appears in the middle area of Figure 49 Once ideal operation linking is complete the user can save links by pressing the Save and upload links On successful save the message shown in Figure 50 is shown The newly created linked operations are stored in the ontology repository Confirm Linking 42 Link city to city Yes No Figure 48 Confirmation window for linking two ideal operation parameters E Concept Anchoring and Alignment Tool ana Concept Anchoring and Alignment Tool O LINK IDEAL OPERATIONS NTOLOGIE my Domai Geographic v Ideal operation Ideal operation getGeoLocation YV D streetName string L streetNumber int P streetNumber string L city string L country string B Inputs dateAndTime Domain Transport Operation getTaxi datetime Domain Geographic Operation getDateTimeldeal P city string city Dom
74. ss process a window such as the one shown in Figure 64 allows manual assignment of input parameter values at runtime If all input parameters are assigned appropriate values within the business process through the Version 3 0 51 Concept Anchoring and Alignment Tool User Manual corresponding Assign nodes these will appear in this window as to be disabled in grey colour This means that no value is required to be manually assigned to any of the input parameters In the example shown in Figure 64 the user manually assigns the value 31122012 as an input value into the datetime parameter which is of primitive type long i e integer number with a high precision After pressing the OK button one time the business process is executed The execution flow can be viewed on the main canvas window where each active node in the business process is highlighted in yellow colour as it is shown in Figure 65 This produces an animated view of the business process execution In the above example the execution flow is currently passing through the If response time gt 5 node which is highlighted in yellow Each business process is executed with a default speed slowly enough so that it can be visible by humans The simulation speed can change using the slide bar located on the Simulation Properties window depicted in Figure 66 This window remains open during the business process execution and closes only as soon as the business process stops Th
75. ss the training process is completed in three steps data preparation training and saving of the created model The training process is be executed based upon the training dataset created in the previous step The result of the training process is the creation of the new classification model that takes into account the new ideal operation s that have been previously created You can create as many classification models as you want but each time only one can be selected for execution After the completion of the training process and the creation of the new classification model classifier some useful statistics are shown for this model in the corresponding text area Step 1 Data Preparation Step 2 Training i Select algorithm bayes NaiveBayesMultinomialUpdateable vw Train Operation Names Z Operation Inputs Outputs Operation Documentation Step 3 Classifier output Word Parsing Save Singularize Stemming Stop words list Minimum word length 2 Feature Occurence Expression Frequency Vv Pre process Data Figure 40 Create new classification model panel The user may select the parameters of the data preparation and training processes that lead to an appropriate classifier Version 3 0 36 Concept Anchoring and Alignment Tool User Manual 5 Creating Business Rules 5 1 Supported Business Rules From version 2 0 and on CAAT supports the creation and execution of business rules According to the business rules t
76. sssessssssssceresssssseseeeees 21 Figure 30 As soon as the ontology is uploaded on the ORATE repository a confirmation message shows up This means that the ontology was been successfully anode d a eRe me CRO oT Rr gt eee ree eC One G 28 Figure 31 The user presses the upload training data for domain button in order to provide the web services to be used as training data for training the new domain 29 Figure 32 The user is prompted to upload wsdl files to the training data repository 29 Figure 33 When creating a new domain equal number of ideal operations to the wsdl Operations are created but no alignment can be saved before the domain approval by GG adminis tiatre e cosachicet dsatieieiure E E ieetamsioen 30 Figure 34 Training a first level classification model eeesesesesssssssssssseeerrrresessssssssss 31 Figure 35 a Snapshot of the Web service ontology in Prot g b some of the most important object properties in Manchester notation ccccccecccccccccceeeeeeeeeeeeeeeeeeeees 31 Figure 36 Add new domain in the Service Ontology using the Prot g ontology AUT OP IVS Ookean a 32 Figure 37 Create a new ideal operation using the CAAT user interface 33 Figure 38 Creating a new ideal operation in Prot g eee ccccccceceeeeeeeeeeeeeeeeeeeees 34 Figure 39 Properties that contain information about I O of operations 66 35 Figure 40 Create new classification model panel
77. sworld asmx ws D ED hitp iwww innovalia org proyectos oasis soap2 auth 5 D ED hitp www innovalia org proyectos oasis soap2 agen 3 ED hitp www innovalia org proyectos oasis soap2iwire p 9 ED hitp oasis netsmart gr SWPLCalendar Calendar ws D ED hitp www innovalia org proyectos oasis soap2ifriend e hitp 160 40 63 90 8084 axis2 services TaxiRequest P D ED hitp oasis netsmart gr a ED hitp oasis netsmart gr SWPLWorkflowWorkflow ws J ww hitp oasis netsmart qr SWPLSites Sites wsd 9 DP hitp oasis netsmart gr SWPLDocuments Document D DA r m hito Woasis ne ato P Notifier Noti Concept Anchoring and Alignment Tool EDIT MY ALIGNED SERVICES a Test Invocation WW getTaxiWithCoordinates WW Inputs LJ latitude double L longitude double L datetime long WW Outputs GW return TaxiResponse taxiNumber int P taxiResponseTime int Business Processes Invoke business process D demo user callTaxiBP p get Taxi from GPS L Handle lights LD getTaxilnSminutes L get_Today_Menu Figure 27 The service provider has the option to invoke his aligned operations or to delete his aligned web services Version 3 0 26 Concept Anchoring and Alignment Tool User Manual 4 Creating and training new classification models In the special case where the service that an SP wants to integrate in the OASIS platform does not belong to any of the provided domains the user should create and tr
78. t is used to calculate the total cost of a business process which is equal to the sum of all specific costs at which the separate business process operations may be available as well as any potential cost assigned to the business process itself The calculation of total cost can be done at any time but it is strongly advised to have it done on the completion of the cascading process By pressing the View total cost button on the Business Rules toolbar the window shown Figure 63 appears providing a summary of all costs associated to the business process Set business rules View total cost Figure 61 Business rules toolbar Version 3 0 50 Concept Anchoring and Alignment Tool User Manual EJ Select business rules for business process EBR Figure 62 In the Set business rules window the pricing policy associated with the use of the business process is determined ES Business rules of business process Figure 63 View total cost window 6 5 Execution of a business process After saving a completely designed business process we can simulate its execution 1 e to watch how the business process is executed through the invocation of its subsequent operations In order to do so press the Simulate Execution button located at the Actions toolbar In case any of the required inputs among the involved Operations is missing a value e g due to the fact that no appropriate Assign node has been defined in the busine
79. t already aligned services 5 change personal information 6 link ideal operations 1 e operations defined in the ontology 7 create new business processes 8 download the latest ontology 9 log out The users may edit their profile at any time by pressing the Edit Profile button on the CAAT s home screen Figure 5 By pressing the Log out button the user end its CAAT session and the initial login window appears again Each one of the remaining functionalities is described in the next Sections of this manual Version 3 0 11 Concept Anchoring and Alignment Tool User Manual ET Registration Form Registration form for service providers Username Password eeeeceeeeee Confirm password g g eeeseeee L al Full name John Smith Company OASIS Com S A Address 10 Avenue St City Telephone 101 1110239821 smith oasis com com Cancel Figure 4 CAAT user registration window E Concept Anchoring and Alignment Tool 5 lada N Concept Anchoring and Alignment Tool O As B PLEASE SELECT AN OPTION NTOLOGIE lt Welcome demo user Figure 5 CAAT home screen Version 3 0 12 Concept Anchoring and Alignment Tool User Manual 3 2 Adda new Service The main functionality supported by CAAT is to allow service providers add a new service into the OASIS service registry The new service will be semantically aligned according to the Service ontology which is imported f
80. tProperty belongsToPrototype SocialEvents Domain operation serviceDomain Range operation a b Figure 35 a Snapshot of the Web service ontology in Prot g b some of the most important object properties in Manchester notation Version 3 0 31 Concept Anchoring and Alignment Tool User Manual 4 2 1 Manual Creation of a new Domain The Service Ontology supports the creation of a new domain In order to add a new domain select the class serviceDomain in Class browser of Prot g editor and create a new instance to this class in the nstance browser Selecting this new instance brings up the Individual Editor Figure 36 where there are two datatype properties that should be filled in manually with useful information from the user The first property hasPreferredUIName shows the name of the new domain added as it will appear in the user interface of CAAT The second property categoryName provides information about the category name of the new domain added For Project Profile_Hierarchy For Class serviceDomain For Individual amp serviceDomain_t Asserted i Inferred oat MH Class Hierarchy f ol E E owl Thing Asserted instances x vi Property 34 je LETERA An maiaa Datatype 7 Device operation 694 D serviceDamain 1 r m ie Ng hasPreferredUlName E ap faa Value Lang Figure 36 Add new domain in the Servi
81. the definition of the corresponding I O operations A WSDL file also includes other elements in order to specify the invocation details of its operations Thus any WSDL description represents a WS with the following hierarchy e The top level of the hierarchy is represented by the WS that is structured as a collection of operations and potential data type definitions e The WS operations that represent methods or functions that are invoked by the WS clients belong to the next hierarchical level e The bottom most level includes the input and output parameters of the WS operations With respect to the aforementioned analysis of the basic hierarchical levels that represent the internal WSDL structure we introduce a semantic classification schema composed of the following three levels e 1 classification level It concerns classification of a service into a particular application domain e 2 classification level It encounters matching of WS operations with the so called ideal operations that are defined in some of the ontologies that constitute ORATE e 3 classification level On this level WS operation inputs and outputs are matched with ontologically defined input and output parameters CAAT has been implemented as a standalone application in Java Its layout is based on a wizard based user friendly approach to facilitate users on the execution of the steps required for the completion of the alignment process Versio
82. the form of a SOAP message or by their content whenever SIS POSSIDIC crann A stent 20 Figure 19 Example of an array element Stop User is prompted to add elements to a eaea a a E E EE E cde tee as 21 Figure 20 Inputs of the operation when user adds additional elements to array 21 Figure 21 The definition of an element that has enumeration values 0008 22 Figure 22 Invocator identifies enumeration values and allows the user to select specific values from the allowed OnesSiunenicrccicio a E 22 Figure 23 The list of allowed values defined in the Enumeration 008 23 Figure 24 By the third option the user may insert metadata to describe web service properties These are used for personalisation purposes seeessssssssseerrssssssssseeeees 24 Figure 25 Various forms for inserting metadata parameters cccccccessseeeeeeeeees 25 Figure 26 The aliened operations panelsesessonmc ien e a a a 26 Figure 27 The service provider has the option to invoke his aligned operations or to delete Dival ned WED Sel VICES ranee a a lewesiaveeesoutua 26 Version 3 0 4 Concept Anchoring and Alignment Tool User Manual Figure 28 By pressing the Change Domain button the user may select to create a new LO EID AIM e bigs so aeeeasa dase sdeaaatenecactietee caneue senate anodontia timenaqeeeiee sie ientordawaiansnairramusete 27 Figure 29 New Domain Name and description Option ssssee
83. totype This property should remain null since the operation that is being added is ideal as opposed to a real one hasInput required for the description of the inputs of the ideal operation This property s range is the class Concept thus any instance under this class and its subclasses are potential inputs of the ideal operation In order to add a new class to describe the inputs of the ideal operation consult Section 5 3 3 hasOutput required for the description of the outputs of the ideal operation This property s range is the class Concept thus any instances under this class and its subclasses may be potential output parameters of the current ideal operation In order to add a new class to describe more outputs of the ideal operation consult Section 5 3 3 hasServiceDomain required for the description of the service domain to which the ideal operation belongs To assign a particular domain to this operation select an instance of the class serviceDomain planirips instance of operation INDIVIDUAL EDITOR instance of operation Annotations Property E rdfs comment belongs TovwsoL i belongs ToPrototype hasRealOperations Value gt guestPlantrip ioe preferencePlantrip gt planTrip gt planTripDebug gt ameaPlantrip hasHame hasinput hasServiceDomain t hipaa OASIS Ontology comto hasPreferredUlHame amp gt preferenceName s _ h destinstionName isPrototype a gt journe
84. ts service invocation through the CCM and receives a list of appropriate real and aligned WS operations that fulfil the particular needs of a use case or an end user who runs end user applications on top of the AmI The AmI agents are then responsible to evaluate the list of appropriate WS operations by ranking its contents based on a set of personal criteria The purpose of this ranking is the selection of the operations that better matches the user profile or other personalised user specific preferences For this ranking additional information is needed This additional information is provided by the service providers using the Edit aligned services panel Figure 24 of the CAAT This step is optional but it facilitates the operation selection process on behalf of the AmI and serves personalisation capabilities ET Select a value SE kgPercubicmeter lbmPercubictoot lbmPergallonw lig slugPercubictoot GramPercubicom KilogramPertiter metrictonPercumeter longtonPercubicyard lnmPercubicinch shorttonPercubictoot KilogramPercubiccem aluminum iron copper lead gold silver water Figure 23 The list of allowed values defined in the Enumeration Table 1 lists all metadata parameters that the user is able to fill in by using a Series of forms such as the one depicted in Figure 24 Table 1 Meta data parameters Category Meta data parameter Meta data parameter description Does the web service support Age Category young elderly elderly or
85. ve business process Loed business process Clear Figure 59 Actions toolbar Version 3 0 49 Concept Anchoring and Alignment Tool User Manual Load business process fi Domains nY SS Device L TD Handle lights E Geographic L J Taxi 2 nutrition LJ get_Today_Menu LJ getTodayMenuByButton Transport D callTaxiBr L cetT Select business process to load Figure 60 Load business process window 6 4 Business Processes and Business rules Once a business process is completed and saved business rules may applied to it in order to determine the pricing policy define access etc on the business process If business rules have been previously applied on one or more operations that belong to the business process these operations appear in the Invoke node window Figure 54 in a different colour There are two actions that can be performed with respect to business rules using the buttons on the Business Rules toolbar shown in Figure 61 The first button Set business rules is used to assign rules that determine the pricing policy that corresponds to the use of the overall business process This is permitted to be done by the service provider who is the owner of the designed business process on the window shown in Figure 62 that appears by pressing the Set business rules This window contains a subset of the options that are available in the Business Rules editor see Figure 42 The second button View total cos
86. web service cascading process is supported in CAAT through its Business Process Alignment Frame shown in Figure 51 This can be launched via the Business processes option that appears in the main CAAT window The canvas area left is used for drawing a business process in the form of a workflow whereas the right area includes a list of toolbars and buttons to support the basic functionality of the business process editor In summary these are described as follows e Editor mode toolbar Three options are supported here o Edit graph this is the edit mode where the user may add new nodes delete existing ones etc o Pick nodes it allows moving one node at a time o Move graph it allows moving one or more nodes as well as the whole diagram ET Concept Anchoring and Alignment Tool Concept Anchoring and Alignment Tool CREATE NEW BUSINESS PROCESS Edit Graph Move Graph If taxiNumber 1 Zoom out Set business rules View total cost Figure 51 Business process editor Right toolbox includes the basic operations that the editor supports In the main area a business process may be designed using basic workflow components e Zoom in out toolbar These buttons allow the user to get a magnified demagnified view of the business process diagram Version 3 0 45 Concept Anchoring and Alignment Tool User Manual e Business rules toolbar It is used to define business rules explained in Section 6 4
87. with name Version 3 0 32 Concept Anchoring and Alignment Tool User Manual Ideal where is the name of the real operation In the example shown in Figure 37 we create the getDinnerIdeal operation for the getDinner real operation The new ideal operation is created as a copycat of the corresponding real one You may further modify the newly created ideal operation by using the context sensitive menu that appears by right clicking on the ideal operation tree The appearing menu gives the possibility to modify the name of the ideal operation and to add delete or modify existing ontology concepts I O in the ideal operation In order for the newly ideal operation to be functional you should publish it in the ORATE ontology repository by clicking on the Upload Ontology button This creates automatically a new Service Ontology that is uploaded on ORATE under the Pending Approval category It is up to the ontology administrator to approve the new Service Ontology i e to move it from the Pending Approval to the Web Services category and make it operational for all service providers in CAAT It should be noted that the name of the ontology operation should be unique to the hyperontology and for this reason if the user tries to submit an already used ideal operation name the tool will ask for an alternative ET Concept Anchoring and Alignment Tool Concept Anchoring and Alignment Tool INPUT OUTPUT ALIGNMENT e 3
88. www innovalia org proyectos oasis soap2 agenda php wsdl 9 OD hitp iwww innovalia org proyectos oasis soap2iwire php wsdl 4 Handle lights L getTaxiInSminutes Figure 68 Available business processes of operation getTaxiWithCoordinates 6 6 Importing external BPEL processes In real life the business process to be applied may be very complex i e giving different prices to different applied services depending also upon the frequency of use time of year origin of service type of end users served etc a business rules editor is required to be connected to CCM For this purpose CAAT supports BPEL processes and the ability to import BPEL process that have been created by an external BPEL authoring tool e g Eclipse BPEL Designer The Web Services Business Process Execution Language WS BPEL is a programming language for specifying business properties that involve web services It is an XML based language which supports the web services technology stack including SOAP WSDL UDDI WS Reliable Messaging WS Addressing WS Coordination and WS Transaction A snapshot of a BPEL process file segment is illustrated in Figure 69 A BPEL process specifies the exact order in which participating web services should be invoked This can be done sequentially or in parallel With BPEL a conditional behaviour can be expressed for example if a web service invocation depends on the value of a previous invocation It supports also
89. yDescription true destinationiD gt arrival description gt userlb gt departuretame Figure 38 Creating a new ideal operation in Prot g Version 3 0 34 Concept Anchoring and Alignment Tool User Manual 4 3 3 Add new concept classes that describe the I O of the operation In case the existing instances in class Concept and its subclasses are not sufficient to describe the inputs and outputs of the ideal operation you may create new classes under the class Concept For each new class new instances should be added and for these instances the following properties should be filled manually on Prot g Individual editor Figure 39 hasName Shows the name of the input or output of the operation hasType Shows the type of the input or output It could be another I O or an instance from class datatype string float Boolean etc isArray true or false according to the web service description of I O If the I O is array this property should be true Value Lang Figure 39 Properties that contain information about I O of operations A Attention In all cases where you create a new Service Ontology in manual mode you should upload the new Service Ontology on ORATE in order to make it visible in CAAT If the ontology needs further approval by the ontology administrator it should be placed under the Pending Approval category When the ontology is placed under the Web Services category it is v
Download Pdf Manuals
Related Search
Related Contents
組立・施工の前に Pedicare Mattress MANUAL DE USUARIO Télécharger le prospectus AP501 DM3730-EVK - Elcodis.com Avid Live Sound Systems Copyright © All rights reserved.
Failed to retrieve file