Bookmark Topic Watch Topic
  • New Topic

Factory Homes -Web Services mapping to Business Domain Model

 
Giuseppe Dell'Abate
Greenhorn
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
Marshal
Posts: 35279
384
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.
 
    Bookmark Topic Watch Topic
  • New Topic