DataPower

DataPower

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.  Data Source going down and up frequently

    Posted 09/15/20 10:34 AM

    Hi,

    I have created SQL Data Source object with default configuration connecting to a DB. Its operational state is going down and up frequently. It will be down for around 5-10 sec when it goes down. During that interval, the requests will fail.



    #DataPower
    #Support
    #SupportMigration


  • 2.  RE: Data Source going down and up frequently
    Best Answer

    Posted 09/30/20 12:16 PM

    Hi,

    sounds like you'll need to open a PMR to IBM Support.

    --Hermanni



    #DataPower
    #Support
    #SupportMigration


  • 3.  RE: Data Source going down and up frequently
    Best Answer

    Posted 09/30/20 06:27 PM

    Hi Hermann,

    To get rid of sql data source, am trying to use REST call to cloud db. and dbapi/v4/sql_jobs is the job to insert the data.

    But in commands field, I need to give insert statement where one of the column value should be an xml payload..

    since the namespaces (xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/") in xml has " , its failing but with \" its working.. I checked that by manually replacing " with \". Now trying to do the same in xslt. checked translate function, other solutions from forum using recursive calls. but none working..

    Can you help here.



    #DataPower
    #Support
    #SupportMigration


  • 4.  RE: Data Source going down and up frequently
    Best Answer

    Posted 09/30/20 06:28 PM

    Hi Hermann,

    To get rid of sql data source, am trying to use REST call to cloud db. and dbapi/v4/sql_jobs is the job to insert the data.

    But in commands field, I need to give insert statement where one of the column value should be an xml payload..

    since the namespaces (xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/") in xml has " , its failing but with \" its working.. I checked that by manually replacing " with \". Now trying to do the same in xslt. checked translate function, other solutions from forum using recursive calls. but none working..

    Can you help here.




    #DataPower
    #Support
    #SupportMigration


  • 5.  RE: Data Source going down and up frequently
    Best Answer

    Posted 10/01/20 08:19 AM

    It would help if you'd post some code... With xslt you might want to try dp:serialize.

    https://www.ibm.com/support/knowledgecenter/SS9H2Y_7.7.0/com.ibm.dp.doc/serialize_element.html

    --Hermanni

    ps. Hermann is the other, more skilled, guy :)



    #DataPower
    #Support
    #SupportMigration


  • 6.  RE: Data Source going down and up frequently
    Best Answer

    Posted 10/01/20 08:22 AM

    Serialization did helped. thq



    #DataPower
    #Support
    #SupportMigration