Topic
  • 5 replies
  • Latest Post - ‏2013-12-30T19:05:08Z by HermannSW
Arun_DP
Arun_DP
18 Posts

Pinned topic SOMA Script to get all domain details

‏2013-12-27T13:14:48Z |

All,

I need the message count values of all services in all the domains using one soma script(may be in a  loop) or an xslt

we can take the values of every domain using

dp:requestdomain = "myname" xmlns:dp="http://www.datapower.com/schemas/management">

<dp:get-statusclass="MessageCounts"/>

</dp:request>

but i need a script to get all the message count values in all domain. Is there a way? thanks

Updated on 2013-12-27T13:19:34Z at 2013-12-27T13:19:34Z by Arun_DP
  • DorSe
    DorSe
    18 Posts

    Re: SOMA Script to get all domain details

    ‏2013-12-27T13:30:39Z  

    I think you are looking for dp:get-config.

    I advise to take a look at this thread:
    https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014452041

  • Arun_DP
    Arun_DP
    18 Posts

    Re: SOMA Script to get all domain details

    ‏2013-12-27T13:58:23Z  
    • DorSe
    • ‏2013-12-27T13:30:39Z

    I think you are looking for dp:get-config.

    I advise to take a look at this thread:
    https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014452041

    Am aware we can get the message count of services from every domain using <dp:get-statusclass="MessageCounts"/>. Am looking for a script where i get the message count of all services in all domains in one xml file.

    Updated on 2013-12-27T13:59:13Z at 2013-12-27T13:59:13Z by Arun_DP
  • HermannSW
    HermannSW
    4741 Posts

    Re: SOMA Script to get all domain details

    ‏2013-12-27T22:30:19Z  
    • Arun_DP
    • ‏2013-12-27T13:58:23Z

    Am aware we can get the message count of services from every domain using <dp:get-statusclass="MessageCounts"/>. Am looking for a script where i get the message count of all services in all domains in one xml file.

    There is no such SOMA command, all work on a single domain only.


    Hermann<myXsltBlog/> <myXsltTweets/> <myCE/> <myFrameless/>

  • Arun_DP
    Arun_DP
    18 Posts

    Re: SOMA Script to get all domain details

    ‏2013-12-30T09:44:29Z  
    • HermannSW
    • ‏2013-12-27T22:30:19Z

    There is no such SOMA command, all work on a single domain only.


    Hermann<myXsltBlog/> <myXsltTweets/> <myCE/> <myFrameless/>

    Hermann,

    Can this be done in an xslt?

     

    Thanks!

  • HermannSW
    HermannSW
    4741 Posts

    Re: SOMA Script to get all domain details

    ‏2013-12-30T19:05:08Z  
    • Arun_DP
    • ‏2013-12-30T09:44:29Z

    Hermann,

    Can this be done in an xslt?

     

    Thanks!

    From http://en.wikipedia.org/wiki/XSLT:
    "... XSLT is a Turing-complete language, meaning it can specify any computation that can be performed by a computer. ..."

    ;-)


    Hermann<myXsltBlog/> <myXsltTweets/> <myCE/> <myFrameless/>