hi all,
 i am currently running wseedoclet in maven2 with maven xdoclet plugin...
i have annotated my ejbs as follows

/**
 * @ejb.bean
 *        name="TranslationServiceSession"
 *        view-type="service-endpoint"
 *        local-jndi-name="mm/ejb/TranslationServiceSessionLocalHome"
 *
 *
 * @ejb.interface
 *                generate="service-endpoint"
 *                service-endpoint-class=" com.mm.mw.webservices.TranslationServiceIF"
 *
 * @wsee.port-component name="TranslationServiceIF"
...

TranslationServiceIF interface gets generated correctly

here's my xdoclet task for generating wsdl etc..

<configuration>
              <tasks>
                <wseedoclet jaxrpcMappingFile="mappings.xml"
                        wseeSpec="1.1"
                            wsdlFile="wsdl/serviceTest.wsdl"
                            destDir="${project.build.outputDirectory}/META-INF" force="true" verbose="true">
                 <fileset dir="src" includes="**/*Bean.java " />
                 <fileset dir="target" includes="**/*IF.*java" />
                   <jaxrpc-mapping/>
                   <wsdl/>
                   <deploymentdescriptor useIDs="true"/>
                </wseedoclet>
               </tasks>
           </configuration>

and what's get generated are , unfortunately,

**** wsdl file *****

<?xml version=" 1.0" encoding="UTF-8"?>

<definitions
    targetNamespace=""
    xmlns:tns=""
    xmlns="http://schemas.xmlsoap.org/wsdl/ "
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/ ">

</definitions>


*** mappings.xml ****
<?xml version="1.0" encoding="UTF-8"?>

<java-wsdl-mapping
  xmlns=" http://java.sun.com/xml/ns/j2ee"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation=" http://java.sun.com/xml/ns/j2ee
  http://java.sun.com/xml/ns/j2ee/j2ee_jaxrpc_mapping_1_1.xsd"
  version="1.1">
    <!-- service interface mappings are still lacking -->
    <!-- service endpoint mappings are still lacking -->
</java-wsdl-mapping>


am i missing something? ors hall i believe  those commented line above, so that wseedoclet does not generate
properly wsdl and mapping fles?

thanks in advance and regards
 marco








-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
xdoclet-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to