ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » XSL Transform Node and WSRR

Post new topic  Reply to topic Goto page 1, 2  Next
 XSL Transform Node and WSRR « View previous topic :: View next topic » 
Author Message
swarna.prava.mohanty
PostPosted: Mon May 14, 2012 2:00 am    Post subject: XSL Transform Node and WSRR Reply with quote

Novice

Joined: 29 Aug 2010
Posts: 15

Hi,
I have retrieved the style sheet from WSRR using Registry Lookup node and thus its saved in LocalEnvironment.ServiceRegistry.Entity.content. Now using this stylesheet I want to transform my input message using XSLTranform Node. How to assign the style sheet to the XSL Transaform node. Please suggest. I am assigning the stylepath as below:

OutputLocalEnvironment.XSL.stylesheetPath = LocalEnvironment.ServiceRegistry.Entity.content. Am I wrong, how to pass the whole style sheet to XSL tranform node so that transformation can be done.

MQInputNode -->Compute-->RegistryLookupNode(to retrieve styleSheet from WSRR)-->Compute-->XSLTranformNode--MQOutput Node
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Mon May 14, 2012 6:11 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

When you attended the required training class, what did the instructor tell you about style sheet importing? Hint: its in the right-click context menu.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Mon May 14, 2012 6:43 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

lancelotlinc wrote:
When you attended the required training class, what did the instructor tell you about style sheet importing? Hint: its in the right-click context menu.


Ah Yes. But My guess is that he wants to do it at runtime using WSRR as a repository for the Stylesheet much like you can with WSDL's etc.

Basically,
1) Hey WSRR, give me the latest version of the 'BashLanceOverTheHead' stylesheet
2) Here XLST node, transform this lot of 'if you had attended the class' rubbish into something meaningful like War and Peace using this stylesheet.

(Only joking Te-He)
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
mlpaucara
PostPosted: Fri Aug 03, 2012 3:05 pm    Post subject: Reply with quote

Newbie

Joined: 09 Feb 2010
Posts: 1

swarna

I was able to accomplish what you mention, I obtain the XSL from WSRR and then use it for XSLTransformation, it works fine, but my problem is when I want to use the EndpointLookup node. It seems there is a aditional configuration in WSRR.
Back to top
View user's profile Send private message
dhimanha
PostPosted: Mon Sep 23, 2013 6:13 am    Post subject: Reply with quote

Novice

Joined: 02 Jan 2012
Posts: 10

HI swarna,

Could you please explain how you did that. I am getting Style sheet not found error in message broker .

Thanks
Back to top
View user's profile Send private message
smdavies99
PostPosted: Mon Sep 23, 2013 6:26 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

It is very likely that swarma does not read this forum any more so you may be wasting your time asking him for an answer.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
dhimanha
PostPosted: Mon Sep 23, 2013 6:35 am    Post subject: Reply with quote

Novice

Joined: 02 Jan 2012
Posts: 10

could any one help me on this

1. Style sheet is uploaded in the WSRR
2. I have used the registry lookup node and the XSL is extracted but the content is of type Blob.
3. I have used the local environment variable to grab the style sheet name and the content .

but when I still I am getting the error stylesheet not found ,here is my code below

OutputlocalEnviorment.XSL.StyleSheetName=InputlocalEnvironment.ServiceRegistry.Entity.Name

OutputlocalEnviorment.XSL.StyleSheetPath=InputlocalEnvironment.ServiceRegistry.Entity.content

Any pointer ?
Back to top
View user's profile Send private message
dhimanha
PostPosted: Mon Sep 23, 2013 10:21 am    Post subject: Reply with quote

Novice

Joined: 02 Jan 2012
Posts: 10

mlpaucara wrote:
swarna

I was able to accomplish what you mention, I obtain the XSL from WSRR and then use it for XSLTransformation, it works fine, but my problem is when I want to use the EndpointLookup node. It seems there is a aditional configuration in WSRR.


Could you please give me pointer , i have facing the same problem.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Mon Sep 23, 2013 10:33 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

This forum is manned by volunteers. We have our day jobs to do as well as answer posts here.

If you are really in need of an answer then raise a PMR. After all, you are paying IBM for support so use it.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
dhimanha
PostPosted: Mon Sep 23, 2013 10:51 am    Post subject: Reply with quote

Novice

Joined: 02 Jan 2012
Posts: 10

Hi,

Just want to verify that if have missed something ?
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Mon Sep 23, 2013 10:55 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

dhimanha wrote:
Hi,

Just want to verify that if have missed something ?


Do you have a coach on your site? Do you have a mentor ? How are we supposed to know if you missed something if we cannot see your workspace ?
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
dhimanha
PostPosted: Mon Sep 23, 2013 10:58 am    Post subject: Reply with quote

Novice

Joined: 02 Jan 2012
Posts: 10

Actually from my side , I have completed as per the info center.

I am getting error , "stylesheet not found" but I am passing name and content from the WSRR to the XSL transform node.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Mon Sep 23, 2013 11:36 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

dhimanha wrote:
Actually from my side , I have completed as per the info center.

I am getting error , "stylesheet not found" but I am passing name and content from the WSRR to the XSL transform node.


Do you have a coach on your site? Do you have a mentor ? How are we supposed to know if you missed something if we cannot see your workspace ?
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
aggarwal.intouch
PostPosted: Mon Sep 23, 2013 11:19 pm    Post subject: Reply with quote

Acolyte

Joined: 30 May 2011
Posts: 56
Location: India

Try using the below line in your code:

OutputLocalEnvironment.ComIbmXslXmltStylesheetname = LocalEnvironment.ServiceRegistry.Entity.content
Back to top
View user's profile Send private message Send e-mail
dhimanha
PostPosted: Tue Sep 24, 2013 3:14 pm    Post subject: Reply with quote

Novice

Joined: 02 Jan 2012
Posts: 10

Thanks I will try this and let you know the outcomes
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » XSL Transform Node and WSRR
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.