web service consumer is returning value when am using transformer message. but it is not working when am using xslt component. it returns null.
Here is my flow.
Http->byte array to string->xslt->webservice consumer.
can anyone help me?
here is my input
<?xml version="1.0" encoding="UTF-8"?>
<PayLoad>
<RoutingHeader>
<SourceID>1234</SourceID>
<SourceName>ISGN</SourceName>
<SourceRefNum>167309</SourceRefNum>
<SourceRoutingRef />
<DestinationID>999</DestinationID>
<DestinationRefNum />
<DestinationRoutingRef />
<TransDate>2017-04-17T09:04:24.702000-04:00</TransDate>
</RoutingHeader>
<PayLoad>
am converting this xml into soap using xslt component
here is my xsl xode
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:s="URI_SOAP_WS">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:strip-space elements="*"/>
<xsl:template match="/">
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:header/>
<soap:Body>
<xsl:apply-templates/>
</soap:Body>
</soap:Envelope>
</xsl:template>
<xsl:template match="*">
<xsl:element name="s:{local-name()}" namespace="http://spring.io/guides/s-
producing-web-service">
<xsl:apply-templates select="node()|@*" />
</xsl:element>
</xsl:template>
</xsl:stylesheet>
when i send this soap file to webservice consumer component, getting null