Hi,

there are duplicate entries in my web-service.xml after running xdoclet. why?

thanks
  Andreas

Java-Code

  | /*
  |  * ImportContentBean.java
  |  * 
  |  */
  | package ip.austing.modules.cms.services;
  | 
  | import java.io.File;
  | import java.util.Collection;
  | import java.util.Date;
  | import java.util.Iterator;
  | 
  | import javax.ejb.EJBException;
  | import javax.ejb.SessionBean;
  | import javax.naming.Context;
  | import javax.naming.InitialContext;
  | import javax.naming.NamingException;
  | import javax.xml.soap.SOAPException;
  | 
  | import org.apache.axis.AxisFault;
  | import org.apache.axis.Message;
  | import org.apache.axis.MessageContext;
  | import org.apache.axis.attachments.AttachmentPart;
  | import org.apache.axis.attachments.Attachments;
  | 
  | /**
  |  * @ejb.bean
  |  *  name="ImportContent"
  |  *  jndi-name="ejb/cms/ImportContentBean"
  |  *  type="Stateless" 
  |  *
  |  * @ejb.env-entry name="ContentDirectory"
  |  *  type="java.lang.String"
  |  *  value="###ContentDirectory###"
  |  *
  |  * @jboss-net.web-service
  |  *  urn="ImportContent"
  |  **/
  | 
  | public abstract class ImportContentBean implements SessionBean {
  |     
  |     /**
  |      *      Import of a SCORM SCO
  |      *
  |      * @ejb.interface-method
  |      *      view-type="local"
  |      * 
  |      * 
  |      * @jboss-net.web-method 
  |     **/
  |     public boolean importContent(String identifier)
  |             throws EJBException { ... }
  |             
  | }
  | 
  | 

xdoclet generates the following web-service.xml:


  | <?xml version="1.0" encoding="UTF-8"?>
  | 
  | <!-- -->
  | <!-- This JBoss.Net Web Service Descriptor has been generated by XDoclet  -->
  | <!-- and is brought to you by F. M. Brier, C. G. Jung and J. Essington    -->
  | <!-- -->
  | 
  | <deployment
  |     name="ContentManagementService" 
  |     xmlns="http://xml.apache.org/axis/wsdd/";
  |     targetNamespace="http://localhost/cms";
  |     xmlns:cms="http://localhost/cms";
  |     xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
  | 
  | <!-- The following are declarations of service endpoints targetted to
  |      session beans -->
  | 
  |   <service name="ImportContent" provider="Handler">
  |     <parameter name="handlerClass" value="org.jboss.net.axis.server.EJBProvider"/>
  |     <parameter name="beanJndiName" value="ImportContentLocal"/>
  |     <parameter name="allowedMethods" value="importContent "/>
  |     <requestFlow name="ImportContentRequest">
  |     </requestFlow>
  |     <responseFlow name="ImportContentResponse">
  |     </responseFlow>
  |   </service>
  | 
  | <!-- The following are typemappings for entity beans for implementing 
  |      the implicit web-service value-object pattern -->
  | 
  | <!-- The following are typemappings for bean-type value-objects -->
  | 
  | <!-- There follow merged custom web service descriptions -->
  | 
  | <?xml version="1.0" encoding="UTF-8"?>
  | 
  | <!-- -->
  | <!-- This JBoss.Net Web Service Descriptor has been generated by XDoclet  -->
  | <!-- and is brought to you by F. M. Brier, C. G. Jung and J. Essington    -->
  | <!-- -->
  | 
  | <deployment
  |     name="ContentManagementService" 
  |     xmlns="http://xml.apache.org/axis/wsdd/";
  |     targetNamespace="http://localhost/cms";
  |     xmlns:cms="http://localhost/cms";
  |     xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
  | 
  | <!-- The following are declarations of service endpoints targetted to
  |      session beans -->
  | 
  |   <service name="ImportContent" provider="Handler">
  |     <parameter name="handlerClass" value="org.jboss.net.axis.server.EJBProvider"/>
  |     <parameter name="beanJndiName" value="ImportContentLocal"/>
  |     <parameter name="allowedMethods" value="importContent "/>
  |     <requestFlow name="ImportContentRequest">
  |     </requestFlow>
  |     <responseFlow name="ImportContentResponse">
  |     </responseFlow>
  |   </service>
  | 
  | <!-- The following are typemappings for entity beans for implementing 
  |      the implicit web-service value-object pattern -->
  | 
  | <!-- The following are typemappings for bean-type value-objects -->
  | 
  | <!-- There follow merged custom web service descriptions -->
  | 
  | </deployment>
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3837082#3837082

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3837082



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to