by Brian Mills >> Thu, 4 Nov 2004 23:22:36 GMT
I'm using web services to use a Jade database in a variety of interfaces. My problem is really the way you define the exposure of complex types in Jade. And the way the primitive types get returned in some instances.
I have found the when returning a primitive type like a boolean or a timestamp that it doesnt always return it in a useable form. I've found the timestamp for instance returns 2004-10-21T12:03:24-00:00. Which doesnt seem recongnisable to one of the .Net applications that is trying to understand it as a timestamp using the built in Webservices reference/understander. What I would like to do is override how some of these primitive types get returned as strings. Is there a way in Jade to override the default way?
My second problem is to do with the exposure of complex types. I would actually like to modify what gets returned on a method by method basis. The reason is that I have one web call which will rerurn a collection of objects for display in a search. In this instance we only need a small subset of the information available on the total object. Then when we click on one of those objects (a person object) we need all the information associated with them so we can display and edit all the information associated with them. I'm trying to work out an easy way not to return all the data associated with the person for the search as its quite unnessisary.
Any thoughts anyone?
Brian.