473,464 Members | 1,720 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Web service proxy w/ wsdl.exe

Hi all,

I'm working through some examples using VS2003 and the classic airport
weather web service. Current topic is creating a proxy class for a web
service but the wsdl.exe tool is including namespace references that aren't
recognized by .net, namely "System.Web.Services" and
"System.Web.Services.Protocols". I'm getting errors indicating:

The type or namespace name 'Services' does not exist in the class or
namespace 'System.Web' (are you missing an assembly reference?)

Two areas of question:
- Are these 1.0 framework namespaces that have gone away? What should these
be referencing instead?

- Is there a later version of wsdl.exe I should be using? I'm currently
using 1.1.4322, which matches my framework version.

TIA,

John
Jul 21 '05 #1
3 1727
Add a reference to system.web.services.dll .

--
Regards,
Dennis JD Myrén
Oslo Kodebureau
"John Spiegel" <js******@YETANOTHERSPAMHATERc-comld.com> wrote in message
news:us**************@TK2MSFTNGP15.phx.gbl...
Hi all,

I'm working through some examples using VS2003 and the classic airport
weather web service. Current topic is creating a proxy class for a web
service but the wsdl.exe tool is including namespace references that
aren't
recognized by .net, namely "System.Web.Services" and
"System.Web.Services.Protocols". I'm getting errors indicating:

The type or namespace name 'Services' does not exist in the class or
namespace 'System.Web' (are you missing an assembly reference?)

Two areas of question:
- Are these 1.0 framework namespaces that have gone away? What should
these
be referencing instead?

- Is there a later version of wsdl.exe I should be using? I'm currently
using 1.1.4322, which matches my framework version.

TIA,

John

Jul 21 '05 #2
Thanks, Dennis.

I'm still a bit confused as to why there are chunks of the framework that
they chose to not let the framework know about, but there was probably some
resource v. usage issue. Isn't there always?

Thanks again,

John

"Dennis Myrén" <de****@oslokb.no> wrote in message
news:%H*******************@news4.e.nsc.no...
Add a reference to system.web.services.dll .

--
Regards,
Dennis JD Myrén
Oslo Kodebureau
"John Spiegel" <js******@YETANOTHERSPAMHATERc-comld.com> wrote in message
news:us**************@TK2MSFTNGP15.phx.gbl...
Hi all,

I'm working through some examples using VS2003 and the classic airport
weather web service. Current topic is creating a proxy class for a web
service but the wsdl.exe tool is including namespace references that
aren't
recognized by .net, namely "System.Web.Services" and
"System.Web.Services.Protocols". I'm getting errors indicating:

The type or namespace name 'Services' does not exist in the class or
namespace 'System.Web' (are you missing an assembly reference?)

Two areas of question:
- Are these 1.0 framework namespaces that have gone away? What should
these
be referencing instead?

- Is there a later version of wsdl.exe I should be using? I'm currently
using 1.1.4322, which matches my framework version.

TIA,

John


Jul 21 '05 #3
The framework is logically sliced up into a number of DLL files.
The framework core implementation is defined in mscorlib.dll.

I guess you can think of the other parts as extensions which you need to
plug in
only if you need those specific features that it provides.
--
Regards,
Dennis JD Myrén
Oslo Kodebureau
"John Spiegel" <js******@YETANOTHERSPAMHATERc-comld.com> wrote in message
news:uU*************@TK2MSFTNGP12.phx.gbl...
Thanks, Dennis.

I'm still a bit confused as to why there are chunks of the framework that
they chose to not let the framework know about, but there was probably
some
resource v. usage issue. Isn't there always?

Thanks again,

John

"Dennis Myrén" <de****@oslokb.no> wrote in message
news:%H*******************@news4.e.nsc.no...
Add a reference to system.web.services.dll .

--
Regards,
Dennis JD Myrén
Oslo Kodebureau
"John Spiegel" <js******@YETANOTHERSPAMHATERc-comld.com> wrote in message
news:us**************@TK2MSFTNGP15.phx.gbl...
> Hi all,
>
> I'm working through some examples using VS2003 and the classic airport
> weather web service. Current topic is creating a proxy class for a web
> service but the wsdl.exe tool is including namespace references that
> aren't
> recognized by .net, namely "System.Web.Services" and
> "System.Web.Services.Protocols". I'm getting errors indicating:
>
> The type or namespace name 'Services' does not exist in the class or
> namespace 'System.Web' (are you missing an assembly reference?)
>
> Two areas of question:
> - Are these 1.0 framework namespaces that have gone away? What should
> these
> be referencing instead?
>
> - Is there a later version of wsdl.exe I should be using? I'm
> currently
> using 1.1.4322, which matches my framework version.
>
> TIA,
>
> John
>
>



Jul 21 '05 #4

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

Similar topics

5
by: Bill Hauver | last post by:
I am attempting to use a web service from my work pc which is behind a firewall. I have used wsdl.exe to create the web service reference class and added it to my project. (this seems to work...
2
by: raymond | last post by:
Hi, Is it possible to create a proxy client class or a web service method by VS.NET without using wsdl? My stupid client is using a xml schema (.xsd) to describe all their web service methods...
4
by: Joe | last post by:
I'm hosting my web service on a Windows 2003 box which is remotely located. When trying to add a web reference to a C# project I get an error message 'There was an error downloading...
6
by: seeIT | last post by:
In a client application a simple webservice (add/multiply) was added to solution panel but proxy methods do not appear. WSDL description in solution panel follows: <?xml version="1.0"...
5
by: Nate | last post by:
We are attempting to make a request to a web service (we will refer to it as XXXServices) hosted on a Web Logic server from a C# SOAP client. The server responds with a 401 Unauthorized error...
0
by: ben | last post by:
OK so there are a few things going on. I succesfully created a SOAP webreference in VS IDE which when built works fine under small amounts of load, however under heavy amounts of load we start to...
5
by: ayaz.usman | last post by:
Hi, I've built a web services proxy server, in C# using wsdl.exe, by importing wsdl. Howeever, when I go to : http://localhost/sample.asmx?wsdl, they wsdl there does not match the wsdl I fed...
6
by: nickname | last post by:
I want to pass some xml to a web service method, the xml will confirm to a defined schema. Lets say the schema is defined as: <xs:schema attributeFormDefault="unqualified"...
1
by: Nestor | last post by:
Hello all, I'm begining in the web services world and I've reading about how to invoke them using javascript from Mozilla browser (version 2.0 in my case). I found a very interesting example...
5
by: cj | last post by:
Back some time ago I was playing with a little app in VB 2005 that used a google web service to get search results. I was rebuilding this app in 2008 today. I added the web service...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

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.