On Feb 13, 2008 6:57 AM,  <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
> Hi,
>
>
>
> I am facing problem while running a sample code of servicemix in
> jboss/Geronimo.
>
> The sample is running fine with  servicemix stand alone but not working when
> deployed on  jboss/Geronimo.
>
> What I have observed is that the http consumer is not getting the response
> data.
>
>
>
> sendOut() method of MyMarshler is not getting called of my marshler bean
> class.
>
>
>
> The response is not getting displayed on the Internet browser. The same
> thing runs fine as standalone application.
>
> The other details are given below:
>
>
>
> Environment:
>
> ========
>
> Jboss 4.2.2.GA
>
> servicemix3.2.1
>
> Java 1.5
>
> OS Linux
>
>
>
> Steps Performed:
>
> ===========
>
> 1. xbean configuration for http-consumer service unit is:
>
>             <?xml version="1.0" encoding="UTF-8"?>
>
>
>
>             <beans xmlns:http="http://servicemix.apache.org/http/1.0";
>
>                    xmlns:ex="http://www.servicemix.org/example";>
>
>
>
>               <http:consumer service="ex:httplistener"
>
>                                      endpoint="ex:listenerEndpoint"
>
>
> locationURI="http://0.0.0.0:8192/upload/";
>
>
> defaultMep="http://www.w3.org/2004/08/wsdl/in-out";
>
>
> targetService="ex:lineReverse"
>
>                                      marshaler="#marshaler" />
>
>
>
>               <bean id="marshaler"
> class="org.apache.servicemix.jbi.MyMarshaler" />
>
>
>
>             </beans>
>
>
>
>
>
> 2. xbean configuration for bean service unit.
>
>
>
>             <beans xmlns:bean="http://servicemix.apache.org/bean/1.0";
>
>                    xmlns:ex="http://www.servicemix.org/example";>
>
>
>
>               <bean:endpoint service="ex:lineReverse"
> endpoint="lineReverseEndpoint" bean="#lineReverseBean" />
>
>               <bean id="lineReverseBean"
> class="org.apache.servicemix.jbi.MyBean" />
>
>
>
>             </beans>

Well I see in the http:consumer configuration above that you have only
specified a targetService and no targetEndpoint or targetInterface.
Try adding a targetEndpoint="lineReverseEndpoint" attribute to see if
that helps.

Bruce
-- 
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/

Blog: http://bruceblog.org/

Reply via email to