I want to generate a simple java class from this WSDL url:
https://xyz.pqr.com/Portal/Service.svc?wsdl
How can I do this? I am looking for a tool which can generate the code.
You can use Apache Axis.
It comes with a tool i.e. WSDL2Java converter.
using below command.
wsdl2java.bat -uri [URL of WSDL file] (on Windows)
or
wsdl2java.sh -uri [URL of WSDL file] on Linux
Through this you can generate the Stub classes from WSDL.