Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How do I enable SOAP C#.Net web service in IIS7 on Windows 7 (Starter / Home Premium)

Posted on 2010-08-31
3
Medium Priority
?
2,089 Views
Last Modified: 2013-11-18
Dear Experts:

I am unable thus far to get SOAP requests to be answered at my server hosting them.  The web services are hosted on Windows 7 Starter (using appcmd.exe to configure) and Windows 7 Home Premium (in order to test IIS Manager ad validate appcmd settings).

The web service is active (Application created with appcmd.exe) and the service's asmx page returns the descriptions of all the web methods.  I can invoke any web method successfully and see the results as expected when I test on via the localhost URL.  I  added <protocol><add name="HttpGet"/><add name="HttpPost"/></protocol> to my web.config file to allow HTTP-based testing outside of the network.  This all works fine.  

However, when the web service methods are called via SOAP client, the request times out, with no record (as of yet I cannot find anything in logs, despite enabling logging at all levels I could find so far for my application) of failure at the web method host server.  Temporarily dropping firewalls: same result.

SOAP requests previously worked fine when the web service was hosted on Windows Vista with IIS7.  Web service was initially written with .Net 2.0 and running just fine (both HttpGet and HttpPost as well as SOAP calls) previously on the Vista implementation.  I tried adding <add name="HttpSoap"/> as well to the web.config file on the Win 7 deployments, but the same results.

Code is C#.Net.

Any suggestions or insights into what has changed with Win 7 / IIS7?

Thanks very much.
0
Comment
Question by:arco1918
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 41

Expert Comment

by:graye
ID: 33576419
I believe the problem is with authentication....   Starter Edition (and Home Premium) only support "Basic Authentication".   Was your previous Vista setup a "home" edition too?
Take a look at this article (it's about Vista, but I don't think that part has changed much in Win7)
http://learn.iis.net/page.aspx/479/iis-70-features-and-vista-editions/ 
0
 

Author Comment

by:arco1918
ID: 33578215
Thank you graye.

The previous Vista setup was a 'Home Premium' edition as well.

I'm going to look for any clues along the lines of what you suggest here.

The web service does not explicitly require (that is, I did not code for it) authentication that I am aware of - the web services are designed to be accessible publicly at the moment (for initial testing).

Would authentication effect SOAP vs HTTPGET/POST calls differently such that the SOAP calls would fail while the HTTPGET/POST would not?

Thanks again.
0
 

Accepted Solution

by:
arco1918 earned 0 total points
ID: 33590598
If anyone comes back to read this post, we have not yet found a solution for this.  We worked through several settings and sample Visual Studio web service projects, including attention to authentication throughout.  We ended up using a different method to access our data.  Thanks very much.
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question