aspose file tools*
The moose likes Web Services and the fly likes JAX-RPC Web Service 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 "JAX-RPC Web Service with Attachments" Watch "JAX-RPC Web Service with Attachments" New topic
Author

JAX-RPC Web Service with Attachments

E Nham
Greenhorn

Joined: Feb 27, 2008
Posts: 2
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAX-RPC Web Service with Attachments
 
Similar Threads
xsd question
Binary SOAP attachment using Websphere
java.io.IOException: Type {http://lang.java}Exception is referenced but not defined.
Problem with WSDL publishing
Problem with arrays of primitive types