tags:

views:

366

answers:

3

I have a WSDL file. I want to convert wsdl file to web service class file.

Is it possible? If yes please explain it to me in detail.

+2  A: 

If you are using .NET and you want to create a client class you can use WSDL.exe.

There are numerous examples on how to create a Java client proxy if you google correctly.

BrianLy
I am using C# .net
Rameshkumar
WSDL.exe is the way to go, especially if your Web service isn't live, and you only have the .wsdl file.
maxwellb
A: 

A WSDL is more of an interface; it's not going to have any implementation details. If you use WSDL.exe or pull the web service in a project and look at all files, you should get the method signatures.

bryanjonker
A: 
  1. In Solution Explorer right click on your project and go to "Add Service Reference..."
  2. Press "Advanced..." at the bottom of the window.
  3. Press "Add Web Reference..." at the bottom of the window.
  4. In the URL field enter the path to the file eg. C:\Documents and Settings\username\Desktop\filename
  5. Press Go arrow. Service description should display.
  6. Enter the reference name you wish.
  7. Press "Add reference".
  8. Watch Visual Studio do its magic and making your life easy.
  9. Take a break.
JKJKJK