Hi All..

I'm tring to test Http and Jms Component.

I am success http(consumer/provider) proxy test for external Web services.

I will follow test.

1. Component 1 : client connect http BC(consumer)
2. Component 2 : JMS BC 
3. Component 3 : Jnecks BC
4. Component 4 : http BC(provider) for external web services

I am test fail.

How do i receive result msg?

input queue ok,, but result queue is not create.

Server side is send result soap msg.

<sm:activationSpecs>
                        
                        <sm:activationSpec componentName="inputSender">
                                <sm:component>
                                  <jms:component>
                                    <jms:endpoints>
                                      <jms:endpoint service="xns:inputSender" 
                            endpoint="JmsEndpoint" 
                            role="provider"  
                            connectionFactory="#jmsFactory" 
                            jmsProviderDestinationName="servicemix.input" 
                            destinationStyle="topic" />
            </jms:endpoints>
          </jms:component>
                                </sm:component>
                        </sm:activationSpec>
                        
                        <sm:activationSpec componentName="clientConsumer">
                                <sm:component>
                                        <http:component>
                                                <http:endpoints>
                                                        <http:endpoint 
service="xns:requestSoap" 
                                                                        
endpoint="ClientEndpoint" 
                                                                        
targetService="xns:inputSender" 
                                                                        
targetEndpoint="JmsEndpoint" 
                                                                        
role="consumer"               
                                                                        
soap="true" 
                                                                        
soapVersion="1.1" 
                                                                        
locationURI="http://localhost:8082/JmsService/"; 
                                                                        
defaultMep="http://www.w3.org/2004/08/wsdl/in-out"; />
                                                </http:endpoints>
                                        </http:component>
                                </sm:component>
                        </sm:activationSpec>
                        
                        <sm:activationSpec componentName="inputReceiver"        
                                                   service="xns:inputReceiver"
                                                   
destinationService="xns:HelloService">
                  <sm:component>
                    <bean
class="org.apache.servicemix.components.jms.JmsInUsingJCABinding">
                        <property name="jcaContainer" ref="jencks"/>
                        <property name="activationSpec">
                          <bean 
class="org.apache.activemq.ra.ActiveMQActivationSpec">
                            <property name="destination" 
value="servicemix.input"/>
                            <property name="destinationType" 
value="javax.jms.Topic"/>
                          </bean>
                        </property>
                    </bean>
                  </sm:component>
                </sm:activationSpec>
                        
                        
                        <sm:activationSpec componentName="resultInputSender">
                                <sm:component>
                                  <jms:component>
                                    <jms:endpoints>
                                      <jms:endpoint 
service="xns:resultInputSender" 
                            endpoint="ResultJmsEndpoint" 
                            role="provider"  
                            connectionFactory="#jmsFactory" 
                            jmsProviderDestinationName="servicemix.result" 
                            destinationStyle="topic" />
            </jms:endpoints>
          </jms:component>
                                </sm:component>
                        </sm:activationSpec>
                        
                        <sm:activationSpec componentName="provider">
                                <sm:component>
                                        <http:component>
                                        <http:endpoints>
                                                <http:endpoint 
service="xns:HelloService" 
                                                endpoint="xpto"  
                                                role="provider" 
                                                soap="true"   
                                                soapVersion="1.1" 
                                                
locationURI="http://dscom:7001/testWSWeb/WS/LoginMgr.jws"; 
                                                
wsdlResource="http://dscom:7001/testWSWeb/WS/LoginMgr.jws?WSDL"; />
                                        </http:endpoints>
                                        </http:component>
                                </sm:component>
                        </sm:activationSpec>
                        
.....                   

thank you for reply.

-- 
View this message in context: 
http://www.nabble.com/About-Proxy-tf2500154.html#a6969552
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to