File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Guide me for a SOAP attachment Tutorial. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Guide me for a SOAP attachment Tutorial." Watch "Guide me for a SOAP attachment Tutorial." New topic
Author

Guide me for a SOAP attachment Tutorial.

pavan aryan
Greenhorn

Joined: Feb 28, 2010
Posts: 15
First thanks to one and all for this rocking forum...i am spending lot of time these days following different threads. Ok now the business, i was trying to build an webservice with SOAP using SOAP attachment. My goal was to return a file from server to client (say picture in few mega bytes), i tried searching from 2 days all i can found was some tutorials and codes that test the code only in serverside and display at the server using System.out.println. All i want is retun something from server and being displayed at the client. I am running very short on time, thought it will n00bish to ask before searching at all. but now i am paying for that.

Edit: I am looking for pure Web Service methodology , no EJB's Please.

Please help me guys, thanks in advance,

Kumar.
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
Have you seen section 10.3 in my SCDJWS 5 study notes?
You can download the document for free either at http://www.javaforum.se/jforum/posts/list/549.page or in the SCDJWS Links here on JavaRanch.
Best wishes!
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41489
    
  53
See the articles "Transferring files over a web service" and
"Sending SOAP attachments using SAAJ" in the WebServicesFaq.


Ping & DNS - my free Android networking tools app
kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1372
Hi Ian, this pdf link is in different language.
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
kri shan wrote:Hi Ian, this pdf link is in different language.

You are absolutely right!
There are also instructions in English. However, if you find that webpage too difficult, please do not hesitate to head over to the SCDJWS Links section here on JavaRanch!
Best wishes!
pavan aryan
Greenhorn

Joined: Feb 28, 2010
Posts: 15
thanks a lot for the replies...IBM link looks promising. @Ian i really not getting that pdf.
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
OK, since I know that browsing the internet and finding resources sometimes can be very difficult, especially when using a computer, I'll post the direct link:
http://faq.javaranch.com/content/Exam-Objectives-5.pdf
What you do is that you move the mouse pointer to the above link. When you are "in position", you click the mouse.
Don't click too hard, or you may damage your mouse!
Good luck!

By the way, my name is Ivan, not Ian.
pavan aryan
Greenhorn

Joined: Feb 28, 2010
Posts: 15
sorry for mispelling your name..i apologize. but really i dont know how to take your reply ...the procedure of downloading it. I realized later that, my dept has blocked downloading attachment since they are doing some tests...yes you can also say this as a story..but thanks for replying and providing me a link and teaching how to download it. i owe you one.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Guide me for a SOAP attachment Tutorial.