locked
Give argument to WebService ? RRS feed

  • Question

  • Hi,

    In a scenario of an enterprise with 10 sellors, who have their own pocket and who regulary synchronize with their own instance of sql server, do I have to publish a webservice for each one of them or can I  pass arguments to my webservice to precise which instance to connect to ?
    Or is there another way to do this ?

    I feel that it is simply possible but my with my c#sharp level i don t figure how to do this ...

    Thanks

    Sam
    • Moved by Max Wang_1983 Friday, April 22, 2011 7:30 PM forum consolidation (From:SyncFx - Microsoft Sync Framework Database Providers [ReadOnly])
    Friday, May 30, 2008 12:24 AM

Answers

  • Sam,

     

    You could add an additional method to your server side service contract defintion to perform this connection logic.  However, there may be some security implications related to passing connection info via a web service call.  You may want to pose this question to the WCF forum.

     

    Sean Kelley

    Program Manager

    Microsoft

     

     

    Friday, May 30, 2008 3:31 PM
    Moderator