Re: The Message header with the name of CxfConstants.OPERATION_NAME

2013-09-02 Thread Ernest Lu
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 =

Re: The Message header with the name of CxfConstants.OPERATION_NAME

2013-09-02 Thread Willem jiang
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:

The Message header with the name of CxfConstants.OPERATION_NAME

2013-09-01 Thread Ernest Lu
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 .

Re: The Message header with the name of CxfConstants.OPERATION_NAME

2013-09-01 Thread Willem jiang
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: