Hi,
Thanks for your response,
That really works. I am trying to create a webservice with an ejb. I am 
using the following configuraion and xdoclet in the ejb. What plugin do I 
need to put pom.xml to generate wsdl file from the xdoclet..

Cofiguration:
        Maven2, Xdoclet1.2, JBoss3.2.5, Axis1.1, Jboss.net

Xdoclet:
/**
 * @ejb:bean    name="AmendmentsService"
 *              jndi-name="AmendmentsService"
 *              type="Stateless"
 *              view-type="both"
 *
 * @ejb:ejb-ref ejb-name="AmendmentsService"
 *                  view-type="remote"
 *                  ref-name="ejb/AmendmentsService"
 *
 * @ejb:util generate="physical"
 *
 *
 * @jboss.ejb-ref-jndi  ref-name="AmendmentsService"
 *                      jndi-name="AmendmentsService"
 *
 * @jboss-net:web-service   urn="AmendmentsService"
 *
 **/


Thanks,




Dário Luís Coneglian Oliveros <[EMAIL PROTECTED]> 
24/01/2007 15:35
Please respond to
"Maven Users List" <[email protected]>


To
"Maven Users List" <[email protected]>
cc

Subject
RE: Maven 2 and xdoclet 1.2 and sample






Here it goes.
...
<build>
  <plugins>
    <plugin>
      <groupId>org.codehaus.mojo</groupId>
      <artifactId>xdoclet-maven-plugin</artifactId>
      <executions>
        <execution>
          <phase>generate-sources</phase>
          <goals>
            <goal>xdoclet</goal>
          </goals>
          <configuration>
            <tasks>
              <ejbdoclet
                ejbspec = "2.0"
                ejbClassNameSuffix = "Bean"
                destdir = 
"${project.build.directory}/generated-sources/xdoclet"
                verbose = "true">
                <fileset dir = "${project.build.sourceDirectory}" includes 
= "**/**Bean.java"/>
                <deploymentdescriptor destdir = 
"${project.build.outputDirectory}/META-INF"/>
                <jboss destdir = 
"${project.build.outputDirectory}/META-INF"/>
                <homeinterface/>
                <remoteinterface/>
                <localinterface/>
                <localhomeinterface/>
                <utilobject/>
                <entitypk/>
              </ejbdoclet>
            </tasks>
          </configuration>
        </execution>
      </executions>
    </plugin>
  </plugins>
</build>
...

Hope it helps.
Dário

-----Original Message-----
From: Vidya Mahavadi [mailto:[EMAIL PROTECTED]
Sent: quarta-feira, 24 de janeiro de 2007 10:27
To: [email protected]
Subject: Maven 2 and xdoclet 1.2 and sample


Hi everyone,

I am starting to work on Maven, xdoclet now. I am looking a for a plugin 
to work with Maven 2 and xdoclet 1.2 and sample to get me started. Can 
anyone please help me?

Thanks,

This e-mail is subject to a disclaimer, available at
http://www.rmb.co.za/web/elements.nsf/online/disclaimer-communications.html



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



This e-mail is subject to a disclaimer, available at
http://www.rmb.co.za/web/elements.nsf/online/disclaimer-communications.html

Reply via email to