Author |
Message
|
dhimanha |
Posted: Wed Sep 25, 2013 8:24 am Post subject: |
|
|
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 |
|
 |
aggarwal.intouch |
Posted: Wed Sep 25, 2013 10:08 pm Post subject: |
|
|
 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 |
|
 |
smdavies99 |
Posted: Wed Sep 25, 2013 11:49 pm Post subject: |
|
|
 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 |
|
 |
dhimanha |
Posted: Thu Sep 26, 2013 3:19 am Post subject: |
|
|
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 |
|
 |
dhimanha |
Posted: Mon Sep 30, 2013 2:54 pm Post subject: |
|
|
Novice
Joined: 02 Jan 2012 Posts: 10
|
Anyone have some idea about this ? |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Oct 01, 2013 3:17 am Post subject: |
|
|
 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 |
|
 |
|