3.9The Web Services

3.9.1Web services modeling

Design items

output_html_m298747c2.png Interface.

output_html_m7539fb1b.png Operation.

output_html_4f37ce63.png Operation parameters and return type.

Applicable stereotypes and modeling rules

  • ClientWebService

« ClientWebService » stereotyped interfaces must have only one operation.

  • ServerWebService

« ServerWebService » stereotyped interfaces must have only one operation. Moreover the « implementation » stereotype tagged value must not be empty.

Tagged values

  • ClientWebService
  • targetNamespace. The XML namespace of the WSDL
  • url. URL of the presented web service
  • clientPathTypeRetour : List VO package on the customer side.
  • serverPathTypeRetour : List VO package on the server side.
  • typeRetour : VO type.
  • ServerWebService
  • implementation: Implementation class of the presented service.

3.9.2General rules

  • Web services must be contained within a « PK_SERVICE » stereotyped package.
  • A web service name ends with ’Service’.
  • The « implementation » tagged value may not be empty.
  • The « url » tagged value may not be empty.
  • The « clientPathTypeRetour » tagged value may not be empty.
  • The Bo parameter must not have any association
  • The « serverPathTypeRetour » tagged value may not be empty.
  • The « typeRetour » tagged value may not be empty.

3.9.3Examples

  • ClientWebService  

Specifies a service for interacting with the presented web service..

output_html_4569a9db.png

Figure 1 «ClientWebService» Applied Stereotype example

output_html_851c634.png

Figure 2 «ClientWebService» Tag parameter example

  • ServerWebService

Specifies a service for the presented web service

output_html_6ef57ed0.png

Figure 3 «ServerWebService» Applied Stereotype example

output_html_50732d6.png

Figure 4 «ServerWebService» Tag Implementation example


BLU AGE is a registered trademark of NETFECTIVE TECHNOLOGY S.A. - Trademarks are property of their respective owners
Do not copy or divulge without written permission