Hi Willem And thank you for advice. Best regards
Evgeny willem.jiang wrote: > > Hi Evgeny > > You can do it by implementing a customer Invoker[1][2] just like the > CamelInvoker[3], which will perform the invocation to the java bean and > pass the parameter to the camel context. > And you need to add some codes to handle the (?)-endpoint's > configuration which could be same with camel-cxf endpoint. > > But In this way, we just pass the parameter to the camel context, the > response from the camel will be useless for us. > > [1]https://svn.apache.org/repos/asf/incubator/cxf/trunk/api/src/main/java/org/apache/cxf/service/invoker/Invoker.java > [2]http://cwiki.apache.org/CXF20DOC/invokers.html > [3]https://svn.apache.org/repos/asf/activemq/camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/CamelInvoker.java > > Regards, > > Willem > pevgen wrote: >> Thank you, Willem. >> >> I understood your decision. >> And i think, that may be create (?)-consumer (with cxf base), which can >> create a full web-service from the clear java bean. >> >> for example >> >> >> >>> class MyJavaBean { >>> public String getEcho(String value){ >>> return " echo:" + value; } >>> } >>> >>> and in the config-endpoint >>> <... serviceClass="MyJavaBean" >>> >>> >> when client call the web-service (method "getEcho"), then (?)-endpoint >> run >> the method "getEcho" of "MyJavaBean" and return the result to the client. >> and parameter will be to transmit in the some "to"-endpoint. >> >> Thanks >> >> Evgeny >> >> > > > -- View this message in context: http://www.nabble.com/webservice-response-tp16960229s22882p17059062.html Sent from the Camel - Users mailing list archive at Nabble.com.
