| Author |
Represent Web Services in Sequence Diagram
|
mario buonopane
Greenhorn
Joined: Apr 07, 2011
Posts: 2
|
|
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
Joined: Feb 11, 2011
Posts: 54
|
|
|
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.
|
SCEA, PMP, OCUP
Lead Architect of fazend.com - Free Hosted Continuous Integration Platform
|
 |
Sharma Ashutosh
Bartender
Joined: Apr 06, 2001
Posts: 345
|
|
|
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.
|
Ashutosh Sharma
SCJP 1.2, SCEA 5, Brainbench certified J2EE Developer, Documentum Certified Professional
Blog : http://scea5-passingpart2and3.blogspot.com/
|
 |
Anil Chowdary
Ranch Hand
Joined: Jan 20, 2009
Posts: 43
|
|
|
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.
|
OCMJEA/SCEA, SCWCD, SCJP
|
 |
 |
I agree. Here's the link: jrebel
|
|
subject: Represent Web Services in Sequence Diagram
|
|
|