Hi everybody,
I'm trying to follow the Globus Toolkit 4.0 tutorial from Borja Sotomayor,
but I'm using Globus Tookit 4.2.1.

I'm stucked with the building of the GAR file after launching
*./globus-build-service.sh
first*

All enviroment variables are set up:
*$JAVA_HOME = /home/LI733/opt/jdk1.5.0_18
$ANT_HOME = /home/LI733/opt/apache-ant-1.7.1* (don't know why the whole
stuff doesn't work with 1.6.2 version)
*$GLOBUS_LOCATION = /home/LI733/opt/ws-core-4.2.1*

I've added $JAVA_HOME/bin and $ANT_HOME/bin to $PATH and $JAVA_HOME/lib and
$ANT_HOME/lib to $CLASSPATH.

If I launch "*source $GLOBUS_LOCATION/etc/globus-devel-env.sh*" my Ant
version step back to 1.6.2 so I modified 'globus-devel-env.sh' in order to
skip the inclusion of ant.jar and ant-nodeps.jar

Now, in $EXAMPLES_DIR:
./globus-build-service.sh first

This chokes on:
*
$HOME/build/stubs-org_globus_examples_services_core_first/src/org/globus/examples/stubs/MathService_instance/bindings/MathPortTypeSOAPBindingStub.java
*

On line 464 with a "cannot find symbol":
*[javac] symbol : class AttributedAnyType
[javac] location: package org.globus.axis.message.addressing
[javac] cls = org.globus.axis.message.addressing.AttributedAnyType.class;
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error

BUILD FAILED
/home/LI733/Documenti/WSDL/build.xml:309: Compile failed; see the compiler
error output for details.*

So, i've gone through Globus Toolkit 4.2.1 documentation.
I've googled this *AttributedAnyType* class and I found this:
*http://www.globus.org/mail_archive/gt-user/2008/09/msg00039.html*

Now, in *http://www.w3.org/2005/08/addressing/ws-addr.xsd* there is a
reference to *AttributedAnyType* class (our target class).

This target class should be in *
$GLOBUS_LOCATION/lib/common/globus-addressing-1.0.jar*, but it is missing.

I've tried referencing a modified version (locally) of *ws-addr.xsd* (as
Adam did in http://www.globus.org/mail_archive/gt-user/2008/09/msg00039.html)
where I deleted any reference to *AttributedAnyType*, but it still looks for
that class.

At this point, I'd like to cite Adam from *
http://www.globus.org/mail_archive/gt-user/2008/09/msg00039.html*:

*"[...] is it possible that simply referencing the 2005/08 namespace there
causes the problem? Becausehttp://
www.w3.org/2005/08/addressing/ws-addr.xsddoes contain the AttributedAnyType.
Perhaps there is a different namespace I should be referencing?"*

So, I've googled again that (grrr :P ) *AttributedAnyType* class and I found
it here: *org.apache.cxf.ws.addressing.AttributedAnyType* ( *
cxf-api-2.0-incubator.jar* ) but it's not our case.

So, how can I go on? What should I do with *AttributedAnyType.class*?

Thank you all so much for your time!

Cheers
Francesco Maiorano ( [email protected] )

Reply via email to