Different urls to same ws?

Ask a Question related to ASP.NET Web Services, Design and Development.

  1. #1

    Default Different urls to same ws?

    Hi!

    We are developing a web service that needs to use several
    databases (each company that uses this web service has
    their own database). Is it possible to create a different
    url for each database and still use the same web service?

    Is it possible to have company 'A' use web services by
    referencing [url]http://www.xxx.fi/A/service1.asmx?wdsl[/url] and
    company 'B' using [url]http://www.xxx.fi/B/service1.asmx?wdsl[/url] ?

    And if we can somehow use different urls then how can we
    tell in web service code which url the request came from?

    Thanks in advance.

    Jukka Kenttälä Guest

  2. Similar Questions and Discussions

    1. iframe URLS
      Hi, I was wondering whether it was possible to define a URL which links to a page containing and iframe and define which src to display in the...
    2. Removing .cfm in SES urls
      Hi. I run search engine friendly url's on my site located on a shared server. For example http://www.domain.com/index.cfm?id=500 converted to...
    3. How to get URLs to transfer to PDF
      I've added a few URLs to text in my FH file (using the NAVIGATION pane). But they don't carry over to the PDF when printing to acrobat distiller. Is...
    4. dynamic URLS convert to static URLS for search engines
      We use ASP.net and all our pages are dynamically created and search engines such as Google does not like dynamically created pages to index. What is...
    5. URLs and MT-NewsWatcher
      I'm using Version 3.2 NewsWatcher on OS X 10.2.6. I have had three unpredictable behaviors when command-clicking or option-clicking a URL in a...
  3. #2

    Default RE: Different urls to same ws?

    Hello,

    From the description, you want to access a web service from different URL.
    To achieve this, we can store the web service related files in a physical
    folder, for example c:\webservice. In IIS, we can create multiple virtual
    folder to the physical folder, for example, webserviceA and webserviceB.
    And the web service can be access with:

    [url]http://www.xxx.fi/webserviceA/service1.asmx?wdsl[/url]
    [url]http://www.xxx.fi/webserviceB/service1.asmx?wdsl[/url]

    In the web service, you can distinguish the request from different url with
    following string:

    Context.Request.Path

    Hope this help,

    Luke
    Microsoft Online Support

    Get Secure! [url]www.microsoft.com/security[/url]
    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)

    MSFT Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139