Hi Richard, See comments inline.
On Mon, Sep 29, 2008 at 11:09 PM, Richard <[EMAIL PROTECTED]> wrote: > Perhaps someone can help me with two questions: > > 1. Is it possible to create a web service where most operations can be > called by external ws clients but some operations can be called only by > internal ws clients. What do u mean by external and internal WS-Clients? > > > 2. The behavior of an operation needs to differ slightly depending on > whether an operation is called internally or externally--this can be done > by checking the value an attribute or an element. Is there a more > transparent way to determine the ws caller so that behavior such as how to > connect to the database can differ slightly. Well, If you use something like username token authentication on your service, you could access the username of the caller from within your web service and thus vary the action you need to perform. This is just one way of doing it though. Thanks, Keith. > > > Thanks, > Richard > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Keith Chapman Senior Software Engineer WSO2 Inc. Oxygenating the Web Service Platform. http://wso2.org/ blog: http://www.keith-chapman.org
