Topic
  • 6 replies
  • Latest Post - ‏2014-10-08T08:07:48Z by HermannSW
happyhome
happyhome
5 Posts

Pinned topic RESTFUL API calls in datapower

‏2012-10-29T15:49:02Z |
Hi,
I need to just passthrough a RESTFUL web service through datapower to SIEBEL.
Can I find any examples on this.Just REST calls no SOAP at all.
Updated on 2012-10-30T20:04:46Z at 2012-10-30T20:04:46Z by JonPalgon
  • HermannSW
    HermannSW
    4869 Posts

    Re: RESTFUL API calls in datapower

    ‏2012-10-29T21:13:50Z  
    Here is a document on RESTful basics:
    https://www.ibm.com/developerworks/webservices/library/ws-restful/

    If you just want to passthrough to backend system you may do so by:
    • MPGW (Multi Protocol GateWay)
    • with http or https FSH (Front Side Handler)
    • request and response type "pass-thru"
    • "default" policy

    But in that case DataPower does nothing (no validation, no transformation, ...), not sure if that is what you want.

     
    Hermann<myXsltBlog/> <myXsltTweets/>
  • happyhome
    happyhome
    5 Posts

    Re: RESTFUL API calls in datapower

    ‏2012-10-30T15:54:15Z  
    • HermannSW
    • ‏2012-10-29T21:13:50Z
    Here is a document on RESTful basics:
    https://www.ibm.com/developerworks/webservices/library/ws-restful/

    If you just want to passthrough to backend system you may do so by:
    • MPGW (Multi Protocol GateWay)
    • with http or https FSH (Front Side Handler)
    • request and response type "pass-thru"
    • "default" policy

    But in that case DataPower does nothing (no validation, no transformation, ...), not sure if that is what you want.

     
    Hermann<myXsltBlog/> <myXsltTweets/>
    Thanks for the response.Shall look into he provide doc
  • happyhome
    happyhome
    5 Posts

    Re: RESTFUL API calls in datapower

    ‏2012-10-30T16:33:45Z  
    • HermannSW
    • ‏2012-10-29T21:13:50Z
    Here is a document on RESTful basics:
    https://www.ibm.com/developerworks/webservices/library/ws-restful/

    If you just want to passthrough to backend system you may do so by:
    • MPGW (Multi Protocol GateWay)
    • with http or https FSH (Front Side Handler)
    • request and response type "pass-thru"
    • "default" policy

    But in that case DataPower does nothing (no validation, no transformation, ...), not sure if that is what you want.

     
    Hermann<myXsltBlog/> <myXsltTweets/>
    Yes ,I do not need to do any validations and transformations.Just need to pass-through the request from Siebel to 3rd party vendor.

    So I just would create the MPGW policy.

    During the creation,does the 3rd party vendor URL be the value of my back-end url and the hostname /URL of Siebel be the value for my Front side handler?

    If at all I need to use https ,then create a SFTP server front-side handler?
  • JonPalgon
    JonPalgon
    72 Posts

    Re: RESTFUL API calls in datapower

    ‏2012-10-30T20:04:46Z  
    • happyhome
    • ‏2012-10-30T16:33:45Z
    Yes ,I do not need to do any validations and transformations.Just need to pass-through the request from Siebel to 3rd party vendor.

    So I just would create the MPGW policy.

    During the creation,does the 3rd party vendor URL be the value of my back-end url and the hostname /URL of Siebel be the value for my Front side handler?

    If at all I need to use https ,then create a SFTP server front-side handler?
    > During the creation,does the 3rd party vendor URL be the value of my back-end url and the hostname /URL of Siebel be the value for my Front side handler?
    The 3rd party vendor URL will be the value of the MPGW's back-end URL
    Siebel should send it's request to the hostname and port the front side handler is configured to listen on

    > If at all I need to use https ,then create a SFTP server front-side handler?
    Because you mention REST, I am assuming you need either HTTP or HTTPS (HTTP over SSL). If Siebel will be connecting to your DP MPGW using HTTPS, then you will want to configure an HTTPS front side handler. Otherwise, you can configure an HTTP front side handler. Actually, a MPGW allows multiple front side handlers to be attached to the service, so you could have both an HTTP and HTTPS front side handler configured on the same MPGW.
    You mentioned SFTP server, and this is a completely different protocol (secure file transfer protocol) not typically used for REST.
  • JatinIBMDW
    JatinIBMDW
    14 Posts

    Re: RESTFUL API calls in datapower

    ‏2014-10-08T03:21:54Z  
    • HermannSW
    • ‏2012-10-29T21:13:50Z
    Here is a document on RESTful basics:
    https://www.ibm.com/developerworks/webservices/library/ws-restful/

    If you just want to passthrough to backend system you may do so by:
    • MPGW (Multi Protocol GateWay)
    • with http or https FSH (Front Side Handler)
    • request and response type "pass-thru"
    • "default" policy

    But in that case DataPower does nothing (no validation, no transformation, ...), not sure if that is what you want.

     
    Hermann<myXsltBlog/> <myXsltTweets/>

    Hi Hermann,

    If I do need validations and transformations then what are my options?

    The service I want to proxy using DP is a RESTful service and the consumer is an HTTP client, so no SOAP involved here.

    The payload is JSON.

    Thanks,

    Jatin

     

     

     

    Updated on 2014-10-08T03:53:06Z at 2014-10-08T03:53:06Z by JatinIBMDW
  • HermannSW
    HermannSW
    4869 Posts

    Re: RESTFUL API calls in datapower

    ‏2014-10-08T08:07:48Z  

    Hi Hermann,

    If I do need validations and transformations then what are my options?

    The service I want to proxy using DP is a RESTful service and the consumer is an HTTP client, so no SOAP involved here.

    The payload is JSON.

    Thanks,

    Jatin

     

     

     

    DataPower provides JSV (JSON Schema Validation) besides XML Schema Validation.

    Is JSON involved in your restfull call?
    Can you provide a sample URL?
    What do you want to validate?


    Hermann.