This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Represent Web Services in Sequence Diagram

 
mario buonopane
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Yegor Bugayenko
Ranch Hand
Posts: 80
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
Sharma Ashutosh
Bartender
Posts: 346
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
Anil Chowdary
Ranch Hand
Posts: 43
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic