public class CxfOutboundMessageProcessor
extends org.mule.runtime.core.processor.AbstractInterceptingMessageProcessor
implements org.mule.runtime.core.api.processor.CloneableMessageProcessor
| Constructor and Description |
|---|
CxfOutboundMessageProcessor(org.apache.cxf.endpoint.Client client) |
| Modifier and Type | Method and Description |
|---|---|
protected Object[] |
addHoldersToResponse(Object response,
Object[] args) |
protected org.mule.runtime.core.api.Event |
buildResponseMessage(org.mule.runtime.core.api.Event request,
org.mule.runtime.core.api.Event transportResponse,
Object[] response) |
protected void |
cleanup() |
org.mule.runtime.core.api.processor.Processor |
clone() |
protected org.mule.runtime.core.api.Event |
doSendWithClient(org.mule.runtime.core.api.Event event) |
protected org.mule.runtime.core.api.Event |
doSendWithProxy(org.mule.runtime.core.api.Event event) |
protected Object[] |
getArgs(org.mule.runtime.core.api.Event event) |
protected org.apache.cxf.service.model.BindingOperationInfo |
getBindingOperationFromEndpoint(org.apache.cxf.endpoint.Endpoint ep,
String operationName) |
org.apache.cxf.endpoint.Client |
getClient() |
Method |
getMethod(org.mule.runtime.core.api.Event event) |
protected String |
getMethodOrOperationName(org.mule.runtime.core.api.Event event) |
org.mule.runtime.api.metadata.MediaType |
getMimeType() |
String |
getOperation() |
org.apache.cxf.service.model.BindingOperationInfo |
getOperation(org.mule.runtime.core.api.Event event) |
protected org.apache.cxf.service.model.BindingOperationInfo |
getOperation(String opName) |
CxfPayloadToArguments |
getPayloadToArguments() |
protected boolean |
isClientProxyAvailable() |
boolean |
isProxy() |
org.mule.runtime.core.api.Event |
process(org.mule.runtime.core.api.Event event) |
org.mule.runtime.core.api.Event |
processNext(org.mule.runtime.core.api.Event event)
This method is public so it can be invoked from the MuleUniversalConduit.
|
void |
setClientProxy(BindingProvider clientProxy) |
void |
setDecoupledEndpoint(String decoupledEndpoint) |
void |
setMimeType(org.mule.runtime.api.metadata.MediaType mimeType) |
void |
setOperation(String operation) |
void |
setPayloadToArguments(CxfPayloadToArguments payloadToArguments) |
void |
setProxy(boolean proxy) |
protected org.apache.cxf.service.model.BindingOperationInfo |
tryToGetTheOperationInDotNetNamingConvention(org.apache.cxf.endpoint.Endpoint ep,
String opName)
This method tries to call
getBindingOperationFromEndpoint(Endpoint, String) with the .NET naming convention for .NET
webservices (method names start with a capital letter). |
applyNext, getListener, getMuleContext, isEventValid, setFlowConstruct, setListener, setMuleContext, toStringgetAnnotation, getAnnotations, setAnnotationsequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetListenerpublic CxfOutboundMessageProcessor(org.apache.cxf.endpoint.Client client)
protected void cleanup()
protected Object[] getArgs(org.mule.runtime.core.api.Event event) throws org.mule.runtime.core.api.transformer.TransformerException
org.mule.runtime.core.api.transformer.TransformerExceptionpublic org.mule.runtime.core.api.Event process(org.mule.runtime.core.api.Event event)
throws org.mule.runtime.api.exception.MuleException
process in interface org.mule.runtime.core.api.processor.Processororg.mule.runtime.api.exception.MuleExceptionpublic org.mule.runtime.core.api.Event processNext(org.mule.runtime.core.api.Event event)
throws org.mule.runtime.api.exception.MuleException
processNext in class org.mule.runtime.core.processor.AbstractInterceptingMessageProcessorBaseorg.mule.runtime.api.exception.MuleExceptionprotected org.mule.runtime.core.api.Event doSendWithProxy(org.mule.runtime.core.api.Event event)
throws org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.exception.MuleExceptionprotected org.mule.runtime.core.api.Event doSendWithClient(org.mule.runtime.core.api.Event event)
throws org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.exception.MuleExceptionpublic Method getMethod(org.mule.runtime.core.api.Event event) throws Exception
Exceptionprotected org.apache.cxf.service.model.BindingOperationInfo getOperation(String opName) throws Exception
Exceptionprotected org.apache.cxf.service.model.BindingOperationInfo tryToGetTheOperationInDotNetNamingConvention(org.apache.cxf.endpoint.Endpoint ep,
String opName)
This method tries to call getBindingOperationFromEndpoint(Endpoint, String) with the .NET naming convention for .NET
webservices (method names start with a capital letter).
CXF generates method names compliant with Java naming so if the WSDL operation names starts with uppercase letter, matching with method name does not work - thus the work around.
protected org.apache.cxf.service.model.BindingOperationInfo getBindingOperationFromEndpoint(org.apache.cxf.endpoint.Endpoint ep,
String operationName)
protected String getMethodOrOperationName(org.mule.runtime.core.api.Event event) throws org.mule.runtime.core.api.connector.DispatchException
org.mule.runtime.core.api.connector.DispatchExceptionpublic org.apache.cxf.service.model.BindingOperationInfo getOperation(org.mule.runtime.core.api.Event event)
throws Exception
Exceptionprotected org.mule.runtime.core.api.Event buildResponseMessage(org.mule.runtime.core.api.Event request,
org.mule.runtime.core.api.Event transportResponse,
Object[] response)
public void setPayloadToArguments(CxfPayloadToArguments payloadToArguments)
protected boolean isClientProxyAvailable()
public boolean isProxy()
public void setProxy(boolean proxy)
public String getOperation()
public void setOperation(String operation)
public void setClientProxy(BindingProvider clientProxy)
public CxfPayloadToArguments getPayloadToArguments()
public org.apache.cxf.endpoint.Client getClient()
public void setDecoupledEndpoint(String decoupledEndpoint)
public org.mule.runtime.core.api.processor.Processor clone()
public org.mule.runtime.api.metadata.MediaType getMimeType()
public void setMimeType(org.mule.runtime.api.metadata.MediaType mimeType)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.