jQuery in Action, 2nd edition
The moose likes Web Services and the fly likes File Upload with Axis2 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "File Upload with Axis2" Watch "File Upload with Axis2" New topic
Author

File Upload with Axis2

Chris Petersen
Greenhorn

Joined: Sep 21, 2006
Posts: 9
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

Joined: Apr 17, 2006
Posts: 109
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.


SCJP 5.0 (90%), SCDJWS 1.4 (88%), SCWCD 1.4 (82%), SCBCD 1.3 (85%)
Chris Petersen
Greenhorn

Joined: Sep 21, 2006
Posts: 9
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: File Upload with Axis2
 
Similar Threads
web service client should send file
How to Upload File using Commons FileUpload
Install Axis2 1.4 on Linux CentOS
Browse/Upload Button
SoapMonitor doesn't show anything