After xslt translation outbound message is going as blank.

Solution Verified - Updated -

Issue

  • In below route proxy3 my external webservice invocation is going as blank data
<route id="proxy3">

    <from uri="jetty:http://localhost:9091/ValidateAddressForSFEXTRest?matchOnUriPrefix=true"/>
       <convertBodyTo type="java.lang.String" />
       <camel:log message="Input Rest message  ${body}"></camel:log>    
       <unmarshal  ref="xmljsonWithOptions"/>
       <camel:log message="Input XML message  ${body}"></camel:log>
       <to uri="xslt:META-INF/ValidateAddressRequest-NoNS_to_NS.xslt"/>    
       <camel:log message="Output XML message  ${body}"></camel:log>    
       <convertBodyTo type="java.lang.String" />
       <camel:log message="Output XML message convert to string  ${body}"></camel:log>    
       <to ref="ValidateAddressForSFEXTProxy"/>
       <convertBodyTo type="java.lang.String" />
       <marshal ref="xmljson"/>
       <camel:log message="Output REST message  ${body}"></camel:log>    
  </route>

Environment

  • Red Hat JBoss Fuse
    • 6.2.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.