Generate the JAX-WS client classes from the remote web service WSDL and use them in a cxf:jaxws-client
configuration element.
In your case, you need to set-payload
inside each when
in order to create the request object that is needed by cxf:jaxws-client
.
Suppose that you need to create a org.saml.SamlToken
object for the samlToken
case, you would do:
<set-payload value="#[st=new org.saml.SamlToken();st.field1=message.inboundProperties.field1; ... ; st]" />
in the when
right before flow-ref
.
PS. You can use #[message.inboundProperties.clientType]
instead of #[message.inboundProperties['http.query.params']['clientType']]