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
  1. Home
  2. Web Development
  3. web services question

web services question

Scheduled Pinned Locked Moved Web Development
wcfquestion
5 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.
  • J Offline
    J Offline
    jesarg
    wrote on last edited by
    #1

    (I'm having to do some crazy stuff with web services, so bear with me.) Does anyone know if it's safe to assume that there exists one and exactly one WSDL file for each web service that I could possibly want to consume? And, if so, is there some sort of reference on w3.org (or some other standards organization) that proves it?

    L 1 Reply Last reply
    0
    • J jesarg

      (I'm having to do some crazy stuff with web services, so bear with me.) Does anyone know if it's safe to assume that there exists one and exactly one WSDL file for each web service that I could possibly want to consume? And, if so, is there some sort of reference on w3.org (or some other standards organization) that proves it?

      L Offline
      L Offline
      Laubi
      wrote on last edited by
      #2

      no not really. what you describe is what you'll usually find but it is actually possible to have more than one service within one wsdl file!

      J 1 Reply Last reply
      0
      • L Laubi

        no not really. what you describe is what you'll usually find but it is actually possible to have more than one service within one wsdl file!

        J Offline
        J Offline
        jesarg
        wrote on last edited by
        #3

        Yeah, I was afraid of that. Based on the spec at http://www.w3.org/TR/wsdl#\_Toc492291092, it seems like I can't safely make that assumption. Have you ever had to deal with the case of some web service provider putting more than one service into the same WSDL file? There's a lot that a provider can do (while still following the specs) to make the consumer's job a nightmare, but so far, I haven't had to deal with it yet.

        L 1 Reply Last reply
        0
        • J jesarg

          Yeah, I was afraid of that. Based on the spec at http://www.w3.org/TR/wsdl#\_Toc492291092, it seems like I can't safely make that assumption. Have you ever had to deal with the case of some web service provider putting more than one service into the same WSDL file? There's a lot that a provider can do (while still following the specs) to make the consumer's job a nightmare, but so far, I haven't had to deal with it yet.

          L Offline
          L Offline
          Laubi
          wrote on last edited by
          #4

          Well yeah I had to deal with that several times but never had a problem with that.. Look at that simple code written in vbscript Dim SoapClient Set SoapClient = CreateObject("MSSOAP.SoapClient") Call SoapClient.mssoapinit("http://127.0.0.1/bla?wsdl", "WebService", "SimpleWebServiceSoapPort") there you can see that even when you use MSSOAP you're able to pass the name of the service, so no big deal unless you're using a client library that doesn't support passing the name of the service... I have worked with a lot of different soap clients and never seen one that doesn't allow me to pass the servicename... Where exactly do you see the problem?

          J 1 Reply Last reply
          0
          • L Laubi

            Well yeah I had to deal with that several times but never had a problem with that.. Look at that simple code written in vbscript Dim SoapClient Set SoapClient = CreateObject("MSSOAP.SoapClient") Call SoapClient.mssoapinit("http://127.0.0.1/bla?wsdl", "WebService", "SimpleWebServiceSoapPort") there you can see that even when you use MSSOAP you're able to pass the name of the service, so no big deal unless you're using a client library that doesn't support passing the name of the service... I have worked with a lot of different soap clients and never seen one that doesn't allow me to pass the servicename... Where exactly do you see the problem?

            J Offline
            J Offline
            jesarg
            wrote on last edited by
            #5

            I'm working on a .NET front end to an ancient legacy back end, and I'm having to automatically generate legacy data structures based on the WSDL file. It's kind of like me having to write a utility like Microsoft's WSDL.exe for an archaic system with no support for 64-bit numbers and very limited support for any sort of floating point numbers so that semi-technical business analyst users of the system can easily consume web services without using .NET (or any other modern, convenient tool) in a way that looks and feels easier than right-clicking on "references" and clicking "Add web reference". There's a large list of things that are likely to go wrong, and I'm working on a solution that will get things done and make everyone involved happy.

            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