IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
Expand all | Collapse all

IS Schema to Xsd

  • 1.  IS Schema to Xsd

    Posted 04/18/12 03:03 PM

    Hi,How to get the xsd from a IS schema ? when i tried to export the IS schema ,am getting a .ndf file,which is not in a form which i wanted .Is there any way to get that xsd back from webMethods ?, Or can any one have any idea on converting this .ndf file to .xsd .
    Any help is appreciated …Thanks in advance
    yshak


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 2.  RE: IS Schema to Xsd

    Posted 04/18/12 04:46 PM

    [STRIKE]You can use “pub.schema:createXSD” in WmPublic[/STRIKE] Never mind my answer, it doesn’t work with schemas.


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: IS Schema to Xsd

    Posted 04/18/12 10:55 PM

    How was the IS schema created? Typically, they are created by parsing an existing XSD. Are you trying to get back to the original XSD because you no longer have it or something else?

    Mark


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 4.  RE: IS Schema to Xsd

    Posted 04/19/12 07:30 AM

    yes mcarlson ,you are right .The schema was created by parsing an xsd and that xsd is no longer available ,now i need to get that xsd from the IS schema ,any way to Achieve this ?


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 5.  RE: IS Schema to Xsd

    Posted 04/19/12 02:18 PM

    pub.schema:createXSD can create xsd from provided IS dcoument


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 6.  RE: IS Schema to Xsd

    Posted 04/19/12 02:59 PM

    Hi shahid ,I need to get the xsd from an IS schema not from an IS document or Specification .Is there any way to do that ,or is there any way to convert the IS schema to IS document.


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 7.  RE: IS Schema to Xsd

    Posted 04/20/12 02:17 PM

    I don’t think that you can use an internal IS schema to generate an XSD.

    If you have a document that conforms to the schema, you could use it to create a doc type and then create an XSD from that. Of course, this would be incomplete and would be missing most of the constraints.

    Mark


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 8.  RE: IS Schema to Xsd

    Posted 04/20/12 06:02 PM

    :frowning: ,mark i have a thought , when i tried to export the schema i got .ndf files .And when i analysed that files it is somewhat similar to the basic xsd .My concern is can i convert this ndf file to the xsd?
    like by parsing this ndf file to a document tree and then converting it to the xsd.Is it possible ? if so any API s is there ?


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 9.  RE: IS Schema to Xsd

    Posted 02/11/13 04:01 PM

    No ready API …but you may need to try at your own risk with .ndf.


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 10.  RE: IS Schema to Xsd

    Posted 09/04/14 12:15 PM

    I created an XSLT to convert NDF files into XSD. I’m not an WM expert so maybe there is an easier way and maybe it won’t work with all the NDF files, but it works for me. NDF files are XML files so it was easy enough


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services