473,394 Members | 1,739 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.

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 1726
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: 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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.