• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

Represent Web Services in Sequence Diagram

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
in my use case i have to invoke existing Web Services. How can i represent the invocation of this Web Services in a Sequence Diagram?
At the moment i simply have inserted, in my sequence diagram, the object "xxxxx" with stereotype <<Web Services>> and i have put synchronous messages to it with the name of the services i except to have. Do i need to introduce any JAXB layer/object or wrapping design pattern?

Ciao
Mario
 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Depends on what level of abstraction you're working on. If your sequence diagram explains how SuD is communicating with third-parties - JAXB is not important. It's not necessary to know for a reader how exactly Java will be converted to XML. What is important is how and when data are being sent between components.
 
Bartender
Posts: 361
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In my assignment also i need to do that. I have shown the Web Services client, the message class(request) , the response class and the Web Services as a Entity. I provided a note in the sequence diagram that i am not showing tool generated classes and JAXB classes. That's it.
 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Object with stereotype <<Web Service>> should be good enough for the assignment submission. You no need to show(In fact you should avoid) any API/Framework related classed in the diagram.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic