Professional Web Applications Themes

Problem with proxy class - ASP.NET General

Hi I've created a proxyclass from a .wsdl file. But the class uses namespaces that I don't have on my machine, such as System.Web.Services.Protocols.SoapHttpClientProtoc ol. It actually tries to inherit that class. But I don't have IIS on my machine, so I don't have any of the system.web namespaces. Anyone?...

  1. #1

    Default Problem with proxy class

    Hi

    I've created a proxyclass from a .wsdl file. But the class uses namespaces
    that I don't have on my machine, such as
    System.Web.Services.Protocols.SoapHttpClientProtoc ol. It actually tries to
    inherit that class. But I don't have IIS on my machine, so I don't have any
    of the system.web namespaces.

    Anyone?


    John Guest

  2. #2

    Default Re: Problem with proxy class

    > I've created a proxyclass from a .wsdl file. But the class uses namespaces 
    any 

    Hi there,

    The system.web namespaces aren't related to IIS, no standard Windows
    components use the .NET Framework. The System.Web namespace should be on
    your system if you have the .NET Framework installed, try making a reference
    to the "System.Web.Dll", press

    Project > Add Reference

    Select "System.Web.Dll" from the list and press OK.

    As for what your actually trying to do with the ".wsdl" file, I have no
    idea, so I can't ask anything related to that, only the missing namespace
    reference.

    Nick.

    --
    /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
    /\/\/\/\/\/\/\/\/\/\/
    It seems you are not enabling Option Strict. Enable it in the project
    properties and the compiler might find the error for you. Jobs a good'n!
    /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
    /\/\/\/\/\/\/\/\/\/\/


    Nak Guest

  3. #3

    Default Re: Problem with proxy class

    Considering System.Web is just part of theCLR you should have it... it isn't
    necessarily direcly tied to IIS.


    "John Knoop" <se> wrote in message
    news:phx.gbl... 
    any 


    CJ Guest

  4. #4

    Default Re: Problem with proxy class

    Ok, thanks.

    I didn't know I had to "add reference" like in VB6. I thougt it was
    sufficient to just write an imports statement.

    /john

    "Nak" <aa.com> wrote in message
    news:phx.gbl... [/ref]
    namespaces [/ref]
    to 
    > any 
    >
    > Hi there,
    >
    > The system.web namespaces aren't related to IIS, no standard Windows
    > components use the .NET Framework. The System.Web namespace should be on
    > your system if you have the .NET Framework installed, try making a[/ref]
    reference 
    no 
    /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ 
    /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ 


    John Guest

Similar Threads

  1. Problem generating c# proxy class from IBM websphere (AXIS) webservice WSDL.
    By ffhansix@hotmail.com in forum ASP.NET Web Services
    Replies: 3
    Last Post: May 5th, 01:23 PM
  2. proxy class - xml
    By in forum ASP.NET Web Services
    Replies: 9
    Last Post: November 11th, 06:34 AM
  3. Getting a Proxy Class into VBA
    By Paul Hastings in forum ASP.NET Web Services
    Replies: 0
    Last Post: September 23rd, 05:43 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139