LLBLGen Pro

Posts   
 
    
Gazley
User
Posts: 18
Joined: 17-Apr-2006
# Posted on: 04-Jul-2007 15:03:27   

Does LLBLGen Pro support talking to its data source via web services?

The application I am proposing to develop has to be able to be used in a disconnected fashion. This would mean talking to the server to receive/update data via web services (possibly WSE3), via the internet or intranet.

What is the low-down in this regard?

Thanks.

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 04-Jul-2007 15:51:47   

I assume you are asking about passing Entities through a webService. Please check the following manual's section: "Using the generated code -> XML Webservices support"

Gazley
User
Posts: 18
Joined: 17-Apr-2006
# Posted on: 04-Jul-2007 16:31:01   

I assume you are asking about passing Entities through a webService.

I am not sure - this sounds about right. Does this handle changes to related entities - the same object graph?

Please check the following manual's section: "Using the generated code -> XML Webservices support"

Sorry, I don't have this guide. Is it available on line?

Thanks.

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 04-Jul-2007 16:42:49   

The manual is available with the demo version. It should be in the LLBLGen Pro installation folder. Look for LLBLGenPro.chm

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39912
Joined: 17-Aug-2003
# Posted on: 04-Jul-2007 16:50:11   

change tracking is done inside the entities, so if you pass entities from a service to a client, change them there and send them back to the service, all you have to do is simply persist the graph and all changes made are saved.

In v2.0, inheritance in the XML isn't supported, it will be in v2.5 (currently in beta). So if you have a collection with several instances of different types of the same hierarchy, these won't be deserialized properly.

It's however recommended to work with message-based webservices, which is what most SOA experts recommend.

Frans Bouma | Lead developer LLBLGen Pro