mercredi 18 juillet 2018

Cannot parse WSDL - No such file or directory

I am testing SOAP with java. I have created a web service interface and its implementation. Now I want to generate the interface class with wsimport. I go to /usr/lib/jvm/java-1.8.0-openjdk-amd64/bin and write ./wsimport -keep http://localhost:8080/Brain_war/DataImpl?wsdl (if I go to the specified url with hand, it gives the correct xml). This run gives the following error log:

parsing WSDL...

Generating code...

[ERROR] ./service/Data.java (No such file or directory)

Any suggestions ? (The Data.java file actually is the interface of web service and it is located in service package.)




Aucun commentaire:

Enregistrer un commentaire