web service publishing
-
hi all, the fallowing is the code for a .disco file, contractRef ref="http://localhost:1163/test11/test22ser.asmx?wsdl" docRef="http://localhost:1163/test11/test22ser.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
-
hi all, the fallowing is the code for a .disco file, contractRef ref="http://localhost:1163/test11/test22ser.asmx?wsdl" docRef="http://localhost:1163/test11/test22ser.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
Hi, In the code where you are taking reference of the webservice. Change the URL like: MyWebservice myweb = new MyWebservice(); myweb.URL = "http://[NewDomain]/test11/test22ser.asmx"; myweb.MyMethod(); Regards. Sudhakar D P
-
Hi, In the code where you are taking reference of the webservice. Change the URL like: MyWebservice myweb = new MyWebservice(); myweb.URL = "http://[NewDomain]/test11/test22ser.asmx"; myweb.MyMethod(); Regards. Sudhakar D P
sir, thank u very much, now my second question is- wat is the best method for deploying web services 1. first create all the services, then place it in the server , then deploying it or 2. create all services in local mechine, complete our project, then upload
-
sir, thank u very much, now my second question is- wat is the best method for deploying web services 1. first create all the services, then place it in the server , then deploying it or 2. create all services in local mechine, complete our project, then upload
- Inspect your proxy class. In the constructor it hard codes the address and ip Chage it to use a key from the web config file <appSettings> <add key="MyAddress" value="http://www.codeproject.com"/> </appSettings> to reference this value System.Diagnostics.Configuartion.ConfiguationSettings.AppSettings["MyAddress"]; 1 line of code equals many bugs. So don't write any!!
-
- Inspect your proxy class. In the constructor it hard codes the address and ip Chage it to use a key from the web config file <appSettings> <add key="MyAddress" value="http://www.codeproject.com"/> </appSettings> to reference this value System.Diagnostics.Configuartion.ConfiguationSettings.AppSettings["MyAddress"]; 1 line of code equals many bugs. So don't write any!!
hi thanx chakkara