Results 1 to 3 of 3

Thread: Socket call during incoming web service call.

  1. #1

    Default Socket call during incoming web service call.

    Hi,

    I am trying to figure out how to make a socket call during a inbound web service call. I am using Spring WS to handle the incoming call which puts the message on a channel. That message is then sent to a server via a tcp-outbound-channel-adapter and a tcp-connection-factory.

    This all works fine but I can not figure out how to get the response back to the method the received the web service call. Could you point me to a example that demonstrates something similar to this?

    Thanks

    Frank

  2. #2
    Join Date
    Jan 2009
    Location
    Ukraine, Kharkov
    Posts
    737

    Default

    Hi!

    What do you want to achieve: what is your response, maybe <tcp-outbound-gateway> is OK for you?
    Of course you can use <recepient-list-router> or <publish-subscribe-channel> to send Message to the tcp-endpoint and into ws-response channel.

    Explain, please, a bit more your use-case

    Take care,
    Artem

    P.S. tcp-samples: https://github.com/SpringSource/spri...basic/tcp-amqp
    https://github.com/SpringSource/spri...-client-server

  3. #3

    Default

    Cleric,

    You are correct. I got to thinking about it more and it looks like the tcp_outbound_gateway is what I need. Thanks a lot to the forum for your continued support!

    Frank

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •