This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAX-RPC Web Service with Attachments

E Nham
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I just want to do a sanity check. I can use an EJB 2.1 session bean as an endpoint for a web service method that takes an attachment, can I not? I want my method to take a parameter DTO that has an attribute javax.activation.DataHandler. I am compiling the wsdl using JAX-RPC but it is not generating it correctly to take a Mime attachment. Instead I am getting:

What am I doing wrong? I want fileData to be a mime attachment...

Thanks for your help.
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic