Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

File Attachement WebService issue using Datahandler

Vijay Anand
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 '', 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,
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic