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.  pub.xml.getXMLNodeIterator is not working

    Posted 05/04/18 07:33 AM

    Hi there,

    I am currently trying to loop through an XML node by using pub.xml.getXMLNodeIterator. However, I encounter this error

    Error: [ISC.0042.9328] Error: namespace prefix hvas1 not defined for element mySayHello2

    This is how my SOAP request looks like like:-

    <soapenv:Envelope xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/
    xmlns:hvas=“hvas_ext2.mySayHello2.doc”
    xmlns:hvas1=“http://hkgabdlapp90.aia.biz/hvas_ext2.mySayHello2.flow”>
    soapenv:Header
    hvas:CodeFirstRequestHeader
    ?
    ?
    ?
    </hvas:CodeFirstRequestHeader>
    </soapenv:Header>
    soapenv:Body
    hvas1:mySayHello2
    ?
    ?
    </hvas1:mySayHello2>
    </soapenv:Body>
    </soapenv:Envelope>

    I have already done declaring the prefix in pub.xml.getXMLNodeIterator.nsDecls as hvas1=“http://hkgabdlapp90.aia.biz/hvas_ext2.mySayHello2.flow”> but to no avail. Does anyone know what is wrong with my setting by any chance?

    Regards,
    Ronnie She Chien Wei


    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: pub.xml.getXMLNodeIterator is not working

    Posted 05/08/18 12:37 AM

    Hi guys, any clue? I still can not get it working.


    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: pub.xml.getXMLNodeIterator is not working

    Posted 05/09/18 04:59 AM

    Hi,

    Have you imported that schema into the IS?

    Best regards,


    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: pub.xml.getXMLNodeIterator is not working

    Posted 05/10/18 12:00 AM

    Thanks Gerardo, may I know how to import schema into the IS? I am totally out of idea…


    #Integration-Server-and-ESB
    #webMethods


  • 5.  RE: pub.xml.getXMLNodeIterator is not working

    Posted 05/11/18 11:15 AM

    Hi Ronnie,

    use Designer for that.

    In Designer select “New” → “Schema” in the context menu of your package/folder, where you want the node to be created, and follow the Creation Wizard.

    See Service Development Guide for Details.

    Regards,
    Holger


    #Integration-Server-and-ESB
    #webMethods