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 Previous  1, 2
 XSL Transform Node and WSRR « View previous topic :: View next topic » 
Author Message
dhimanha
PostPosted: Wed Sep 25, 2013 8:24 am    Post subject: Reply with quote

Novice

Joined: 02 Jan 2012
Posts: 10

Hi,

I have tried this

OutputLocalEnvironment.ComIbmXslXmltStylesheetname = LocalEnvironment.ServiceRegistry.Entity.content

but I am getting the same error "Stylesheet not found"
Back to top
View user's profile Send private message
aggarwal.intouch
PostPosted: Wed Sep 25, 2013 10:08 pm    Post subject: Reply with quote

Acolyte

Joined: 30 May 2011
Posts: 56
Location: India

dhimanha wrote:
Hi,

I have tried this

OutputLocalEnvironment.ComIbmXslXmltStylesheetname = LocalEnvironment.ServiceRegistry.Entity.content

but I am getting the same error "Stylesheet not found"


Try debugging the thread. Same code worked for me. Probably by debugging you would be able to find if any changes would be required.
Back to top
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Wed Sep 25, 2013 11:49 pm    Post subject: Reply with quote

Jedi Council

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

How is the OP delimiting the directory path?

An example may help us find the problem.

If they use Windows directory delimiters then it will fail

As I understand it, the value has to be the URL of the stylesheet. This uses '/' as the delimiter.

If that is correct then does the broker have the correct access to the URL path and file?
_________________
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: Thu Sep 26, 2013 3:19 am    Post subject: Reply with quote

Novice

Joined: 02 Jan 2012
Posts: 10

Hi Aggarwal,
Here are the steps I have performed

1.Uploaded the XSLT onto the WSRR. The response from the registry lookup node is
content of XSLT but it is in blob.I have used the below statement to get the content of XSLT

SET OutputLocalEnvironment.ComIbmXslXmltStylesheetname=InputLocalEnvironment.ServiceRegistry.Entity.content;

2. I am changing the blob to XMLNS and then passing the local enviourment to the XSL transform node.but now I am getting error
Code:

com.ibm.xsl.mqsi.XMLTransformException
   at com.ibm.xsl.mqsi.XMLTransformNode.setOptionsFromLocalEnvironment(XMLTransformNode.java:1229)
   at com.ibm.xsl.mqsi.XMLTransformNode.evaluate(XMLTransformNode.java:939)
   at com.ibm.broker.plugin.MbNode.evaluate(MbNode.java:1469)
   at com.ibm.broker.plugin.MbOutputTerminal._propagate(Native Method)
   at com.ibm.broker.plugin.MbOutputTerminal.propagate(MbOutputTerminal.java:107)
   at com.ibm.broker.soap.SoapExtractNode.evaluate(SoapExtractNode.java:178)
   at com.ibm.broker.plugin.MbNode.evaluate(MbNode.java:1469)
   at com.ibm.broker.plugin.MbOutputTerminal._propagate(Native Method)
   at com.ibm.broker.plugin.MbOutputTerminal.propagate(MbOutputTerminal.java:107)
   at com.ibm.sr.mb.nodes.SRRetrieveEntityNode.evaluate(SRRetrieveEntityNode.java:558)
   at com.ibm.broker.plugin.MbNode.evaluate(MbNode.java:1469)
   at com.ibm.broker.plugin.MbOutputTerminal._propagate(Native Method)
   at com.ibm.broker.plugin.MbOutputTerminal.propagate(MbOutputTerminal.java:107)
   at com.ibm.broker.jdbcnodes.RouteNode.evaluate(RouteNode.java:196)
   at com.ibm.broker.plugin.MbNode.evaluate(MbNode.java:1469)

                     Insert
                           Type:INTEGER:5
                           Text:CHARACTER:com.ibm.xsl.mqsi.XMLTransformResources
                     Insert
                           Type:INTEGER:5
   
                        Text:CHARACTER:Error_Number_Format




Do you tell me how you load the XSL in WSRR and you have done any conversion from blob to XMLNS.

I have used the follwing path in order to upload the xslt in WSRR 7.5: I have choosed the document type "other"
Back to top
View user's profile Send private message
dhimanha
PostPosted: Mon Sep 30, 2013 2:54 pm    Post subject: Reply with quote

Novice

Joined: 02 Jan 2012
Posts: 10

Anyone have some idea about this ?
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Oct 01, 2013 3:17 am    Post subject: Reply with quote

Jedi Knight

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

dhimanha wrote:
Anyone have some idea about this ?


Yes, the format of the number is incorrect per the XSL provided.

Quote:
Error_Number_Format


Compare your input data to the XSL to see which field is failing.

You also should not be using XMLNS parser as XMLNS is less preferred in favor of XMLNSC.
_________________
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
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 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.