D
deja
Hi
I have a class library that defines a serializable class. I reference
this library in both my Web App (front-end) and my Web Service.
My web service expects an instance of this class as one of the input
parameters for one of its methods. I thought I could just create an
instance at the front-end Web App, then pass it through to the web
service but instead I have to specifically create an instance of the
"Web Service" version of the class not the original class library
version.
Is there a way I can use just the standard class library object (both
Web App and Web Service reference the object using the full namespace
of the class library) or an easy way of me converting one to the other
or am I missing something blindingly obvious?
tia
Phil
I have a class library that defines a serializable class. I reference
this library in both my Web App (front-end) and my Web Service.
My web service expects an instance of this class as one of the input
parameters for one of its methods. I thought I could just create an
instance at the front-end Web App, then pass it through to the web
service but instead I have to specifically create an instance of the
"Web Service" version of the class not the original class library
version.
Is there a way I can use just the standard class library object (both
Web App and Web Service reference the object using the full namespace
of the class library) or an easy way of me converting one to the other
or am I missing something blindingly obvious?
tia
Phil