We help IT Professionals succeed at work.

Cannot get soap data from java web service in IIS 7

NurveTech
NurveTech used Ask the Experts™
on
So here is the problem.

I have server 2008 with IIS 7 and Visual Studio 2008 installed.
I can run my mvc2 project in Visual Studio and it connects and pulls data from my soap service.
When I publish it to IIS 7.0 and then try to connect to the soap service I get no data returned.

This is all being done on the same machine, so there is no change in network or firewalls going on.

anyone have any Idea?  is there a setting in iis i'm missing?

Thanks for your help!
CustomerComplaintSystem_MVC2.lex.client.ClientServiceB2BService cb2b = new CustomerComplaintSystem_MVC2.lex.client.ClientServiceB2BService();
    cb2b.Url = "https://donny.intranet.lex:8181/ServiceB2B/ClientServiceB2BService";
    cb2b.Credentials = new System.Net.NetworkCredential("username", "password");
    CustomerComplaintSystem_MVC2.lex.client.clientLite cl = new CustomerComplaintSystem_MVC2.lex.client.clientLite();
    try
    {
        cl = cb2b.getClientLite((int)Session["ClientID"], true);
    }
    catch (System.Net.WebException e)
    {
        if (e.Status == System.Net.WebExceptionStatus.ProtocolError)
        {
            Response.Write("Status Code : " + ((System.Net.HttpWebResponse)e.Response).StatusCode);
            Response.Write("Status Description" + ((System.Net.HttpWebResponse)e.Response).StatusDescription);
        }
    }
    catch (System.Exception e)
    {
        Response.Write(e);
        Response.Write(e.StackTrace);
    }

Open in new window

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
There was a problem with IIS on that box for whatever reason.
We rebuilt the machine and it worked.
shrug.