[jboss-user] [JBossWS] - Re: JBossWS and xdoclet with ejb
MmarcoM
do-not-reply at jboss.com
Tue Sep 5 09:23:42 EDT 2006
Hello,
i have just downloaded jbossws-1.0.3GA, and installed jars properly in my jboss directories
i am currently using Maven2, to build my application, here' sthe ant task that i have defined
| <tasks>
| <taskdef name="wstools" classname="org.jboss.ws.tools.ant.wstools">
| <classpath refid="maven.dependency.classpath"/>
| <classpath>
| <fileset dir="${jboss.libdir}\client">
| <include name="activation.jar"/>
| <include name="javassist.jar"/>
| <include name="jbossall-client.jar"/>
| <include name="jbossretro-rt.jar"/>
| <include name="jboss-backport-concurrent.jar"/>
| <include name="jbossws-client.jar"/>
| <include name="jboss-xml-binding.jar"/>
| <include name="jbossws14-client.jar"/>
| <include name="log4j.jar"/>
| <include name="mail.jar"/>
| </fileset>
| <fileset dir="${jboss.libdir}\lib\endorsed">
| <include name="*.jar"/>
| </fileset>
| </classpath>
| </taskdef>
| <echo message="********** Running jboss ws **************"/>
| <mkdir dir="dd/ws" />
| <wstools dest="D:/Sw/step-by-step/middleware/dd/ws"
| config="D:/Sw/step-by-step/middleware/boss/wstools-messenger-config.xml"/>
|
| <wstools dest="D:/Sw/step-by-step/middleware/dd/ws"
| config="D:/Sw/step-by-step/middleware/jboss/wstools-translation-config.xml"/>
|
| </tasks>
|
here's my config files
| <configuration xmlns="http://www.jboss.org/jbossws-tools">
| <java-wsdl>
| <service name="TranslationService" style="rpc" endpoint="webservices.TranslationService"/>
| <namespaces target-namespace="http://mw.com/translationservice"
| type-namespace="http://mw.com/translationservice/types"/>
| <mapping file="tss-mapping.xml"/>
| <webservices ejb-link="TranslationServiceSessionBean" override="false"/>
| </java-wsdl>
|
| <configuration xmlns="http://www.jboss.org/jbossws-tools">
|
| <java-wsdl>
| <service name="MessengerService" style="rpc" endpoint="webservices.MessengerService"/>
| <namespaces target-namespace="http://mw.com/messengerservice"
| type-namespace="http://mw.com/messengerservice/types"/>
| <mapping file="mss-mapping.xml"/>
| <webservices ejb-link="ResponderBean" override="false"/>
| </java-wsdl>
| </configuration>
|
but the webservice that gets generated shows only the last service (the translation service)
am i missingn something? am i using wrong jar files in the classpath?
can anyone help me out?
thanks and regards
marco
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969458#3969458
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969458
More information about the jboss-user
mailing list