Properties in web services

S

Shimon Sim

hi
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,
Shimon
 
L

Luke Zhang [MSFT]

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
cookie.

http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q820528

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

Luke
 

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,767
Messages
2,569,572
Members
45,046
Latest member
Gavizuho

Latest Threads

Top