I have an application sitting on a different box which sends encrypted XML requests over TCP/IP using socket progeaming and not over http or SOAP. My application is hosted on Websphere application server on a different box. How do i receive these encrypted XML based requests. Does Websphere supports TCP/IP based listeners? How do i go about this??
This is a really, really bad idea. It might be possible (and could be if you start your own listerner from something like a Servlet's init() method) but this will involve (at the least) thread management, which is strongly discouraged. You need to instead change your application to use a supported protocol like TCP/IP. The only other option is to put a "translator" program between WebSphere and the other program that listens for TCP on one end and transforms it to HTTP on the other. But seriously, strongly consider moving the other program to using Web Services. Kyle
Kyle,thanks for the response. In our case the other application who is sending us the request is a 3rd party vendor and is not implementing web services and WILL send request over TCP/IP only. In that case the only option left is to write a standalone customized java class which listens to the request from that application through scket programing over TCP/IP and sends them to Websphere after converting them to Http. Am i correct???
Joined: Aug 10, 2001
That would be your best bet, yes. Kyle
Joined: Mar 11, 2004
Is there any utility which can be plugged in WAS and which listens to TCP/IP request and converts them to http???