I want to have a web service developed in a solution in visual web developer, call another web service in the same solution, and I found that I am able to add the web reference by "searching in the solution" however I am concerned that it may not work correctly upon publication, as it points to an odd port that I assume to be associated with the debug mode in VWD (54153)

Does any one know if that will work correctly, or if I would need to publish locally on the development machine and create a reference to localhost, such that upon actual publication to the production server that it would work correctly.

Regards Martin

有帮助吗?

解决方案

You are right in that you can't add a reference that way. A web reference is a very different thing than a standard .dll or project reference.

You need to publish the web service somewhere (even on localhost) and add a web reference following these instructions.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top