• Post Reply Bookmark Topic Watch Topic
  • New Topic

webservices! Please help Please help  RSS feed

 
rahul sood
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am deploying the webservice given at this URL
http://e-docs.bea.com/wls/docs61/webServices/develop.html#1032626
Everything works fine but when I try to build .ear file via ant which uses wsgen task in my build.xml as mentioned in the steps for the above URL......
then I get the following error.
wsgen:
[wsgen] Can't find 'webservices/KickEJB/Kick.class'
Build Successful
Just to let you know that my Kick.class file is residing in the webservices/KickEJB/Kick.class
in the jar file which ant uses to build the .ear
and also kick.class is in the package webservices.KickEJB.
For full details please see the URL above.
Please help as I am stuck because of this problem from the last 2 months.
 
Byron Estes
Ranch Hand
Posts: 313
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Make sure all your classes that you need to deploy are actually making it into to your deployment jar. I suspect that even though the file is in your project, that you do not have the deployment descriptor set up to appropriately export all your class files into the deployment package that you are moving to the server.
Hope this helps,
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!