• 0

Do you have to do anything special to make web services work?


Question

Hey guys. I have a web service in asp.net (C#) that spits out part costs for our company to make after upload an stl file. We wanted to add another material so I duplicated the web service (didn't change a thing except the file name). When I did this and pointed the test page to the new web service to see if it'd even work it just sits on waiting on the ajax response. Point back to the old web service and it works fine. But...the code on both services is identical...so...do I have to do anything to make the web service work? Sorry for the noobish question I'm more of a PHP guy. I have programmed .NET apps before but not for asp.net. Help is much appreciated :)

EDIT: The files orginally were

qoute.aspx

quote.aspx.cs

quote.aspx.designer.cs

I duplicated them to create a copy of each of the files above and named them:

quote3DP.aspx

quote3DP.aspx.cs

quote3DP.aspx.designer.cs

Edited by sathenzar
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

how did you copy them?

did you use visual studio and rename the files? they will reference one another and if you just did it in windows explorer then yeah that definitely wont work.

also, you probably need to build it and potentially change the path to the webservice in the web.config file

in addition, are they in the same folder? if they are straight copies they will therefore be exposing the same name web service.. you can either rename in visual studio or just stick them in a different folder

you also should probably restart iis

so um yeah, they are the things i would check off the top of my head, don't forget to check the error log also, it might be useful. there could be numerous things wrong really... I'm not a web service guru so don't automatically know the issue.. but I'm sure hunting it down won't be too hard.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.