473,394 Members | 1,902 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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?
Nov 17 '05 #1
3 1003
Nak
> 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.


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!
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
/\/\/\/\/\/\/\/\/\/\/
Nov 17 '05 #2
Considering System.Web is just part of theCLR you should have it... it isn't
necessarily direcly tied to IIS.
"John Knoop" <jo****@home.se> wrote in message
news:uI**************@TK2MSFTNGP09.phx.gbl...
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?

Nov 17 '05 #3
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" <a@a.com> wrote in message
news:e4**************@TK2MSFTNGP09.phx.gbl...
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.


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!
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ /\/\/\/\/\/\/\/\/\/\/

Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Alexander Stippler | last post by:
Hi, I have a little problem to design some template classes in a realizable way. I have some Container classes and some Proxy classes (proxies for elements). Looks like this: // P is the...
8
by: SpOiLeR | last post by:
Hello! I have a matrix class like this: class MyObject; // MyMatrix is contains MyObjects class MyMatrix { public: ...
4
by: Flare | last post by:
OK. I'll try explain my problem so simple as possible. I have to send a complex data type to a WebService from a Asp.net webapplication. My Data type look like this. (A class with a porperty)...
3
by: Ohad Young | last post by:
Hi, I have a webservice method that returns an instance of a custom class I created (e.g., bank account). The class definition in the webservice contains properties, overrides Object.ToString...
1
by: Smugsboy | last post by:
Hi, I have a problem with a web service proxy written in .NET and used from VS6's C++ as COM object. This proxy works great when used from a .NET application. It does not seem to work when used...
1
by: Steve Lutz | last post by:
I have written a web service to provide some back-end functionality to a Web Site. The web service returns lists of items. If I use the webservice via a browser, it works fine and returns the...
8
by: andyjgw | last post by:
Hi all, hope someone can help here, I'm really stuck. Reading and googling like mad, to no avail so far... Basically, my problem *seems* to boil down to type conversion: Here's a sample web...
5
by: HenrySeque | last post by:
I have a webservice and I add a web reference from my web project. I want the proxy class to implements an Interface, but I didn't find the source code of the proxy class and I don't want to...
4
by: Jon | last post by:
I wrote a VS 2005 C# express programme that accesses a web service. It works fine when there's a direct connection to the internet, but on two different PCs with internet access via a proxy, I get...
2
by: Markjan | last post by:
I have a problem with classes and structures in classes (C++) I have to overload operator . class Data { public: class Proxy { //for overload operator Data& _a; int...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.