• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Webservices and Entities
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Prev by Date: Re: DirectToWeb java.lang.NullPointerException
  • Next by Date: Re: XHTML & WO
  • Previous by thread: Editing a record
  • Next by thread: Re: Webservices and Entities
  • Index(es):
    • Date
    • Thread