Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Properties in web services

Thread Tools

Properties in web services

Shimon Sim
Posts: n/a
I need to create property in web service. Scenario - user information.
I would create property User and client will assign information to user
class (just username string) and service can use it every time a method will
be called.
How do I create a property for WS? Any examples?
Thank you,

Reply With Quote
Luke Zhang [MSFT]
Posts: n/a
Hello Shimon,

How about adding a parameter in the web method to pass the User's property?
In Web service, you can save the property in session so that you only need
to pass the property information at first call.

Or you may take a look at this article about how to achieve this with

If there is any further question, please feel free to let me know.


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
creating a BED properties class with web services steven ASP .Net Web Services 2 12-06-2007 08:33 PM
Start Web services as Windows Services start Anup ASP .Net 1 05-09-2006 11:44 AM
How .NET web services client handles exceptions from Java web services? John ASP .Net Web Services 4 03-31-2006 10:13 PM
What is the difference between C# windows Services and web services in Nick ASP .Net 1 09-12-2005 02:33 PM
how to implement Services Interface Tier (web services) Szymi MCSD 0 11-03-2003 10:50 AM