Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Attachments in Axis 1.0  RSS feed

 
Michael Hul
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
quick question: Is there a way in Axis 1.0 to do the equivalent of the following;

I have a web service being called using call.invoke(SOAPEnvelope). The web service should return a PDF as an attachment somewhere but i don't know how to get it. I'm pretty new to web services so i'll take any help i can get.

Thanks
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Axis supports the SAAJ API, so maybe this helps: http://www.javaworld.com/javaworld/jw-09-2003/jw-0912-webservices.html?page=1
 
Michael Hul
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ulf but I found that the problem was my own short-sightedness. I was missing the little error message in the soap response that was saying
"PDF generation error. Could not find a part of the path...".
I fixed that and now the following code gives the attachment(s) I'm looking for (if anyone else ever runs into this problem)

 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!