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. General Programming
  3. Visual Studio
  4. Web Reference difference between projects

Web Reference difference between projects

Scheduled Pinned Locked Moved Visual Studio
wcfquestion
2 Posts 2 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.
  • M Offline
    M Offline
    mail572352
    wrote on last edited by
    #1

    I have a solution with two projects. One is a web site project and the other is a DLL. I want to move a web reference from my web site project to my DLL but the "Add Web Reference" doesn't work with my DLL as it does with the web site. 1. If I add a web reference to my web site, I get a folder underneath App_WebReferences listing the following: MyWebService.disco MyWebService.discomap MyWebService.wsdl I can then reference the web service in my web site's code. 2. If I add the same web reference to my DLL I get a single object under the "Web References" folder. I CAN'T then reference the web service in my DLL's code. The only way around this is to manually create a proxy class using the WSDL tool. What's the difference? Why is it like this?

    L 1 Reply Last reply
    0
    • M mail572352

      I have a solution with two projects. One is a web site project and the other is a DLL. I want to move a web reference from my web site project to my DLL but the "Add Web Reference" doesn't work with my DLL as it does with the web site. 1. If I add a web reference to my web site, I get a folder underneath App_WebReferences listing the following: MyWebService.disco MyWebService.discomap MyWebService.wsdl I can then reference the web service in my web site's code. 2. If I add the same web reference to my DLL I get a single object under the "Web References" folder. I CAN'T then reference the web service in my DLL's code. The only way around this is to manually create a proxy class using the WSDL tool. What's the difference? Why is it like this?

      L Offline
      L Offline
      Laxman Auti
      wrote on last edited by
      #2

      mail572352 wrote:

      What's the difference? Why is it like this?

      What is the type of DLL project?? I have the ASP web application and C# Dll for Business logic having references to web services... Then it should work for other types of dlls. Knock out 't' from can't, You can if you think you can :cool:

      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