Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

hi,

I developed a web services, and in a client (asp.net application) added the web reference and the application is working great on my development machine. I packaged my webservices and client application separately, deployed it on testing server. Web services are working great (when i call them directly) but, when the client application makes a call to the web service I get an error. I tought the call is going to my local machine. So, what I did is, I added web reference pointing to the service, complied and works fine (my local machine is connecting to testing server's web service). I rebuilt the application and deployed to the server. I still get an error. How to deploy an application which is refering to a service developed internally, and move the site to production with minimum changes.

Note: I think as a programmer not as a human, so use my answer at your will
Posted
can you specify the error?

 

 

[WebException: The request failed with HTTP status 404: Not Found.]

System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +1295

System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +218

UCCSv2r1.wsContractors.Contractors.GetAllContractors()

UCCSv2r1.Contractors.FillContractors()

UCCSv2r1.Contractors.Page_Load(Object sender, EventArgs e)

System.Web.UI.Control.OnLoad(EventArgs e) +67

System.Web.UI.Control.LoadRecursive() +35

System.Web.UI.Control.LoadRecursive() +98

System.Web.UI.Control.LoadRecursive() +98

System.Web.UI.Control.LoadRecursive() +98

System.Web.UI.Page.ProcessRequestMain() +731

Note: I think as a programmer not as a human, so use my answer at your will

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...