468,268 Members | 1,540 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,268 developers. It's quick & easy.

wsdl file


I was given a DISCO and WSDL file and a url in order to call a web service
(not written in dot net)
I am not sure what to do this information.
I could code the request by building a sope xml message and using http post
but
Is there some other way to do this without writting all this code?
In this case there is no http location to add the web reference
Thanks Greg
Nov 21 '05 #1
2 6519
Hi,

You can use the WSDL.exe to generate the proxy code from the wsdl file.
More on WSDL can be found under
http://msdn.microsoft.com/library/de...oolWsdlexe.asp

Well.Go to the visual studio .net command prompt.
Move to your specific project folder.

Enter the output file path and the wsdl file path
eg) wsdl /out:myproxy.cs Service1.wsdl

The specified proxy file will be created to your current command prompt
folder.

Now open your web service client project.
Add this generated proxy file to your project.

Now you can call the webservice without any web reference.

Hope this helps.
Regards,
R.Balaji

"Greg Decos" <gd****@optonline.net> wrote in message
news:vn**********************@news4.srv.hcvlny.cv. net...

I was given a DISCO and WSDL file and a url in order to call a web service
(not written in dot net)
I am not sure what to do this information.
I could code the request by building a sope xml message and using http post but
Is there some other way to do this without writting all this code?
In this case there is no http location to add the web reference
Thanks Greg

Nov 21 '05 #2
Thanks!!!
I looked at this utility before but thought it was only for asmx files

Greg
"R.Balaji" <rb********@hotmail.com> wrote in message
news:uy**************@TK2MSFTNGP12.phx.gbl...
Hi,

You can use the WSDL.exe to generate the proxy code from the wsdl file.
More on WSDL can be found under
http://msdn.microsoft.com/library/de...oolWsdlexe.asp
Well.Go to the visual studio .net command prompt.
Move to your specific project folder.

Enter the output file path and the wsdl file path
eg) wsdl /out:myproxy.cs Service1.wsdl

The specified proxy file will be created to your current command prompt
folder.

Now open your web service client project.
Add this generated proxy file to your project.

Now you can call the webservice without any web reference.

Hope this helps.
Regards,
R.Balaji

"Greg Decos" <gd****@optonline.net> wrote in message
news:vn**********************@news4.srv.hcvlny.cv. net...

I was given a DISCO and WSDL file and a url in order to call a web service (not written in dot net)
I am not sure what to do this information.
I could code the request by building a sope xml message and using http

post
but
Is there some other way to do this without writting all this code?
In this case there is no http location to add the web reference
Thanks Greg


Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Dave | last post: by
reply views Thread by saish | last post: by
5 posts views Thread by Mike Logan | last post: by
3 posts views Thread by Arpan | last post: by
9 posts views Thread by Cesar | last post: by
3 posts views Thread by Siva | last post: by
reply views Thread by kermitthefrogpy | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.