Which version of CXF are you using ? You need to make sure the endpoint and client are using the same Bus.
Do you put the endpoint and the client into the same Spring application configure file ?
On 8/23/11 8:23 PM, mymacin wrote:
Hi, When I try to use Local Transport instead of Http I am getting the below exception.I have also included the endpoint configuration below. My configurations: Endpoint: <jaxws:endpoint id="GreeterJmsWS" address="local://GreeterJms/" implementor="#GreeterJMS" /> Client: <jaxws:client id="greeterJMSImplService" address="local://GreeterJms/" serviceClass="foo.service.GreeterJMS" /> Also included <bean class="org.apache.cxf.transport.local.LocalTransportFactory" lazy-init="false"> <property name="transportIds"> <list> <value>http://cxf.apache.org/transports/local</value> <value>http://schemas.xmlsoap.org/soap/http</value> <value>http://schemas.xmlsoap.org/wsdl/soap/http</value> </list> </property> </bean> and <import resource="classpath:META-INF/cxf/cxf-extension-local.xml" /> java.lang.IllegalStateException: Local destination does not have a MessageObserver on address local://GreeterJms/ at org.apache.cxf.transport.local.LocalConduit.dispatchViaPipe(LocalConduit.java:114) at org.apache.cxf.transport.local.LocalConduit.prepare(LocalConduit.java:59) at org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:46) Thanks in advance. Mymacin -- View this message in context: http://cxf.547215.n5.nabble.com/Local-Transport-MessageObserver-error-tp4726593p4726593.html Sent from the cxf-dev mailing list archive at Nabble.com.
-- Willem ---------------------------------- FuseSource Web: http://www.fusesource.com Blog: http://willemjiang.blogspot.com (English) http://jnn.javaeye.com (Chinese) Twitter: willemjiang Weibo: willemjiang