Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Sockets and Internet Protocols and the fly likes Sending request over TCP/IP to Websphere(URGENT) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Sending request over TCP/IP to Websphere(URGENT)" Watch "Sending request over TCP/IP to Websphere(URGENT)" New topic

Sending request over TCP/IP to Websphere(URGENT)

Gaurav Jain
Ranch Hand

Joined: Mar 11, 2004
Posts: 108
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??
Stephen Huey
Ranch Hand

Joined: Jul 15, 2003
Posts: 618
I don't know anything about Websphere, but I do work with a J2EE web app run on Tomcat. Maybe this isn't what you need, but I do have a provision for transferring files. I just have a landing JSP page that when accessed gets an input stream of bytes and writes them out to a file. These bytes are sent on an outputstream to the landing page via an HTTP post to the URL of the landing page. In my case I'm specifically sending XML documents.
I find the Jakarta HttpClient to be particularly helpful with stuff like this.
jQuery in Action, 2nd edition
subject: Sending request over TCP/IP to Websphere(URGENT)