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.

 View Only
  • 1.  XML Schema Reference problem

    Posted Sun July 28, 2002 09:53 PM

    Hi

    There are two schema , say “A” and “B” . Schema A is referiing one Element frm Schema “B” When i looked into B2bServer Schema validation doc it says to inculde either or
    tag for this purpose. If i use tag in schema “A” to refer Schema “B” , it will refer all the elements from f schema “B”. but
    in my case i need to refer only one element from schema “B”

    is there any way to handle this?

    Thanks

    Shibu


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


  • 2.  RE: XML Schema Reference problem

    Posted Sun July 28, 2002 10:48 PM

    Hi, Shibu. Let me see if I understand your issue:

    In your pipeline, there is a record that requires validation. The record is based on “Schema A”. “Schema A” is a parent schema for “Schema B” in that “Schema A” references “Schema B” its in DTD/XSD.

    Your question is “How can I validate the record in my pipeline if the pub.schema.validate service checks my record against ‘Schema A’ and all of ‘Schema B’ as well?”.

    If that is your question, in fact, you should probably spend some time cleaning up your DTDs and your records. The “Schema B” element that you require in “Schema A” should exist as its own DTD, referenced/imported by both “Schema A” and “Schema B”. Look at your other DTDs and you may find more instances of shared elements. By creating DTDs/records for each of these shared elements, you can attain better modularity in your schemas.


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


  • 3.  RE: XML Schema Reference problem

    Posted Mon July 29, 2002 02:22 PM

    Hi Dan

    Thanks for understanding the problem and for the solution.

    Shibu


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