You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by brijesh <br...@gmail.com> on 2009/04/29 05:37:12 UTC
Unknown message exchange: InOut
hello,
I have sa as follows.
|->smx-bean1
cxf-bc->eip--|->smx-bean2
When i calling from the client, getting error as follows. I am deploying it
in smx web. But SA perfectly working fine in smx standalone mode.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring><![CDATA[Unknown message exchange: InOut[
id: ID:192.168.2.86-120efe156f6-4:0
status: Active
role: provider
service: {http://www.ekaplus.com/NotifyEvent/}eventLoggerService
endpoint: eventLoggerEP
in: <?xml version="1.0" encoding="UTF-8"?><soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><not:notifyEvent
xmlns:not="http://www.ekaplus.com/NotifyEvent/">
<in>
<test>tet data </test>
</in>
</not:notifyEvent></soap:Body></soap:Envelope>
] on endpoint: Endpoint[service:
{http://www.ekaplus.com/NotifyEvent/}eventLoggerService, endpoint:
eventLoggerEP, role: provider]]]></faultstring>
</soap:Fault>
</soap:Body>
</soap:Envelope>
xbean for eip as follows
<beans xmlns:eip="http://servicemix.apache.org/eip/1.0"
xmlns:nte="http://www.ekaplus.com/NotifyEvent/"
xmlns:sns="http://tempuri.org/"
xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://servicemix.apache.org/eip/1.0
http://servicemix.apache.org/schema/servicemix-eip-3.2.2.xsd
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
<eip:static-routing-slip service="nte:notifyeventEIPService"
endpoint="notifyeventEP">
<eip:targets>
<eip:exchange-target service="nte:eventLoggerService" />
<eip:exchange-target service="nte:glDataMapper" />
</eip:targets>
</eip:static-routing-slip>
</beans>
xbean for event logger as follows
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:bean="http://servicemix.apache.org/bean/1.0"
xmlns:nte="http://www.ekaplus.com/NotifyEvent/"
xmlns:xsi="http://http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://servicemix.apache.org/bean/1.0
http://servicemix.apache.org/schema/servicemix-bean-3.2.3.xsd
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
<bean:endpoint service="nte:eventLoggerService" endpoint="eventLoggerEP"
bean="#messageLogger"/>
<bean id="messageLogger" class="com.ekaplus.accounting.MessageLogger"/>
</beans>
xbean for glDataMapper as folllows
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:bean="http://servicemix.apache.org/bean/1.0"
xmlns:nte="http://www.ekaplus.com/NotifyEvent/"
xmlns:xsi="http://http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://servicemix.apache.org/bean/1.0
http://servicemix.apache.org/schema/servicemix-bean-3.2.3.xsd
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
<bean:endpoint service="nte:glDataMapper" endpoint="glDataMapperEp"
bean="#mapperBean"/>
<bean id="mapperBean" class="com.ekaplus.accounting.DataMapper"/>
</beans>
--
View this message in context: http://www.nabble.com/Unknown-message-exchange%3A-InOut-tp23289975p23289975.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Unknown message exchange: InOut
Posted by brijesh <br...@gmail.com>.
please see the stack trace also as follows
INFO: Interceptor has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Unknown message exchange: InOut[
id: ID:192.168.2.86-120eff965b4-4:0
status: Active
role: provider
service: {http://www.ekaplus.com/NotifyEvent/}eventLoggerService
endpoint: eventLoggerEP
in: <?xml version="1.0" encoding="UTF-8"?><soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><not:notifyEvent
xmlns:not="http://www.ekapl
us.com/NotifyEvent/">
<in>
<test>test data </test>
</in>
</not:notifyEvent></soap:Body></soap:Envelope>
] on endpoint: Endpoint[service:
{http://www.ekaplus.com/NotifyEvent/}eventLoggerService, endpoint:
eventLoggerEP, role: provider]
at
org.apache.servicemix.cxfbc.CxfBcConsumer$JbiPostInvokerInterceptor.handleMessage(CxfBcConsumer.java:647)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78)
at
org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:278)
at
org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:252)
at
org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:70)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722)
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
at org.mortbay.jetty.handler.HandlerList.handle(HandlerList.java:49)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:324)
at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
Caused by: org.apache.servicemix.bean.UnknownMessageExchangeTypeException:
Unknown message exchange: InOut[
brijesh wrote:
>
> hello,
>
> I have sa as follows.
>
> |->smx-bean1
> cxf-bc->eip--|->smx-bean2
>
> When i calling from the client, getting error as follows. I am deploying
> it in smx web. But SA perfectly working fine in smx standalone mode.
>
>
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> <soap:Body>
> <soap:Fault>
> <faultcode>soap:Server</faultcode>
> <faultstring><![CDATA[Unknown message exchange: InOut[
> id: ID:192.168.2.86-120efe156f6-4:0
> status: Active
> role: provider
> service: {http://www.ekaplus.com/NotifyEvent/}eventLoggerService
> endpoint: eventLoggerEP
> in: <?xml version="1.0" encoding="UTF-8"?><soap:Envelope
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><not:notifyEvent
> xmlns:not="http://www.ekaplus.com/NotifyEvent/">
> <in>
> <test>tet data </test>
> </in>
> </not:notifyEvent></soap:Body></soap:Envelope>
> ] on endpoint: Endpoint[service:
> {http://www.ekaplus.com/NotifyEvent/}eventLoggerService, endpoint:
> eventLoggerEP, role: provider]]]></faultstring>
> </soap:Fault>
> </soap:Body>
> </soap:Envelope>
>
>
>
>
>
>
>
>
> xbean for eip as follows
>
> <beans xmlns:eip="http://servicemix.apache.org/eip/1.0"
> xmlns:nte="http://www.ekaplus.com/NotifyEvent/"
> xmlns:sns="http://tempuri.org/"
> xmlns="http://www.springframework.org/schema/beans"
> xmlns:xsi="http://http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://servicemix.apache.org/eip/1.0
> http://servicemix.apache.org/schema/servicemix-eip-3.2.2.xsd
> http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
> <eip:static-routing-slip service="nte:notifyeventEIPService"
> endpoint="notifyeventEP">
> <eip:targets>
> <eip:exchange-target service="nte:eventLoggerService" />
> <eip:exchange-target service="nte:glDataMapper" />
>
>
>
> </eip:targets>
> </eip:static-routing-slip>
>
> </beans>
>
> xbean for event logger as follows
> <beans xmlns="http://www.springframework.org/schema/beans"
> xmlns:bean="http://servicemix.apache.org/bean/1.0"
> xmlns:nte="http://www.ekaplus.com/NotifyEvent/"
> xmlns:xsi="http://http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://servicemix.apache.org/bean/1.0
> http://servicemix.apache.org/schema/servicemix-bean-3.2.3.xsd
> http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
>
> <bean:endpoint service="nte:eventLoggerService" endpoint="eventLoggerEP"
> bean="#messageLogger"/>
>
> <bean id="messageLogger" class="com.ekaplus.accounting.MessageLogger"/>
>
> </beans>
>
> xbean for glDataMapper as folllows
>
> <beans xmlns="http://www.springframework.org/schema/beans"
> xmlns:bean="http://servicemix.apache.org/bean/1.0"
> xmlns:nte="http://www.ekaplus.com/NotifyEvent/"
> xmlns:xsi="http://http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://servicemix.apache.org/bean/1.0
> http://servicemix.apache.org/schema/servicemix-bean-3.2.3.xsd
> http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
>
> <bean:endpoint service="nte:glDataMapper" endpoint="glDataMapperEp"
> bean="#mapperBean"/>
> <bean id="mapperBean" class="com.ekaplus.accounting.DataMapper"/>
>
> </beans>
>
>
>
>
>
>
>
--
View this message in context: http://www.nabble.com/Unknown-message-exchange%3A-InOut-tp23289975p23290076.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.