Web Service logging calls, charging and revenue

R

Ric Castagna

Greetings, all...

I almost hate to admit how long I've been looking for the answer to
this question without much success. I've seen articles alluding to
charging for web services (such as MapPoint) but have not seen
anything on how to implement this.

Obviously, I need to be able to assign some measure of
username/password to the people that are going to subscribe and pay
for this web service.

Then, I need to be able to track the number of times they call the Web
Service, and, finally, I'll need to be able to extract that
information in order to collect the revenue based upon usage.

I work in ASP.NET with VB as the code-behind. Hopefully someone out
there has run across this same type of situation and will be willing
to share the knowledge.

Thanks in advance,
Ric Castagna
 
D

Dino Chiesa [Microsoft]

If you are familiar with custom attributes, you can add an attribute that
you attach to each of your webmethods.

Here's an article on SoapExtensions that can do it
http://msdn.microsoft.com/library/e...bServicesProtocolsSoapExtensionClassTopic.asp

But you don't need the full SoapExtension. You just need to include
chargeback on each method call.
for example, this article describes examining only in the After Deserialize
phase:
http://www.developer.com/net/net/article.php/11087_2192901_2

-Dino
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,818
Latest member
Brigette36

Latest Threads

Top