469,572 Members | 1,610 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,572 developers. It's quick & easy.

Using SoapFormatter in a WebMethod? (and AOP stuff)

Hello. I have found out that a VS2005 WebService by default serializes
my objects using normal XmlSerializer. Howerver, I need it to serialize
them using SoapFormatter by default (without doing the call in every
"return" statement of each of my webmethods). Can this be done?

By the way, I would also to call a "SanityCheck()" method for every
object that is returned from my webmethods before sending them. Can this
be done without AOP?

I guess that, if the answer to my questions are both "No", I should go
for AOP :(

Regards,

Andrés [ knocte ]

--
Jul 18 '07 #1
0 1240

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by James Willock | last post: by
2 posts views Thread by Wiktor Zychla | last post: by
2 posts views Thread by Jarda | last post: by
reply views Thread by seckley | last post: by
1 post views Thread by Hotlips | last post: by
reply views Thread by =?ISO-8859-1?Q?=22Andr=E9s_G=2E_Aragoneses_=5B_kno | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.