This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
D. Deepak Sharma
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
You can do it, pleare read first this article XML, SOAP, Binary Data
 
D. Deepak Sharma
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11070
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic