• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Web Services Proxy Pattern

 
Chih-Wei Lee
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi:
To access a web service, I am going to use Proxy design pattern in my architecture.
But how much detail I need to provide about the proxy class?
The proxy class is supposed to be generated by tool and it contains communication detail like form a SOAP message,
which is hard to show in diagram.
Can I just hide all of proxy class implementation detail and make assumption that it will generated by tool?

Best,
 
Dmitri Ericsson
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
When I've used this pattern for web services, I've just shown a class e.g. ExternalSystemService, put a stereotype saying that it's a Proxy and commented that business logic uses this class and JAX-WS libraries to connect external systems via web services. I didn't show any generated objects for web service messages.
 
Chih-Wei Lee
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much Dmitri! I really appreciate.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic