Hi,

When I try to do this:

 java -cp .:$CLASSPATH$ org.apache.axis.wsdl.Java2WSDL -o fc.wsdl  -l"http://community.ucs.indiana.edu:8080/axis/services/MyFileCopyServices" -n  "urn:FileCopy" -p"remote_copy" "urn:FileCopy"  remote_copy.FileCopyService

I got the following 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 why?

thanks,

fatih



Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!

Reply via email to