Kumar Amit wrote:Hi Friends,
I need to invoke a web service from a DAO i.e. SessionBean -> DAODactory->DAO->?
Can you guide how to represent this invocation in my sequence diagram and how will I represent the web service object in the diagram e.g. Proxy.
Also, as DAO needs the endpoint URL of the webservice, What is the best way to lookup the URL instead of hardcoding it. I reckon I can't use @WSReference annotation here as DAO is not container managed.
Thanks
Amit
URL needs to be looked up from JNDI tree.
Proxy is just like DAO or facade so show that just like other objects. You can show some info stereo type.
I have put one simple synchronous call from DAO to XYZ system(external system). Not sure, if that's the most right way of doing it but I have a feeling that we are showing more than required. We are supposed to produce high level sequence diagrams, not method parameter level
just my pov...