Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

File Attachement WebService issue using Datahandler

 
Vijay Anand
Greenhorn
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 '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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic