Connected Complex Objects In Web Services
-
Hello, I tried, unsuccesfully to make a webservice that returns objects with webmethods of their own, using a asp.net webservice. I need to log every action made by the client and still maintain a nested interface.;) for example: a flat regular web service interface: wsclass.getFlower returns a flower object - only with fields(not functionality). I want to return the Flower and record what the user has accessed in the object. I tried returning a webservice complient in interface to the object's instead of the object as a returning type of the getFlower. But when i ran it it raised an error about a serialization failure.:( THANX; bv
-
Hello, I tried, unsuccesfully to make a webservice that returns objects with webmethods of their own, using a asp.net webservice. I need to log every action made by the client and still maintain a nested interface.;) for example: a flat regular web service interface: wsclass.getFlower returns a flower object - only with fields(not functionality). I want to return the Flower and record what the user has accessed in the object. I tried returning a webservice complient in interface to the object's instead of the object as a returning type of the getFlower. But when i ran it it raised an error about a serialization failure.:( THANX; bv
Hi, Is the type (Flower) declared Serializable ?
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
coolestCoder
-
Hi, Is the type (Flower) declared Serializable ?
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
coolestCoder
Yes, but it doen't matter. If I want to return an object only with data, it's possible using serialization. I want to maintain the logging functionality which requires a connection to the server. It is not a problem if I expose an assembly but the trick is doing it with a web service that has a nested interface. I need the web service for interoperability and keeping the deployment simple. I don't want to rely on the client to have a .net framework installed (or Mono for linux) to avoid the deployment of a .Net assembly. thanks