By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,304 Members | 3,174 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,304 IT Pros & Developers. It's quick & easy.

Can't find WSDL file

P: n/a
Hi all.

I created simple web service with C# and run it on Win2000 XP sp2.
Service has two simple [WebMethods]. I test it with my C# client and IE.

Now I want to create VC++ 6 application and talk to web service with SOAP
SDK lib.

It's good so far, but SOAP SDK samples are using link to the WSDL file for
the tested WebService. I have search whole computer with WebService running
and can't find WSDL !

Questions :
1. Where is my WSDL file ?
2. Is there is other way to use SOAP SDK without WSDL ?

BTW. I can see WSDL via IE if I specify .....SomeFolder/Service1.asmx?WSDL
in URL

regards
Nov 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
pronto,

The WSDL file is automatically generated from the type definition by the
ASP.NET runtime. If you want to create the WSDL file, then you can just ask
for it in IE, and save it. I believe if you go to the page for your
webservice, and attach ?WSDL to the end, it will give you that. Save that
to an WSDL file, and then you can create your proxy from that.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"pronto" <pr****@hotmail.com> wrote in message
news:uJ**************@TK2MSFTNGP09.phx.gbl...
Hi all.

I created simple web service with C# and run it on Win2000 XP sp2.
Service has two simple [WebMethods]. I test it with my C# client and IE.

Now I want to create VC++ 6 application and talk to web service with SOAP
SDK lib.

It's good so far, but SOAP SDK samples are using link to the WSDL file for
the tested WebService. I have search whole computer with WebService
running and can't find WSDL !

Questions :
1. Where is my WSDL file ?
2. Is there is other way to use SOAP SDK without WSDL ?

BTW. I can see WSDL via IE if I specify .....SomeFolder/Service1.asmx?WSDL
in URL

regards

Nov 16 '05 #2

P: n/a

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:%2****************@TK2MSFTNGP15.phx.gbl...
pronto,

The WSDL file is automatically generated from the type definition by
the ASP.NET runtime. If you want to create the WSDL file, then you can
just ask for it in IE, and save it. I believe if you go to the page for
your webservice, and attach ?WSDL to the end, it will give you that. Save
that to an WSDL file, and then you can create your proxy from that.


Better yes, create your proxy directly from the URL <webServiceAddress>?wsdl
(assuming your toolkit can generate from URLs as well as files.)
Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.