• Post Reply Bookmark Topic Watch Topic
  • New Topic

File Upload with Axis2

 
Chris Petersen
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi there,

i try to realize a file upload with axis2's web services... its just a simple text file which is to be uploaded into a database.

can someone help me and give me some examples how to write the client and server code for this?

thanks a lot
christian
 
Watsh Rajneesh
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please check this out. A better way to sending files as attachments with the SOAP message is MTOM, an spec implemented by Axis2. Read this for more on how to use MTOM with Axis2.
 
Chris Petersen
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thnks for the hint... But I dont grasp the examples... I just want to upload simple text file and not an image. moreover, i think the examples are not really complete...

maybe you can give me some complede code for the client (which uploads a file) and the server (which receives the file)?

cheers,
chris
 
I miss the old days when I would think up a sinister scheme for world domination and you would show a little emotional support. So just look at this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!