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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content