Hi all,
I am trying to implement a file copy service using axis...I am sending a FileInputStream object to the webservice which is expecting an type object, and then I am casting the object type to my original type FileInputStream object inside the method webservice filecopy method, then I got this exception.:
WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 'http://www.w3.org/1999/XMLSchema'. Namespace prefixes must be set on the Definition object using the addNamespace(...) method.:
at com.ibm.wsdl.util.xml.DOMUtils.getPrefix(Unknown Source)
at com.ibm.wsdl.util.xml.DOMUtils.getQualifiedValue(Unknown Source)
at com.ibm.wsdl.util.xml.DOMUtils.printQualifiedAttribute(Unknown Source)
at com.ibm.wsdl.xml.WSDLWriterImpl.printParts(Unknown Source)
at com.ibm.wsdl.xml.WSDLWriterImpl.printMessages(Unknown Source)
at com.ibm.wsdl.xml.WSDLWriterImpl.printDefinition(Unknown Source)
at com.ibm.wsdl.xml.WSDLWriterImpl.writeWSDL(Unknown Source)
at com.ibm.wsdl.xml.WSDLWriterImpl.getDocument(Unknown Source)
at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:236)
at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:289)
at org.apache.axis.wsdl.Java2WSDL.run(Java2WSDL.java:458)
at org.apache.axis.wsdl.Java2WSDL.main(Java2WSDL.java:497)
Can any body have any idea? am I doing sth wrong? thanks for the helps..
fatih
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!