Win a copy of Securing DevOps this week in the Security forum!

Srini Vady

Greenhorn
+ Follow
since Jul 16, 2012
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Srini Vady

I was getting the same error ("Root Location Needs to be a Directory!")
In my case, the problem was with the way i had specified the destination folder path for the generated files

Solution:
Changed the wsdl2java command from:
wsdl2java -s -S “D:\Srini\MyProject\Build\Workspaces\ServiceProvider\src-gen” -ssi LoginInterface -u -or -Ejavaversion 1.5 -uri LogonServices.wsdl

to

wsdl2java -s -S \..\src-gen -ssi LoginInterface -u -or -Ejavaversion 1.5 -uri LogonServices.wsdl

In case this helped, congratulations!
5 years ago