weblogic.webservice.dd.DDProcessingException: There must be at least one <operation> element in <operations> (Line 12, Column 8)]" means servciegen can't find any valid web service methods in your EJB. Thanks, -Neal "brad" <bradir@yahoo.com> wrote in message news:3ef5d4e2@newsgroups.bea.com... > I want to have session bean exposed a service I am using this client gen. It generates ear and gets deployed tooo WHen i hit the url i dosent show up the default client or WSDL I tried hitting http://localhost:7001/SessionApp/SessionBeanService http://localhost:7001/SessionApp/SessionBeanService?WSDL > > No luck on either Can u pls tell me what is wrong and if possinble can u give entire servicegen tag for SLSB. <servicegen destEar="SLSBService.ear" warName="SessionApp.war"> <service ejbJar="SessionFacade.jar" targetNamespace=" http://localhost:7001/ " serviceName="Echo" serviceURI="/SessionBeanService" generateTypes="True" expandMethods="True" style="rpc" > </service> </servicegen> > > > and if i try to put client tag in servicegen <servicegen destEar="SLSBService.ear" warName="SessionApp.war"> <service ejbJar="SessionFacade.jar" targetNamespace=" http://localhost:7001/ " serviceName="SessionFacade" serviceURI="/SessionFacade" generateTypes="True" expandMethods="True" style="rpc" > <client packageName="com.jws.service" clientJarName="client.jar" /> </service> </servicegen> it throws me exception ear: [mkdir] Created dir: D:\RnDClasses\WebService\bea\HelloWorld-SessionBean\tmp_build [javac] Compiling 4 source files to D:\RnDClasses\WebService\bea\HelloWorld-SessionBean\tmp_buil d [servicegen] Generating service "SessionFacade" ... [servicegen] Generating XML types and serializers from ejb-jar (D:\RnDClasses\WebService\bea\HelloWo rld-SessionBean\SessionFacade.jar) ... [servicegen] Generating client jar for SLSBService.ear1172991697(SessionFacade) .. [servicegen] Could not read Web Service deployment descriptor [servicegen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGenT ask.j ava:318) [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateClient(S ervic eGenTask.java:290) [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceG enTas k.java:159) [servicegen]

Oracle Community | 3004 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Session bean as service 2

    Oracle Community | 1 decade ago | 3004
    weblogic.webservice.dd.DDProcessingException: There must be at least one <operation> element in <operations> (Line 12, Column 8)]" means servciegen can't find any valid web service methods in your EJB. Thanks, -Neal "brad" <bradir@yahoo.com> wrote in message news:3ef5d4e2@newsgroups.bea.com... > I want to have session bean exposed a service I am using this client gen. It generates ear and gets deployed tooo WHen i hit the url i dosent show up the default client or WSDL I tried hitting http://localhost:7001/SessionApp/SessionBeanService http://localhost:7001/SessionApp/SessionBeanService?WSDL > > No luck on either Can u pls tell me what is wrong and if possinble can u give entire servicegen tag for SLSB. <servicegen destEar="SLSBService.ear" warName="SessionApp.war"> <service ejbJar="SessionFacade.jar" targetNamespace=" http://localhost:7001/ " serviceName="Echo" serviceURI="/SessionBeanService" generateTypes="True" expandMethods="True" style="rpc" > </service> </servicegen> > > > and if i try to put client tag in servicegen <servicegen destEar="SLSBService.ear" warName="SessionApp.war"> <service ejbJar="SessionFacade.jar" targetNamespace=" http://localhost:7001/ " serviceName="SessionFacade" serviceURI="/SessionFacade" generateTypes="True" expandMethods="True" style="rpc" > <client packageName="com.jws.service" clientJarName="client.jar" /> </service> </servicegen> it throws me exception ear: [mkdir] Created dir: D:\RnDClasses\WebService\bea\HelloWorld-SessionBean\tmp_build [javac] Compiling 4 source files to D:\RnDClasses\WebService\bea\HelloWorld-SessionBean\tmp_buil d [servicegen] Generating service "SessionFacade" ... [servicegen] Generating XML types and serializers from ejb-jar (D:\RnDClasses\WebService\bea\HelloWo rld-SessionBean\SessionFacade.jar) ... [servicegen] Generating client jar for SLSBService.ear1172991697(SessionFacade) .. [servicegen] Could not read Web Service deployment descriptor [servicegen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGenT ask.j ava:318) [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateClient(S ervic eGenTask.java:290) [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceG enTas k.java:159) [servicegen]
  2. 0

    &lt;Fault &gt; elt in web-services.xml NOT WORKING

    Oracle Community | 1 decade ago | 3004
    weblogic.webservice.dd.DDProcessingException: Could not find>required>> attribute "type" for element <fault> (Line 28, Column 8) [clientgen] at weblogic.webservice.util.WebServiceWarFile.getWSDD(WebServiceWarFile.java:81 ) [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.EARClientGen.getWebServiceDD(EAR ClientGen.java:330) [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.EARClientGen.run(EARClientGen.ja va:110) [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGenT ask.java:270) [clientgen]

    Root Cause Analysis

    1. weblogic.webservice.dd.DDProcessingException

      There must be at least one <operation> element in <operations> (Line 12, Column 8)]" means servciegen can't find any valid web service methods in your EJB. Thanks, -Neal "brad" <bradir@yahoo.com> wrote in message news:3ef5d4e2@newsgroups.bea.com... > I want to have session bean exposed a service I am using this client gen. It generates ear and gets deployed tooo WHen i hit the url i dosent show up the default client or WSDL I tried hitting http://localhost:7001/SessionApp/SessionBeanService http://localhost:7001/SessionApp/SessionBeanService?WSDL > > No luck on either Can u pls tell me what is wrong and if possinble can u give entire servicegen tag for SLSB. <servicegen destEar="SLSBService.ear" warName="SessionApp.war"> <service ejbJar="SessionFacade.jar" targetNamespace=" http://localhost:7001/ " serviceName="Echo" serviceURI="/SessionBeanService" generateTypes="True" expandMethods="True" style="rpc" > </service> </servicegen> > > > and if i try to put client tag in servicegen <servicegen destEar="SLSBService.ear" warName="SessionApp.war"> <service ejbJar="SessionFacade.jar" targetNamespace=" http://localhost:7001/ " serviceName="SessionFacade" serviceURI="/SessionFacade" generateTypes="True" expandMethods="True" style="rpc" > <client packageName="com.jws.service" clientJarName="client.jar" /> </service> </servicegen> it throws me exception ear: [mkdir] Created dir: D:\RnDClasses\WebService\bea\HelloWorld-SessionBean\tmp_build [javac] Compiling 4 source files to D:\RnDClasses\WebService\bea\HelloWorld-SessionBean\tmp_buil d [servicegen] Generating service "SessionFacade" ... [servicegen] Generating XML types and serializers from ejb-jar (D:\RnDClasses\WebService\bea\HelloWo rld-SessionBean\SessionFacade.jar) ... [servicegen] Generating client jar for SLSBService.ear1172991697(SessionFacade) .. [servicegen] Could not read Web Service deployment descriptor [servicegen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.execute(ClientGenT ask.j ava:318) [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateClient(S ervic eGenTask.java:290) [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceG enTas k.java:159) [servicegen]

      at org.apache.tools.ant.Task.perform()
    2. Ant
      Target.execute
      1. org.apache.tools.ant.Task.perform(Task.java:217)[servicegen]
      2. org.apache.tools.ant.Target.execute(Target.java:164)
      2 frames