473,386 Members | 1,699 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,386 software developers and data experts.

Web Service Consumption Issue

Hi,

I just whipped up an app to call Amazon.com's new S3 web service. I added a
web reference using http://s3.amazonaws.com/doc/2006-03-01/AmazonS3.wsdl,
but for some reason it didn't create a file Reference.cs. It did create
Reference.map.

I don't seem to be able to instantiate any class that I could use to call
the web service.

I think this is the first time I've tried to consume a web service with a
WSDL file, before this I have always consumed .ASMX files that were also
created with dotnet.

Thanks,

Steve
Mar 26 '06 #1
5 1416
you can use wsdl.exe to generate proxy from wsdl file

take a look at (
http://msdn.microsoft.com/library/de...oolWsdlexe.asp )

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com

"Steve Harclerode" <Ca***************@hot.mail.com> wrote in message
news:Om**************@TK2MSFTNGP12.phx.gbl...
Hi,

I just whipped up an app to call Amazon.com's new S3 web service. I added
a web reference using
http://s3.amazonaws.com/doc/2006-03-01/AmazonS3.wsdl, but for some reason
it didn't create a file Reference.cs. It did create Reference.map.

I don't seem to be able to instantiate any class that I could use to call
the web service.

I think this is the first time I've tried to consume a web service with a
WSDL file, before this I have always consumed .ASMX files that were also
created with dotnet.

Thanks,

Steve

Mar 26 '06 #2
I just tried this and it did create a proxy class, with namespace
com.amazonaws.s3

You don't see the cs file because it is hidden. Click the little "Show all
files" icon at the top of the Solution Explorer menubar and you'll see
everything.

Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Steve Harclerode" wrote:
Hi,

I just whipped up an app to call Amazon.com's new S3 web service. I added a
web reference using http://s3.amazonaws.com/doc/2006-03-01/AmazonS3.wsdl,
but for some reason it didn't create a file Reference.cs. It did create
Reference.map.

I don't seem to be able to instantiate any class that I could use to call
the web service.

I think this is the first time I've tried to consume a web service with a
WSDL file, before this I have always consumed .ASMX files that were also
created with dotnet.

Thanks,

Steve

Mar 26 '06 #3
Hi, I'm guessing you're using a later version of VS. Mine is 2002, a bit of
a dinosaur I guess. But unfortunately there's no CS file created by 2002.

Thanks though...

- Steve

"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.com> wrote in message
news:C3**********************************@microsof t.com...
I just tried this and it did create a proxy class, with namespace
com.amazonaws.s3

You don't see the cs file because it is hidden. Click the little "Show
all
files" icon at the top of the Solution Explorer menubar and you'll see
everything.

Peter

Mar 27 '06 #4
This rings a bell, thank you for reminding me.

- Steve

"Vadym Stetsyak" <va*****@ukr.net> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
you can use wsdl.exe to generate proxy from wsdl file

take a look at (
http://msdn.microsoft.com/library/de...oolWsdlexe.asp )

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com

Mar 27 '06 #5
Ok, then as previously mentioned, you can use WSDL.EXE to create one and add
it to your project.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Steve Harclerode" wrote:
Hi, I'm guessing you're using a later version of VS. Mine is 2002, a bit of
a dinosaur I guess. But unfortunately there's no CS file created by 2002.

Thanks though...

- Steve

"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.com> wrote in message
news:C3**********************************@microsof t.com...
I just tried this and it did create a proxy class, with namespace
com.amazonaws.s3

You don't see the cs file because it is hidden. Click the little "Show
all
files" icon at the top of the Solution Explorer menubar and you'll see
everything.

Peter


Mar 27 '06 #6

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

Similar topics

2
by: Martin Rojo | last post by:
Hi ALl I've got a strange issue (on development, not production) With .NET 1.1, I've got a multithreaded app that sends and received to MSMQ, also has uses a Remoting server so as to run...
8
by: Greg Merideth | last post by:
I've written a basic windows service to provide some helper xml functions for my web methods and even thou the service is only about 1k lines long with 1 timer, its mem usage is 10m and its vm mem...
8
by: nautonnier | last post by:
I know my problem has been discussed ad nauseum but I still don't get it so please bear with me. I have written a service which performs some work against a database once a day (usually in the...
10
by: John | last post by:
I currently have a Windows Service that runs Transactions that are very Processor/Memory Intensive. I have a requirement to deploy multiple instances of the Web service on the Same server. Each...
6
by: dotNeter | last post by:
The services, talked here, are things used in IServiceContainer, IServiceProvider, etc. In my opinion, everything can be a service, and a service is generally used for providing specific features...
2
by: ghause | last post by:
I am writing what is essentially a facade layer for service consumption. I don't want this facade to be part of my web application, it needs to be a standalone dll. This facade will contain all of...
7
by: shai | last post by:
I am working at .net 1.1, writing in c#. I have windows service with a COM object. Every unexpected time The COM object throw an error that make my service get stuck (do not respond). I can catch...
11
by: Joseph Geretz | last post by:
I've been looking at two approaches for the maintenance of Session state for a Web Service application. One approach uses the old familiar Session object which I've used in the past for Web...
33
by: JamesB | last post by:
I am writing a service that monitors when a particular app is started. Works, but I need to get the user who is currently logged in, and of course Environment.UserName returns the service logon...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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
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
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...

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.