NurveTech
asked on
Cannot get soap data from java web service in IIS 7
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!
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);
}
http://forums.sun.com/thread.jspa?threadID=5438206
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.