hello ,everyone 
         I am a new servicemixguy. I can run the bridge example
successfully.now. I want to send  the 
message by jms ,then get it from  httpComponet? I write  the flows,but it
does't successfully.
    jms - jsr181-httpcomponent.
1.jms 'xbean.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:jms="http://servicemix.apache.org/jms/1.0"; 
  <jms:endpoint service="b:Request_in"
                endpoint="Request_in"
                                targetEndpoint="Request_out"
                                                role="consumer"                 
                
                destinationStyle="queue"
                                targetService="b:Request_out"
                jmsProviderDestinationName="UII_Request_in"
                connectionFactory="#connectionFactory" 
                                
defaultMep="http://www.w3.org/2004/08/wsdl/in-only"/>
                
  <bean id="connectionFactory"
class="org.apache.activemq.ActiveMQConnectionFactory">
    <property name="brokerURL" value="tcp://localhost:61616" />
  </bean>
                                   
</beans>


jsr181's xbean.xml:
<beans xmlns:jsr181="http://servicemix.apache.org/jsr181/1.0";>

    <jsr181:endpoint
pojoClass="org.apache.servicemix.samples.wsdl_first.PersonImpl"
                     wsdlResource="classpath:person.wsdl"
                     style="document"/>

</beans>
httpcomponent's xbean.xml

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:http="http://servicemix.apache.org/http/1.0";
               xmlns:b="http://servicemix.apache.org/samples/UII";>

  <http:endpoint service="b:Request_out"
                 endpoint="Request_out"
                                         role="consumer" 
                                 soap="true"
                                 
locationURI="http://0.0.0.0:8192/PersonService/";
                 defaultMep="http://www.w3.org/2004/08/wsdl/in-only";
                 soapAction="getPerson"/> 
</beans>
jms  act  as  provider role. httpcomponent act as cosumer role.in the
httpComponent ,the
locationURl is  http://0.0.0.0:8192/PersonService/  .jsr181 make it as
avaiable service.
when  I  test, i  send the message in  UII_Request_in, I want to receive the
message in  http://0.0.0.0:8192/PersonService/.but i fail.
   I  need the help from you. thank you in advances.
-- 
View this message in context: 
http://www.nabble.com/problems--when-jms-post-infomation-to--http-component-tf3462390s12049.html#a9660049
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to