• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Packaging the java class components

 
Krithi Raghu
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone...
I am trying to develop a web service in weblogic. I have prepared a build (listService.ear) to deploy on the server. In my ear I find that only my service class is included and all the other classes are missing. Hence I am getting ClassNotFound exception. Could you please help me in resolving this.

My servicegen ant task is as below...

<target name="ear">
<servicegen destEar="listService.ear"
contextURI="ListService"
keepGenerated="True">
<service javaClassComponents="webservice.ListService"
targetNamespace="http://www.bea.com/webservices/basic/"
serviceName="ListService"
serviceURI="/ListService"
typeMappingFile="${source}/requestTypeMapping.txt"
generateTypes="True"
expandMethods="True"
style="rpc" >
</service>
<classpath refid="ossclasspath"/>
</servicegen>
</target>

Thanks in advance
 
Krithi Raghu
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried using the <wspackage>.. Now my class files are there in the ear but i get class not found exception. Could you please tell me where exactly am I going wrong?

<wspackage output="${source}/listService.ear"
overwrite="false"
filesToEar="${source}/oss_jar/service.jar"/>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic