Results 1 to 6 of 6

Thread: How to allow web service use different port?

  1. #1

    Thread Starter
    Addicted Member BarankinBeAMan's Avatar
    Join Date
    Aug 2002
    Location
    Reston,Va
    Posts
    164

    How to allow web service use different port?

    My web site is deployed on port other than 80.
    Now third party SOAPs fail as they use port 80.
    Is there any way to allow them to use other port??

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: How to allow web service use different port?

    Can't you just tell them to specify the port number in the URL?

    Something like

    http://sitename.com:88/Foldername/abc.asmx

  3. #3

    Thread Starter
    Addicted Member BarankinBeAMan's Avatar
    Join Date
    Aug 2002
    Location
    Reston,Va
    Posts
    164

    Re: How to allow web service use different port?

    No, this guy
    http://www.xmethods.net/sd/2001/Curr...geService.wsdl
    Will not do it just for me.

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: How to allow web service use different port?


  5. #5

    Thread Starter
    Addicted Member BarankinBeAMan's Avatar
    Join Date
    Aug 2002
    Location
    Reston,Va
    Posts
    164

    Re: How to allow web service use different port?

    Sure, that is what works, default port 80, or no port if you like.
    If my web site is on other port, 801 for instance, the web service will not work.

  6. #6
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704

    Re: How to allow web service use different port?

    If you define a web service to run on say port 8085, then any remote machine attempting to connect to that web service must use port 8085. AFAIK, IIS , and probably any web server, do not 'map' ports.

    Therefore your website can only communicate with remote web services on the ports they specify available. Wouldn't make sense for you to dictate by the request what port the server should communicate to you with. The server defines that, and you either abide or you don't get access.

    As far as your website running on a port other than port 80, my question is how does that affect retrieving data from a webservice on a seperate port?

    Although your end user is using say port 8085, your web application can still communicate on other ports to remote services (that aren't the end user).

Posting Permissions

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



Click Here to Expand Forum to Full Width