I have an application sitting on a different box ehich sends encrypted XML requests over TCP/IP. 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??
When you get the message what are you supposed to do?
Gaurav Jain
Ranch Hand
Joined: Mar 11, 2004
Posts: 108
posted
0
Once i get this XML request i am supposed to parse it, put it in a specific format and pass it to another application sitting on another box over TCP/IP.
Sounds like something a Web Service should be handling.
No more rhymes! I mean it!<br /> <br />Does anybody want a peanut?
Gaurav Jain
Ranch Hand
Joined: Mar 11, 2004
Posts: 108
posted
0
Can somebody post a definite reply on how to achieve this??
Gaurav Jain
Ranch Hand
Joined: Mar 11, 2004
Posts: 108
posted
0
Originally posted by William Duncan: Sounds like something a Web Service should be handling.
Can you please elaborate on this possible solution?
Rufus BugleWeed
Ranch Hand
Joined: Feb 22, 2002
Posts: 1551
posted
0
IIRC web services are run under HTTP. We don't know that the protocol of your messages are HTTP. If it were me, I would explore subclassing javax.servlet.GenericServlet. I would search the JR servlets forum for any posts with GenericServlet. There are 40 of them. Happy reading! I don't believe your messages are going to look like messages from a JMS provider which could be processes by MDBs. HTH
Rufus has given some good advice about what to do with TCP/IP, but I would STRONGLY suggest that you look into Web Services instead. Go over to the Web Services forum here on Javaranch and poke around for information. This is a STANDARD way of doing XML messaging over HTTP supported by dozens of languages and vendors. Kyle