Hi Bruce, thx for the reply. This is my basic xbean.xml file of my
destination jsr181 service:

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

    <classpath>
        <location>.</location>
    </classpath>
  
    <jsr181:endpoint pojoClass="org.servicemix.test.HelloImpl"
                     wsdlResource="classpath:service.wsdl" />
                    

</beans>


and this is a fragment of the Java code I wrote to forward a
NormalizedMessage to the service implemented by
org.servicemix.test.HelloImpl.

           EndpointDeliveryChannel channel;


           channel = (EndpointDeliveryChannel) context.getDeliveryChannel();
        
                    ServiceEndpoint se = context.getEndpoint( new 
QName(reference),
                 port);
                
                    InOut exch = 
channel.createExchangeFactory(se).createInOutExchange();
                   

            context.getDeliveryChannel().sendSync(exch);
            
            NormalizedMessage outMessage = exch.getOutMessage();
            
        


1- In the documentation I don't see any targetService/targetEndpoint in the
properties of a jsr181 su xbean deployement file. Could you tell me how can
I change my xbean to target the service above (I must implement
MessageExchangeListner to process the message isn't it?).

2- In fact the scenario I have in my mind is the following :

-call from an external soap client an operation from an exposed jsr181
service via HTTP BC.
-this operation should call another one defined in another jsr181 but
without HTTP BC (internally)

So how can I setup this?

Thanks a lot.

Regards,

Khalil.


-- 
View this message in context: 
http://www.nabble.com/Help-with-jsr181-proxy-tf3871686s12049.html#a10984814
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to