File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
Author

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Sending request over TCP/IP to Websphere(URGENT)
 
Similar Threads
How to send XML request over TCP/IP to WAS??
Sample Questions for 288 - Need answers
Sending request over TCP/IP to Websphere(URGENT)
HTTPS Request and Response Streams
HTTPS over SSL/TLS