Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. web service publishing

web service publishing

Scheduled Pinned Locked Moved ASP.NET
wcfquestion
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nidheeshkayal
    wrote on last edited by
    #1

    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/" />

    Y 1 Reply Last reply
    0
    • N nidheeshkayal

      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/" />

      Y Offline
      Y Offline
      yesimlucky
      wrote on last edited by
      #2

      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

      N 1 Reply Last reply
      0
      • Y yesimlucky

        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

        N Offline
        N Offline
        nidheeshkayal
        wrote on last edited by
        #3

        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

        I 1 Reply Last reply
        0
        • N nidheeshkayal

          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

          I Offline
          I Offline
          Ista
          wrote on last edited by
          #4
          1. 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!!
          C 1 Reply Last reply
          0
          • I Ista
            1. 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!!
            C Offline
            C Offline
            chakkara2003
            wrote on last edited by
            #5

            hi thanx chakkara

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups