WebServices/WSDL
-
Hi all. I'm fairly new to WebServices etc, so go easy on me if this is a really easy question to answer :-) Also, I hope I posted this in the right section.. We're doing work for a customer of ours for which we consume they're webservices. We want to do some testing in-house here before testing in the production environment, and would like to create a working webservice, using they're WSDL definition. I've poked around on google, and found some steps to create a web-services proxy, but is this the same thing? There are quite a few methods in the WSDL, it would be painful to have to define each of them manually. Any information you could forward, would be helpful. Hope the Easter bunny was good to everyone.
-
Hi all. I'm fairly new to WebServices etc, so go easy on me if this is a really easy question to answer :-) Also, I hope I posted this in the right section.. We're doing work for a customer of ours for which we consume they're webservices. We want to do some testing in-house here before testing in the production environment, and would like to create a working webservice, using they're WSDL definition. I've poked around on google, and found some steps to create a web-services proxy, but is this the same thing? There are quite a few methods in the WSDL, it would be painful to have to define each of them manually. Any information you could forward, would be helpful. Hope the Easter bunny was good to everyone.
Mike Doner wrote:
I've poked around on google, and found some steps to create a web-services proxy, but is this the same thing?
You can create proxy using WSDL.exe. Have a look If you are using Visual studio, you can just simple add the WSDL url as web reference, It will do the rest for you. :)
cheers, Abhijit CodeProject MVP
-
Mike Doner wrote:
I've poked around on google, and found some steps to create a web-services proxy, but is this the same thing?
You can create proxy using WSDL.exe. Have a look If you are using Visual studio, you can just simple add the WSDL url as web reference, It will do the rest for you. :)
cheers, Abhijit CodeProject MVP
Thanks for your reply Abhijit. I have no problems adding a reference on the client side, its trying to call the methods that brings out the newbie in me. I successfully ran the WSDL command and it created the .cs file. Now what? Do I create a new webservices project and add this in? When I did this, I could not get the WebService to expose the methods from my imported WSDL, am I missing something? M.
-
Thanks for your reply Abhijit. I have no problems adding a reference on the client side, its trying to call the methods that brings out the newbie in me. I successfully ran the WSDL command and it created the .cs file. Now what? Do I create a new webservices project and add this in? When I did this, I could not get the WebService to expose the methods from my imported WSDL, am I missing something? M.
Mike Doner wrote:
Do I create a new webservices project and add this in?
1. Add web service url as web reference in your web application. 2. Create the object of webservice class. 3. access methods from those object. hope this wll helps you!!
cheers, Abhijit CodeProject MVP
-
Mike Doner wrote:
Do I create a new webservices project and add this in?
1. Add web service url as web reference in your web application. 2. Create the object of webservice class. 3. access methods from those object. hope this wll helps you!!
cheers, Abhijit CodeProject MVP
Hi Abhijit. My problems are strictly server-side. I want to emulate an existing server side WebServices implementation. I have the existing WSDL file, and I want to create a similar Server-Side WebServices project to test my client-code. After that, its gravy.. As I understand web-services and the steps you've provided, this is to create a reference on the client side. Am I misunderstanding? M.
-
Hi Abhijit. My problems are strictly server-side. I want to emulate an existing server side WebServices implementation. I have the existing WSDL file, and I want to create a similar Server-Side WebServices project to test my client-code. After that, its gravy.. As I understand web-services and the steps you've provided, this is to create a reference on the client side. Am I misunderstanding? M.
I was able to do what I wanted to do by using a tool called SoapUI. This allows you to create a mock-up WebService using the provided WSDL. Thanks for your help. Mike.