Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 180
  • Last Modified:

Setting up web services

I’m creating XML web services in VS Studio 2010 and trying to publish them to a server. The publish process goes fine and the files show up on the server which is Windows Server 2008 x64 running IIS 7. The problem is when I try and run the site after I configure it in IIS. It’s almost like it can’t find the site or referencing a site outside our domain. The services are not public – just local to our domain as the server sits inside our firewall.

Any help would be great.
0
thenrich
Asked:
thenrich
  • 2
1 Solution
 
Rose BabuSenior Team ManagerCommented:
Hi,

from your question, i have some idea for you.

try the following steps and check your web service once.

1. Publish your web service project in a folder (it can be named as <published-ws>.)
2. in your iis create a website with a port number (eg., 8765). point the root directory to your published folder.
3. add firewall rule to allow the port number (eg., 8765) you specified for your webservice site
4. then try to call your web service locally (eg., http://localhost:8765/service.asmx)

once it run locally then try it from outside as http://<domain-name-or-ip-with-port>/service.asmx

try it and let us know if any.
0
 
Rose BabuSenior Team ManagerCommented:
Have you tried this? any luck?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now