Posted: Sat Jan 28, 2012 4:18 am Post subject: Need help on a datapower implementation
Novice
Joined: 05 Dec 2011 Posts: 15
Hi,
We have a requirement where we are integrating MB and datapower.
Existing MB flow: We get a URL in request and we need to hit that URL and get the attachment and save that in DB from where client can pick that up.
So we were using localenvironment to dynamically create that url for HTTPRequest node.
New requirement: We need to introduce datapower.We will get the request from MB flow with URL in query string and we need to dynamically hit the HTTP server URL after retriving the URL from quesry string and send result back to MB.
Questions:
1. Do we need to create a MPG as its only HTTP FSH required.
2. How to parse the HTTP GET parameters? Any function in DP
3. How to invoke this URL after we have set the dynamic backend
Homework done till now:
1. We need to creat a route rule in policy and provide xslt for getting the parameters: So suppose request is
We can have xsl:param name="dpquery:URL" to get the URL and
dp:url-open
target="$dpquery:url" response="xml">
</dp:url-open>
or <dp:set-variable name="'var://context/txn-info/dynamic-route'" value="string($dpquery:url)"/> to invoke that URL
Am i going in right direction? Else please provide some links where i can get more information to read.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum