Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. WebServices/WSDL

WebServices/WSDL

Scheduled Pinned Locked Moved ASP.NET
questionwcftestingsalesbeta-testing
6 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mike Doner
    wrote on last edited by
    #1

    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.

    A 1 Reply Last reply
    0
    • M Mike Doner

      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.

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      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

      M 1 Reply Last reply
      0
      • A Abhijit Jana

        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

        M Offline
        M Offline
        Mike Doner
        wrote on last edited by
        #3

        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.

        A 1 Reply Last reply
        0
        • M Mike Doner

          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.

          A Offline
          A Offline
          Abhijit Jana
          wrote on last edited by
          #4

          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

          M 1 Reply Last reply
          0
          • A Abhijit Jana

            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

            M Offline
            M Offline
            Mike Doner
            wrote on last edited by
            #5

            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.

            M 1 Reply Last reply
            0
            • M Mike Doner

              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.

              M Offline
              M Offline
              Mike Doner
              wrote on last edited by
              #6

              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.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups