You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pubscribe-user@ws.apache.org by hpcaenne <lo...@hlrs.de> on 2005/08/11 10:49:42 UTC
example consumer
Hi,
this morning, in my "[installation directory]\examples\consumer", I read
"readme.txt".
I tried to execute step "1. run ant generate in ../examples/consumer".
Then I got the error message "BUILD FAILED
[install. dir.]\examples\consumer\build.xml:44: taskdef A class needed by
class org.apache.ws.notification.too
l.WsnWsdl2JavaTask cannot be found:
org/apache/ws/resource/tool/Wsdl2JavaTask".
What is wrong?
Kind regards, Anne
AW: example consumer
Posted by hpcaenne <lo...@hlrs.de>.
Dear Sal,
of course I use the new Pubscribe 1.0! I did copy the provided webapp under
the Tomcat/webapps directory, build.properties should be correct.
"ant generate" works when my environment variables (CLASSPATH) include the
jar files in webapps/axis/WEB-INF/lib (I have axis also). When I set the
environment variables to point to the jar files in
webapps/pubscribe/WEB-INF/lib instead, it does not work (see below).
Probably it's something silly easy ...
Best regards, Anne
-----Ursprüngliche Nachricht-----
Von: Sal Campana [mailto:scamp@apache.org]
Gesendet: Donnerstag, 11. August 2005 16:29
An: pubscribe-user@ws.apache.org
Betreff: Re: example consumer
hpcaenne wrote:
>Hi,
>
>
>
>this morning, in my "[installation directory]\examples\consumer", I read
>"readme.txt".
>
>
>
>I tried to execute step "1. run ant generate in ../examples/consumer".
>
>
>
>Then I got the error message "BUILD FAILED
>
>[install. dir.]\examples\consumer\build.xml:44: taskdef A class needed by
>class org.apache.ws.notification.too
>
>l.WsnWsdl2JavaTask cannot be found:
>org/apache/ws/resource/tool/Wsdl2JavaTask".
>
>
>
>What is wrong?
>
>
>
>Kind regards, Anne
>
>
>
>
Anne,
Are you using the new 1.0 distribution of pubscribe? If so, then the
examples/consumer directory contains a build.properties file which needs
to point to the location of our webapp...Our webapp contains all the
jars for the classpath and the build.xml uses it....Did you copy the
provided webapp under your Tomcat webapps directory? Did you set the
property in build.properties to point to that directory?
buidl.properties contains an example of how to set this...Note if you
use the %CATALINA_HOME% env as in the file, you need to make sure it is
set...
-S
Re: example consumer
Posted by Sal Campana <sc...@apache.org>.
hpcaenne wrote:
>Hi,
>
>
>
>this morning, in my "[installation directory]\examples\consumer", I read
>"readme.txt".
>
>
>
>I tried to execute step "1. run ant generate in ../examples/consumer".
>
>
>
>Then I got the error message "BUILD FAILED
>
>[install. dir.]\examples\consumer\build.xml:44: taskdef A class needed by
>class org.apache.ws.notification.too
>
>l.WsnWsdl2JavaTask cannot be found:
>org/apache/ws/resource/tool/Wsdl2JavaTask".
>
>
>
>What is wrong?
>
>
>
>Kind regards, Anne
>
>
>
>
Anne,
Are you using the new 1.0 distribution of pubscribe? If so, then the
examples/consumer directory contains a build.properties file which needs
to point to the location of our webapp...Our webapp contains all the
jars for the classpath and the build.xml uses it....Did you copy the
provided webapp under your Tomcat webapps directory? Did you set the
property in build.properties to point to that directory?
buidl.properties contains an example of how to set this...Note if you
use the %CATALINA_HOME% env as in the file, you need to make sure it is
set...
-S