Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Webservice - Intercept all requests

0 views
Skip to first unread message

Matthias S.

unread,
Apr 23, 2008, 11:43:52 AM4/23/08
to
Hi there,

I've got a webservice which a couple of methods, some of which all take
identical parameters like "Key" and "LanguageID". Is there a way to
globally check those parameters instead of writing this code into each
and every WebMethod?

Thanks in advance!

Matthias
--

Patrice

unread,
Apr 23, 2008, 12:42:45 PM4/23/08
to
You can perfectly have a (local) function call inside your web method to
avoid duplicating the code.

Else elaborate a bit about the exact problem as I'm not sure to understand
what is the problem you seems to have...

"Matthias S." <matthias.st_...@googlemail.com> a écrit dans le
message de groupe de discussion : xn0fpa55...@news.microsoft.com...

Matthias S.

unread,
Apr 23, 2008, 1:41:17 PM4/23/08
to
Hi Patrice,

thanks for your reply. A method call will work fine in my case. I was
just wondering whether there is the possibility to intercept soap
requests and do something with the parameters. Just being nosy. :)

Kind regards. Matthias


--

Patrice wrote:

> You can perfectly have a (local) function call inside your web method
> to avoid duplicating the code.
>
> Else elaborate a bit about the exact problem as I'm not sure to
> understand what is the problem you seems to have...
>

> "Matthias S." <matthias.st_...@googlemail.com> a icrit dans

0 new messages