aspose file tools*
The moose likes Web Services and the fly likes How to send a text file to webservice and the server return back to client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to send a text file to webservice and the server return back to client" Watch "How to send a text file to webservice and the server return back to client" New topic
Author

How to send a text file to webservice and the server return back to client

D. Deepak Sharma
Ranch Hand

Joined: May 12, 2012
Posts: 31
Hi guys! I am so confused that I dont know how to send a text file to a web service and in return the Server will return another text file back to the client. Can anybody suggest me how to perform the operation. I have to work with java, axis2, ant and tomcat. please help be out with simple and effective solution.
Anton Novopashin
Greenhorn

Joined: Feb 25, 2008
Posts: 19
Hi,
You can do it, pleare read first this article XML, SOAP, Binary Data


OCJP (1Z0-851).
Integration Developer (000-607).
WAS Admin (000-377).
D. Deepak Sharma
Ranch Hand

Joined: May 12, 2012
Posts: 31
Anton Novopashin wrote:Hi,
You can do it, pleare read first this article XML, SOAP, Binary Data


but how to create the text file into xml and then how to send it to the web service or to client using programming. I mean how to embed these files into the SOAP headers...
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10535
    
    9

Check out http://axis.apache.org/axis2/java/core/docs/mtom-guide.html


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to send a text file to webservice and the server return back to client