Hello Everyone,

I am trying to generate client jar file for my webservice by running clientgen ant task. I followed all required steps but i am getting errors.

I guess my problem is incorrect form of build.xml file, it looks like the following:

<project name="buildwebservice" basedir="." default="generate-client">
<target name="generate-client" >
      <property name="wsdlUrl" 
      <clientgen wsdl="${wsdlUrl}" packageName="mypackage"
        clientJar="myclient.jar" />
After running ant command, i get the following error:

Cause: the class weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask
ot found.
Action: Check that the component has been correctly declared
        and that the implementing JAR is in one of:
        -a directory added on the command line with the -lib argument
Sometimes i get different errors, like project file doesn't contain target package

Maybe my build.xml file isn't formed correctly and i am missing something.

Please Help me if someone knows details of it.

Thanks in advance !! have a nice day