Skip to content

Instantly share code, notes, and snippets.

@estebanroblesluna
Created July 18, 2011 13:17
Show Gist options
  • Select an option

  • Save estebanroblesluna/1089481 to your computer and use it in GitHub Desktop.

Select an option

Save estebanroblesluna/1089481 to your computer and use it in GitHub Desktop.
<flow name="sendToServer">
<http:inbound-endpoint address="http://localhost:1789/receiveRequest" exchange-pattern="request-response" />
<http:body-to-parameter-map-transformer />
<expression-transformer>
<return-argument evaluator="map-payload" expression="description" />
</expression-transformer>
<!-- Add attachment.xml as an attachment to be sent to the WS -->
<custom-processor class="com.AddAttachmentMessageProcessor" />
<cxf:jaxws-client serviceClass="com.SampleWebService" operation="processAttachedPayload">
<cxf:outInterceptors>
<spring:bean class="org.mule.module.cxf.support.CopyAttachmentOutInterceptor"/>
</cxf:outInterceptors>
</cxf:jaxws-client>
<outbound-endpoint address="http://localhost:1234/server" />
</flow>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment