Thanks for your reply
I have a test case like this:
public class CXFTest extends CamelTestSupport {
protected static Endpoint endpoint;
protected static WebServiceTestImpl implementor;
public static String proxyAddress =
CXF client is using the operation qName to look up the request method.
As you specify another targetNamespace which we cannot tell from the SEI
package name, you need to specify the header of
CxfConstants.OPERATION_NAMESPACE at the same time.
--
Willem Jiang
Red Hat, Inc.
Web:
Hi,
exchange.getIn().setHeader(CxfConstants.OPERATION_NAME, Invoke);
exchange.getIn().setHeader(CxfConstants.OPERATION_NAME, InvokeOneWay);
I am confused that some camel-cxf test classes set the
CxfConstants.OPERATION_NAME header like that above instead of the method
name to be invoked .
The operation name is the method name you want to invoke.
Invoke and InvokeOneWay are the SEI method name you want to use.
As camel-cxf is using CXF client to send the request, so we don't use the proxy
method directly to send the invocation.
--
Willem Jiang
Red Hat, Inc.
Web: