wood burning stoves 2.0*
The moose likes Web Services and the fly likes File Attachement WebService issue using Datahandler Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "File Attachement WebService issue using Datahandler" Watch "File Attachement WebService issue using Datahandler" New topic
Author

File Attachement WebService issue using Datahandler

Vijay Anand
Greenhorn

Joined: Jan 15, 2002
Posts: 3
Hi All,

I am developed webservice which is help to receive file attachement.

here javax.activation.DataHandler i am using.

fileUpload(String filename, DataHandler dh) - WebMethod in my Webservice.

i able to create WSDL also i able to receive file successfully in my local env.

When i put my WSDL in SoapScope or x Ray(Webservice testing tool)

i am received below Error

**************************



Invalid schema format: src-resolve.4.2: Error resolving component 'att atahandler'. It was detected that 'att atahandler' is in namespace 'http://www.bea.com/servers/wls90/wsee/attachment', but components from this namespace are not referenceable from schema document. If this is the incorrect namespace, perhaps the prefix of 'att atahandler' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added.

**************************************************

Please let me know the soluation or some idea regarding this.

Thanks and Regards,
VijayAnand
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: File Attachement WebService issue using Datahandler
 
Similar Threads
File Attachement WebService issue using Datahandler
Axis 2 - MTOM Service problem
Complex Data Type Axis
To pass file object to webservice
Passing binary files in webservices