aspose file tools*
The moose likes Web Services and the fly likes Soap with attachments Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Soap with attachments" Watch "Soap with attachments" New topic
Author

Soap with attachments

Vladan Radovanovic
Ranch Hand

Joined: Mar 20, 2000
Posts: 216
I will have to invoke web service which will return me soap message with attachments. Now my plan is to create a dummy web service that will do this and subsequently build a client to get this message. But first, how do I construct an xml document with attachments? Any ideas or I am missing something really simple here?
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Check out chapter 9 of The J2EE 1.4 Tutorial.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
If you are using Apache Axis 1.1, then their is example available under samples folder (Echoattachment.java).. which could help you further..


Spritle Software Blogs
Vladan Radovanovic
Ranch Hand

Joined: Mar 20, 2000
Posts: 216
Thank you guys.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Soap with attachments