Bookmark Topic Watch Topic
  • New Topic

Factory Homes -Web Services mapping to Business Domain Model  RSS feed

Giuseppe Dell'Abate
Posts: 11
Fedora Firefox Browser Netbeans IDE
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi all

In my SuD I have to invoke a webservice exposed by an external system.
The soap request and the soap response contain data of my BDM so I think that I have to map the request and the response to my BDM objects.
For example: I can invoke the webservice to browse a category of component and the external system responde with a list of component.
So the request must bind to my category object and the response must bind my component object ?

I create a BDM object for the request, I should use a BindingHelper to bind the object to SOAP request (es: JAXB ) at this point I use a DAO object to invoke the webservice.
This is the way I could resolve this invoking

What do you think about this approach?

Thanks in advance.

Jeanne Boyarsky
author & internet detective
Posts: 37384
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
There are many valid approaches. Defending it is the important part.

Unfortunately, I need to close this thread because we can't talk about solutions here.
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!