Webservices and Entities
Webservices and Entities
- Subject: Webservices and Entities
- From: Greg Hulands <email@hidden>
- Date: Tue, 13 Apr 2004 15:13:13 +1000
Hi,
I am adding an administration web service to my application that
returns custom EOEnterpriseObjects, for example Client. Webobjects
packs the entity object into dictionary. Currently I am fetching the
objects via
public NSArray clients() {
if (!loggedIn())
return null;
return
EOUtilities.objectsForEntityNamed(serviceSession().defaultEditingContext
(), "Client");
}
What I ultimately would like to do is to create an xml document with
maybe the following structure.
<Client>
<firstName>Greg</firstName>
<lastName>Hulands</lastName>
<email>email@hidden</email>
</Client>
Is there a way to intercept the web service request response loop via a
delegate or some other method that will transform the entity dictionary
into a well formed xml document?
any help or pointers to information/documentation is greatly
appreciated.
Regards,
Greg
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.