[esb-java-dev] ESB XSLT
Kattubadi Basher Ahamed
Kattubadi.BasherAhamed at imail.org
Thu Mar 5 08:07:48 PST 2009
HI,
I am evaluating WS02 ESB , I have good exp in IBM ESB and ALSB/OSB.
I am trying XSLT transformation in WS02 ESB , I need to apply xslt before sending to the end point. Can you send me details, where i need to put xslt and how need to configure in proxy
in xslt just i am changing <UnitNumberXXX> to <UnitNumbe>
Request to ESB :
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:med="MedService">
<soapenv:Header/>
<soapenv:Body>
<med:getMedData>
<med:UnitNumberXXX>118138</med:UnitNumberXXX>
</med:getMedData>
</soapenv:Body>
</soapenv:Envelope>
XSLT
Transform.xsl
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:med="MedService" >
<xsl:output method="xml" indent="yes"/>
<xsl:template match="/">
<med:getMedData>
<med:UnitNumber>
<xsl:value-of select="//med:UnitNumberXXX"/>
</med:UnitNumber>
</med:getMedData>
</xsl:template>
</xsl:stylesheet>
Thanks and Regards
...................................
Basher Kattubadi
Desk:801-442-5515
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wso2.org/pipermail/esb-java-dev/attachments/20090305/9fb5dff5/attachment.htm
More information about the Esb-java-dev
mailing list