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
  • 1.  nsDecls in documentToXMLString

    Posted 09/02/17 11:45 AM

    Hi All,

    How to define nsDecls in documentToXMLString service for the namespace which does not have prefix.

    Ex: We have namespace like

    xmlns:ns6=“http://xyz.org/xml/Common
    xmlns:ns5=“http://xyz.org/xml/Common/v1-5
    xmlns=“http://xyz.org/xml/PO/v1-2

    For the above,. namespace declaration will be
    ns6="http://xyz.org/xml/Common
    ns5="http://xyz.org/xml/Common/v1-5

    What would be for third one.[xmlns=“http://xyz.org/xml/PO/v1-2”] which has blank/no prefix

    Tried adding blank prefix, but no luck.

    How can I achieve this. Please advise

    Thanks,
    Monica


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


  • 2.  RE: nsDecls in documentToXMLString

    Posted 09/05/17 10:45 AM

    Hi Monica,

    is it possible to add an @xmlns-element to the root element in the document?

    Please have a look at the IS Built-In-Services Reference for details.

    Regards,
    Holger


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


  • 3.  RE: nsDecls in documentToXMLString

    Posted 09/05/17 11:27 AM

    Hi Holger,

    Thanks for the response.

    But how can I add this field.
    I tried adding nsDecls with @xmlns(key) and http://xyz.org/xml/PO/v1-2(name), but no luck.

    Can you please let me know.

    Thanks,
    Monica


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