[jboss-dev-forums] [Design of JBoss ESB] - Regarding JBoss ESB

AmbicaSona do-not-reply at jboss.com
Tue Jun 10 07:19:28 EDT 2008


Hi, I am very new to JBoss. I want to implement JBoss ESB in my project.
My requirement is i will get an XML file with soap conents and comes through ESB. First it has to remove that soap contentens and follow the other steps with out soap data. i wrote one smooks-res.xml but it is not giving output as i expected. There are no errors but no out put with out soap. I am sending my smooks-res.xml file.

<?xml version='1.0' encoding='UTF-8'?>
<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">

	<resource-config selector="$document">
        
            <![CDATA[ <xsl:stylesheet version="1.0"

    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> 

 	<xsl:output method="xml"/>

             <xsl:template match="/">
	     	<xsl:apply-templates select="soapenv:Envelope/soapenv:Body/node()"/>
             </xsl:template>
             
                  <xsl:template match="*"> <!--synthesize element with the input name-->

                     <xsl:element name="{name(.)}" namespace="{namespace-uri(.)}">

                          <xsl:copy-of select="@*"/>

           	      	  <xsl:apply-templates/>

                     </xsl:element>

                 </xsl:template>

 		</xsl:stylesheet>]]>
        
	</resource-config>

</smooks-resource-list>

The same XSLT file is working fine with other ESBs. Can u help me in solving the issue. Thank you in advance and waiting for the reply..

AmbicaSona.D

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4156964#4156964

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4156964



More information about the jboss-dev-forums mailing list