Digital Developer Conference: a FREE half-day online conference focused on AI & Cloud – North America: Nov 2 – India: Nov 9 – Europe: Nov 14 – Asia Nov 23 Register now

Close outline
  • United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.195

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

Need to fetch XSLT from WSRR and perform the transformation for non XML mesages in Datapower

31000087MM gravatar image
Question by LavanyaBoddeti  (74) | May 06, 2015 at 06:02 AM datapowerwsrr

Hi,

I need to fetch an XSLT from WSRR and have to perform the transformation for Non XML messages in Datapower XI50 Please suggest.

Thanks and Regards, Lavanya

People who like this

  0
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

4 answers

  • Sort: 
120000DXY8 gravatar image
Accepted answer

Answer by cmsdp (306) | Jun 19, 2015 at 12:20 PM

Use the following steps to deploy your resources and try if it will work for you. I have tested these steps in the lab and it works for me. Please note that If the FFD or XSLT file needs to be modified, it may not be possible in the WSRR server. So if you change any one of the resources, you have to do it and reload the file again which will give you new bsrURI.

(1) Configure WSRR server object in DataPower domain and note the object name

(2) Load the FFD file in WSRR server

(3) Identify the bsrURI of this FFD file

(4) Modify the XSLT that will use this FFD file with the following syntax:

 <dp:input-mapping href="wsrr://<wsrr-server-object>/<bsrURI of the FFD file >/" type="ffd" />

(5) Load the XSLT file to the WSRR server

(6) Identify the bsrURI of the XSLT file

(7) In the Binary Transform action, use the following URL syntx to access the XSLT remotely from the WSRR server.

 wsrr://<wsrr-server-object>/<bsrURI of the XSLT file>/

 Note: The last "/" is needed as part of the URI to get the remote FFD and XSLT files.


In order to test that the resources are accessible from the WSRR server, use the following syntax as part of your verification.

http://WSRR Server host:port/WSRR/version/Content/bsrURI of FFD or XSLT file

Comment
nsrao

People who like this

  1   Show 1   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
31000087MM gravatar image LavanyaBoddeti (74)   Jun 21, 2015 at 07:19 AM 0
Share

Thank you @cmsdp

The solution worked for me too.

Instead of BaseURI can we pass any other argument ?

120000BTRN gravatar image

Answer by Trey (1054) | May 11, 2015 at 05:19 PM

Lavanya, I typically see WSRR used in the context of a WSDL repository for DataPowers Web Service Proxy. But I have seen previous how-to articles like this older one: http://www.ibm.com/developerworks/websphere/techjournal/0805_peterson/0805_peterson.html but nothing absolutely clear, to me at least, on how and if you can do this with native methods.

There is also a long write up on the forum here: https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014892969 about a client doing a similar method and caching the xsl.

this is not my in wheel house but I hope this begins to give you some answers or ideas.

If not feel free to update this thread and we will see if there is anyone else out there that can help. Thank you Trey

Comment
BrentGarnett

People who like this

  1   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
31000087MM gravatar image

Answer by LavanyaBoddeti (74) | Jun 19, 2015 at 08:02 AM

@nsrao, I have an XSLT which does input mapping using an FFD file.If I place the XSLT and FFD file in DP Local Filemanagement , I am able to perform the non-xml (say CSV file ) to XML format. But when I place these XSLT and FFD file in WSRR and I try to fetch them from WSRR using my ProcessingPolicy. Fetch action will fetch the FFD file and the Output of the Fetch action is assigned to dpvar_1 , which means it is stored in var://context/dpvar_1 Now I used this dpvar_1 in my XSLT (Please find the attached xsl in xml format) I assigned this dpvar_1 to xsl variable file and i passed this file variable to dp:input-mapping href="file1" type="FFD" .But then also it is failing with error message "Unable to retrieve https://ip:9444/WSRR/8.0/Content?query=//$file" If I try to retrieve the FFD from my local management and if I give href=local:///CSVFILE.FFD then it works, but this is not the correct approach. Kindly help me link text link text


ffdtoxml.xml (571 B)
ffdtoxml.xml (571 B)
Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
31000087MM gravatar image

Answer by LavanyaBoddeti (74) | Jun 22, 2015 at 09:12 AM

Instead of Base URI , we can use the following URL in our XSLT, wsrr://CommonWSRRServer/WSRR/8.5/Content?query=/WSRR/Document[@name=%27CSVFILE.FFD%27%20and%20@version=%271.0%27]

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

Follow this question

32 people are following this question.

Answers

Answers & comments

Related questions

How can I retrieve XSDs in WSRR from DataPower? 1 Answer

IIB connect to WSRR DR 2 Answers

Is DataPower MPGW integration with WSRR for WSDL/SOAP implementation supported? 1 Answer

Is it necessary to have the save value for Name and Base URL fields for REST Endpoint in WSRR, while integrating with DataPower? 1 Answer

Is it possible to prioritizing the policy extractions into DataPowr from WSRR? 1 Answer

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • Data and AI
  • DataPower
  • Decision Optimization
  • DevOps Build
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • Hyper Protect
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PartnerWorld Developer Support
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges