Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAX-RPC Web Service with Attachments

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

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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic