I have an ASP.Net project, in which I added a web reference, for example http://Sandbox/service.asmx
after I pass the testing, I want to change the web service address to http://Production/service/asmx, which has the exactly same interface as the
sandbox.
My question is how to dynamically configure the ASP.Net application point to
the right web service address after I deploy the code from test to
production enviroment without recompile the code?
Anyone can point me to the right direction how to solve this issue? Thanks
Re: public function from class in other namespace inaccessible ... First off, if you want to use a class to pass data to a web service, you ... A web reference is not the same as a referenced assembly. ... > I added a new class test to the namespace of the webservice which I try to ... > public int TheInt... (microsoft.public.dotnet.languages.csharp)
Re: Consuming Web Service without Web Reference ... Eventhough I extracted schema from WSDL iam not able to call the web service.... calling a web service than creating an xml and pushing it to the SOAP adapter.... still have to generate a proxy and configure it in your send port.... Initially I tried adding the Web reference using the WSDL file. ... (microsoft.public.biztalk.general)
RE: Dynamic URL Behavior & Configuration ... I have a 3rd party web service running in a Web Server within our network. ...Dynamic URL Behavior & Configuration... references a class library which in turn has a web reference.... (microsoft.public.dotnet.framework.webservices)
Re: web service ... Can you send a screenshot of the "Add Web Reference" dialog box after you ... I have just tried that web service you specified, and got the WSDL displayed... ok and was able to generate a proxy class in C# just fine. ... (microsoft.public.cert.exam.mcad)
Re: Client found response content type of , but expected text/xml ... did you update your web reference after changeing the webservice namespace?... Check the file reference.cs if the correct namespace is in there. ... There seems to be a bug in VS.Net when updating a web reference,... > I am trying to run a web service project with multiple web services. ... (microsoft.public.dotnet.framework.webservices)