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.


#TechXchangePresenter
 View Only
  • 1.  Namespace order in pub.xml:documentToXMLString

    Posted Mon December 18, 2017 10:12 AM

    Hi guys,
    I have a problem using pub.xml:documentToXMLString. When converting document to string, namespaces are mixed up, but I need them in specific order. Is there a way to control order of namespaces converted?


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


  • 2.  RE: Namespace order in pub.xml:documentToXMLString

    Posted Wed December 20, 2017 06:56 AM

    Hi Juris,

    please provide your wM Version.

    Can you describe your issue in detail please, i.e. what exactly gets mixed up?

    Perhaps it is an issue with the namespace prefixes.

    As long as the namespaces and their prefixes are unique to each other, there should be no problems.
    Even the real prefixes should not really matter as they will be transformed according to the namespace definitions.

    Regards,
    Holger


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


  • 3.  RE: Namespace order in pub.xml:documentToXMLString

    Posted Wed December 20, 2017 12:22 PM

    Sample package or screenshots explaining the issues will help to suggest a solution.


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


  • 4.  RE: Namespace order in pub.xml:documentToXMLString

    Posted Thu December 21, 2017 04:19 AM

    Hi, Here is the issue:

    Thsi is how it should be:

    This is how it ends up:

    I’ve already talked with guys from Empower and they told there is no way to control this order.


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


  • 5.  RE: Namespace order in pub.xml:documentToXMLString

    Posted Thu December 21, 2017 11:08 AM

    Thanks for sharing the samples. However, there is a workaround to maintain the order with help of some services (replace for example).

    Do you mind sharing a sample package I can try on my server too?

    How are you handling currently?


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