Hi Ralph, Please use this migration guide and apply changes accordingly http://globus.org/toolkit/docs/4.2/4.2.1/common/javawscore/mig/#id2468036
Cheers, Shayan --- What do you do to protect our planet? Be considerate: Insulate your home, water heater and pipes. 2008/12/13 Ralph Grove <[email protected]> > I'm working through the Globus Toolkit 4 Programmer's Tutorial and have > encountered the following error at section II, Step 4, "Create a GAR > file...". The exception seems to originate with WSDLReader.java. > > I'm using the original Math.wsdl file that came with the tutorial. I > checked it for correctness with an external XML validator, and it passed. > > If anyone else has seen this error or has a suggestion, I would appreciate > hearing about it. > > Thanks, > Ralph Grove > > > > -bash-3.2$ ./globus-build-service.sh first > Buildfile: build.xml > > init: > [delete] Deleting directory /globus/examples/build/lib > [mkdir] Created dir: /globus/examples/build/lib > > flatten: > > WSDLUptodate: > > flatten: > [echo] Processing WSDL in Math.wsdl > [java] Retrieving document at > '/globus/examples/build/schema/examples/MathService_instance/Math.wsdl'. > [java] Error processing WSDL: Could not read WSDL input file: > /globus/examples/build/schema/examples/MathService_instance/Math.wsdl > > BUILD FAILED > /globus/examples/build.xml:228: The following error occurred while > executing this line: > /usr/local/globus/share/globus_wsrf_tools/build-stubs.xml:168: Java > returned: 2 > > Total time: 3 seconds > > -bash-3.2$ cat > /globus/examples/build/schema/examples/MathService_instance/Math.wsdl > <?xml version="1.0" encoding="UTF-8"?> > <definitions name="MathService" > targetNamespace=" > http://www.globus.org/namespaces/examples/core/MathService_instance" > xmlns="http://schemas.xmlsoap.org/wsdl/" > xmlns:tns=" > http://www.globus.org/namespaces/examples/core/MathService_instance" > ... > >
