Topic
  • 9 replies
  • Latest Post - ‏2016-02-14T23:44:07Z by Dp_sha
praveenkm
praveenkm
10 Posts

Pinned topic Orchestration logic samples in XI 50

‏2013-10-11T11:51:12Z |

Hi All,

Could you help us in getting some docs / links to implement orchestration logic sample in DataPower appliances ?

My requirement is to call up few soap based services and apply some business logic (not complex). For eg a WSP accepting SOAP requests, calls another backend service1 , apply some logic on the return soap payload and then invoke another backend2 soap service.

It would be ideal if the docs/links show how to handle soap faults etc. 

Thanks again

  • David07
    David07
    79 Posts

    Re: Orchestration logic samples in XI 50

    ‏2013-10-11T12:31:23Z  

    Hi Praveen,

    Orchestration can be done in two ways, one is serial orchestration and another one is parallel orchestration. In serial orchestration back end service providers are invoked one at a time to handle the request. Once you get the response from back end you can apply your logic and pass the same to another service provider.To invoke back end in between our policy datapower having extension functions and elements.For this scenario you want to use dp:url-open() extension element. Refer the below mentioned link for url-open details,

    http://pic.dhe.ibm.com/infocenter/wsdatap/v3r8m1/index.jsp?topic=%2Fxi50%2Fextensionfunctions.htm

    In parallel orchestration you will invoke the back end service providers simultaneously ie. parallely. So inorder to acheive this scenario you want to use asynchronus option and also you want to use Evenk-sink action.Once you got the response from all service providers you want to consolidate it.

    http://www.ibm.com/developerworks/webservices/library/ws-datapower/index.html

    http://pic.dhe.ibm.com/infocenter/wsdatap/v5r0m0/index.jsp?topic=%2Fcom.ibm.dp.xi.doc%2Fxmlfirewalldevelopersguide.xi50122.htm

    Regards,

    David.

  • HermannSW
    HermannSW
    6217 Posts

    Re: Orchestration logic samples in XI 50

    ‏2013-10-13T19:51:53Z  
    • David07
    • ‏2013-10-11T12:31:23Z

    Hi Praveen,

    Orchestration can be done in two ways, one is serial orchestration and another one is parallel orchestration. In serial orchestration back end service providers are invoked one at a time to handle the request. Once you get the response from back end you can apply your logic and pass the same to another service provider.To invoke back end in between our policy datapower having extension functions and elements.For this scenario you want to use dp:url-open() extension element. Refer the below mentioned link for url-open details,

    http://pic.dhe.ibm.com/infocenter/wsdatap/v3r8m1/index.jsp?topic=%2Fxi50%2Fextensionfunctions.htm

    In parallel orchestration you will invoke the back end service providers simultaneously ie. parallely. So inorder to acheive this scenario you want to use asynchronus option and also you want to use Evenk-sink action.Once you got the response from all service providers you want to consolidate it.

    http://www.ibm.com/developerworks/webservices/library/ws-datapower/index.html

    http://pic.dhe.ibm.com/infocenter/wsdatap/v5r0m0/index.jsp?topic=%2Fcom.ibm.dp.xi.doc%2Fxmlfirewalldevelopersguide.xi50122.htm

    Regards,

    David.

    See also "Build an RSS aggregator using IBM WebSphere DataPower SOA Appliances multistep services":
    http://www.ibm.com/developerworks/webservices/library/ws-datapower/

     

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

  • praveenkm
    praveenkm
    10 Posts

    Re: Orchestration logic samples in XI 50

    ‏2013-10-14T11:03:30Z  
    • David07
    • ‏2013-10-11T12:31:23Z

    Hi Praveen,

    Orchestration can be done in two ways, one is serial orchestration and another one is parallel orchestration. In serial orchestration back end service providers are invoked one at a time to handle the request. Once you get the response from back end you can apply your logic and pass the same to another service provider.To invoke back end in between our policy datapower having extension functions and elements.For this scenario you want to use dp:url-open() extension element. Refer the below mentioned link for url-open details,

    http://pic.dhe.ibm.com/infocenter/wsdatap/v3r8m1/index.jsp?topic=%2Fxi50%2Fextensionfunctions.htm

    In parallel orchestration you will invoke the back end service providers simultaneously ie. parallely. So inorder to acheive this scenario you want to use asynchronus option and also you want to use Evenk-sink action.Once you got the response from all service providers you want to consolidate it.

    http://www.ibm.com/developerworks/webservices/library/ws-datapower/index.html

    http://pic.dhe.ibm.com/infocenter/wsdatap/v5r0m0/index.jsp?topic=%2Fcom.ibm.dp.xi.doc%2Fxmlfirewalldevelopersguide.xi50122.htm

    Regards,

    David.

    Thanks Dave. Links you have given helped me.

    Thanks again

  • praveenkm
    praveenkm
    10 Posts

    Re: Orchestration logic samples in XI 50

    ‏2013-10-14T11:04:13Z  
    • HermannSW
    • ‏2013-10-13T19:51:53Z

    See also "Build an RSS aggregator using IBM WebSphere DataPower SOA Appliances multistep services":
    http://www.ibm.com/developerworks/webservices/library/ws-datapower/

     

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

    Thanks a lot Hermann. 

     

  • Dp_sha
    Dp_sha
    4 Posts

    Re: Orchestration logic samples in XI 50

    ‏2016-02-10T16:04:22Z  
    • praveenkm
    • ‏2013-10-14T11:04:13Z

    Thanks a lot Hermann. 

     

    Hi Herman, The link mentioned in chat is not working , could you please provide the correct link. 

    I have searched in developer works I have not found any document related to 

    Build an RSS aggregator using IBM WebSphere DataPower SOA Appliances multistep services

     

    http://www.ibm.com/developerworks/webservices/library/ws-datapower/

     

    Could you please help me on the same.

     

    Thanks

     

  • HermannSW
    HermannSW
    6217 Posts

    Re: Orchestration logic samples in XI 50

    ‏2016-02-10T17:03:36Z  
    • Dp_sha
    • ‏2016-02-10T16:04:22Z

    Hi Herman, The link mentioned in chat is not working , could you please provide the correct link. 

    I have searched in developer works I have not found any document related to 

    Build an RSS aggregator using IBM WebSphere DataPower SOA Appliances multistep services

     

    http://www.ibm.com/developerworks/webservices/library/ws-datapower/

     

    Could you please help me on the same.

     

    Thanks

     

    Others reference that article as well and the link is broken there as well:
    http://blog.danzrobok.com/2008/05/13/build-an-rss-aggregator-using-ibm-websphere-datapower-soa-appliances-multistep/

    It seems that the article got deleted somehow. I have no idea why or whom to ask where to get it still.

    Google search does not find it, so it is unlikely that it has moved.

  • Dp_sha
    Dp_sha
    4 Posts

    Re: Orchestration logic samples in XI 50

    ‏2016-02-10T17:46:55Z  

    Thanks Herman for prompt response.

    Any good article you to suggest to understand about orchestration.

  • HermannSW
    HermannSW
    6217 Posts

    Re: Orchestration logic samples in XI 50

    ‏2016-02-10T21:07:35Z  
    • Dp_sha
    • ‏2016-02-10T17:46:55Z

    Thanks Herman for prompt response.

    Any good article you to suggest to understand about orchestration.

    Nice, I went to "wayback machine", the first time since years (www.archive.org) and found all versions of the article.

    The PDF link did not work, but I just printed the latest version of the article as PDF and attach it here ;-)


    Hermann.

  • Dp_sha
    Dp_sha
    4 Posts

    Re: Orchestration logic samples in XI 50

    ‏2016-02-14T23:44:07Z  
    • HermannSW
    • ‏2016-02-10T21:07:35Z

    Nice, I went to "wayback machine", the first time since years (www.archive.org) and found all versions of the article.

    The PDF link did not work, but I just printed the latest version of the article as PDF and attach it here ;-)


    Hermann.

    Thank you Herman.