Cross: How to use XSD

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Marko

    Cross: How to use XSD

    I work with web services based on WSDL and I can add web reference in visual
    studio. After that I can declare objets which are instances of webservices.
    I can add values to objest properties and call functions of these objects.
    Everithing is fine.

    But now, I have to use XSD based web service and I don't know how to start.
    How to include functions (classes) of this web service? How to add web
    reference... or I need to use some other techniques?

    Can somebody help how to start?


  • Michael Nemtsev [MVP]

    #2
    Re: Cross: How to use XSD

    Hello marko,

    What do u mean by "XSD based" ?!
    XSD is good to design your message and then generate and validate all messages
    it's widely used in heterogeneous systems for example when u design the canonical
    schema and convert all mesages into

    ---
    WBR,
    Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

    "The greatest danger for most of us is not that our aim is too high and we
    miss it, but that it is too low and we reach it" (c) Michelangelo


    mI work with web services based on WSDL and I can add web reference in
    mvisual studio. After that I can declare objets which are instances of
    mwebservices. I can add values to objest properties and call functions
    mof these objects. Everithing is fine.
    m>
    mBut now, I have to use XSD based web service and I don't know how to
    mstart. How to include functions (classes) of this web service? How to
    madd web reference... or I need to use some other techniques?
    m>
    mCan somebody help how to start?
    m>


    Comment

    • Hal Rosser

      #3
      Re: Cross: How to use XSD


      "Marko" <marko_a@hotmai l.comwrote in message
      news:ftv7jf$ilj $1@sunce.iskon. hr...
      >I work with web services based on WSDL and I can add web reference in
      >visual studio. After that I can declare objets which are instances of
      >webservices. I can add values to objest properties and call functions of
      >these objects. Everithing is fine.
      >
      But now, I have to use XSD based web service and I don't know how to
      start. How to include functions (classes) of this web service? How to add
      web reference... or I need to use some other techniques?
      >
      Can somebody help how to start?
      I don't know about XML Schema Document (XSD) Based web services - but here
      is a good site with good tutorials on XML-related subjects:
      W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.



      Comment

      • Spam Catcher

        #4
        Re: Cross: How to use XSD

        Michael Nemtsev [MVP] <nemtsev@msn.co mwrote in
        news:900895ec37 a308ca6c980ce88 5d0@msnews.micr osoft.com:
        What do u mean by "XSD based" ?!
        XSD is good to design your message and then generate and validate all
        messages it's widely used in heterogeneous systems for example when u
        design the canonical schema and convert all mesages into
        I think Marko means schema first design.

        You're given an XSD in which you need to generate a matching WSDL. Does
        anyone have experience with this? I'm facing the same issue. It seems .NET
        tools are designed for function first design?

        --
        spamhoneypot@ro gers.com (Do not e-mail)

        Comment

        • Jeff Dillon

          #5
          Re: Cross: How to use XSD

          Check into xsd.exe

          Jeff

          "Marko" <marko_a@hotmai l.comwrote in message
          news:ftv7jf$ilj $1@sunce.iskon. hr...
          >I work with web services based on WSDL and I can add web reference in
          >visual studio. After that I can declare objets which are instances of
          >webservices. I can add values to objest properties and call functions of
          >these objects. Everithing is fine.
          >
          But now, I have to use XSD based web service and I don't know how to
          start. How to include functions (classes) of this web service? How to add
          web reference... or I need to use some other techniques?
          >
          Can somebody help how to start?
          >
          >

          Comment

          • Spam Catcher

            #6
            Re: Cross: How to use XSD

            "Jeff Dillon" <jeffdillon@hot mailremove.comw rote in
            news:#L#siTmnIH A.2328@TK2MSFTN GP03.phx.gbl:
            Check into xsd.exe
            XSD.exe is horribly limited and doesn't parse many XSDs. Furthermore, I
            don't think it works well in a web service environment - because the
            WSDL needs to use the pre-defined XSDs not use class representations of
            the source code.


            Jeff
            >
            "Marko" <marko_a@hotmai l.comwrote in message
            news:ftv7jf$ilj $1@sunce.iskon. hr...
            >>I work with web services based on WSDL and I can add web reference in
            >>visual studio. After that I can declare objets which are instances of
            >>webservices . I can add values to objest properties and call functions
            >>of these objects. Everithing is fine.
            >>
            >But now, I have to use XSD based web service and I don't know how to
            >start. How to include functions (classes) of this web service? How to
            >add web reference... or I need to use some other techniques?
            >>
            >Can somebody help how to start?
            >>
            >>
            >
            >
            >


            --
            spamhoneypot@ro gers.com (Do not e-mail)

            Comment

            • =?Utf-8?B?RGFuIFJvc2Fub3Zh?=

              #7
              Re: Cross: How to use XSD

              You can get quite a bit out of XSD.exe, but you may want to make changes by
              hand as well, it can tend to make ugly classes. Personally I use BizTalk a
              lot, so XSD is it's native language. I love the product and it's Visual
              Studio based development.

              Comment

              Working...