We help IT Professionals succeed at work.
Get Started

Cannot get soap data from java web service in IIS 7

Last Modified: 2013-11-18
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();
        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)

Open in new window

Watch Question
This problem has been solved!
Unlock 1 Answer and 2 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE