Problem Calling Web Service From Production Environment
-
Hi All, I'm having some difficulties and am hoping for some help. I have a site on one of our server used just for web services that I plan to use in other sites on that server. The web service site has been deployed to the server and seems to be working fine. When I call one of the services form my development machine it works fine, but now that I have used one of the services in finished site on that same server I am getting the following error. Server Error in '/' Application. -------------------------------------------------------------------------------- The request failed with HTTP status 400: Bad Request. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Net.WebException: The request failed with HTTP status 400: Bad Request. Source Error: Line 98: [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://exaservice.net/WebServices/SearchSiteHtml", RequestNamespace="http://exaservice.net/WebServices", ResponseNamespace="http://exaservice.net/WebServices", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] Line 99: public string SearchSiteHtml(string url, string webSearch) { Line 100: object[] results = this.Invoke("SearchSiteHtml", new object[] { Line 101: url, Line 102: webSearch}); Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\cc6d9c2e\63ba5077\App_WebReferences.9hwc9vsl.0.cs Line: 100 Stack Trace: [WebException: The request failed with HTTP status 400: Bad Request.] System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +533252 System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +204 net.exaservice.www.SiteSearchWS.SearchSiteHtml(String url, String webSearch) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\cc6d9c2e\63ba5077\App_WebReferences.9hwc9vsl.0.cs:100 Search.Page_Load(Object sender, EventArgs e) in D:\websites\centralfloridafair\html\Search.aspx.vb:10 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +47 System.Web.UI.Page.ProcessRequestMai