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

_______________________________________________
Esb-java-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev

Reply via email to