Hi,
no, sounds like flatten is done perfect :
the output is as follows:
Thanks
-Shayan
===========================
[EMAIL PROTECTED] sample]$ ./globus-build-service.sh first
Buildfile: build.xml
init:
[mkdir] Created dir: /home/shahand/workspace/sample/build
[mkdir] Created dir: /home/shahand/workspace/sample/build/classes
[mkdir] Created dir: /home/shahand/workspace/sample/build/lib
[mkdir] Created dir:
/home/shahand/workspace/sample/build/stubs-org_globus_examples_services_core_first
[mkdir] Created dir:
/home/shahand/workspace/sample/build/stubs-org_globus_examples_services_core_first/src
[mkdir] Created dir:
/home/shahand/workspace/sample/build/stubs-org_globus_examples_services_core_first/classes
[mkdir] Created dir: /home/shahand/workspace/sample/build/stubs
[mkdir] Created dir: /home/shahand/workspace/sample/build/stubs/classes
[mkdir] Created dir: /home/shahand/workspace/sample/build/schema
[copy] Copying 39 files to /home/shahand/workspace/sample/build/schema
flatten:
WSDLUptodate:
flatten:
[echo] Processing WSDL in Math.wsdl
[java] Retrieving document at
'/home/shahand/workspace/sample/build/schema/examples/MathService_instance/Math.wsdl'.
[java] Retrieving document at '../../wsrf/properties/rpw-2.wsdl',
relative to
'file:/home/shahand/workspace/sample/build/schema/examples/MathService_instance/Math.wsdl'.
[java] Retrieving document at '../resource/rw-2.wsdl', relative to
'file:/home/shahand/workspace/sample/build/schema/wsrf/properties/rpw-2.wsdl'.
[java] Generated
/home/shahand/workspace/sample/build/schema/examples/MathService_instance/Math_flattened.wsdl
generateBindings:
bindingUptodate:
generateBinding:
[echo] Generating bindings for Math_flattened.wsdl
[java] Error generating WSDL binding: Failed to add operation to
binding
BUILD FAILED
/home/shahand/workspace/sample/build.xml:253: The following error occurred
while executing this line:
/state/partition1/shahand/globus-4.2.0.1/share/globus_wsrf_tools/build-stubs.xml:197:
Java returned: 2
Total time: 4 seconds
========================================
2008/9/26 Tom Howe <[EMAIL PROTECTED]>
> Does the flatten task give any warnings, per chance?
>
> -Tom
>
> On Thu, Sep 25, 2008 at 8:31 PM, Shayan Shahand <[EMAIL PROTECTED]> wrote:
>
>> Hi,
>>
>> Still could not figure out what the problem is, I'm attaching the
>> flattened WSDL file.
>> However, sounds like when the Gar builder reports "Generate Bindings" it
>> does not actually generate binding becuase the Math_binding.wsdl is empty.
>> What's your opinion about it?
>> Is there any tested example web service for GT 4.2.0?
>> Thanks in advance
>>
>> Regards,
>> Shayan
>>
>> 2008/9/25 Shayan Shahand <[EMAIL PROTECTED]>
>>
>> Dear all,
>>>
>>> I'm trying to generate and deploy GT tutorial web service (a.k.a. the
>>> Math service) on GT 4.2.0 in order to test migration process for own my web
>>> services before touching them.
>>> I used this document [
>>> http://www.globus.org/toolkit/docs/4.2/4.2.0/common/javawscore/mig/javawscore-migrating-GT4.html]
>>> to change namespaces, and the resulted WSDL file is attached, but
>>> unfortunately I faced the following error while executing
>>> globus-build-service.sh script.
>>>
>>> ================
>>> generateBinding:
>>> [echo] Generating bindings for Math_flattened.wsdl
>>> [java] Error generating WSDL binding: Failed to add operation to
>>> binding
>>>
>>> BUILD FAILED
>>> /home/shahand/workspace/ sample/build.xml:253: The following error
>>> occurred while executing this line:
>>> /state/partition1/shahand/globus-4.2.0.1/share/globus_wsrf_tools/build-stubs.xml:197:
>>> Java returned:2
>>> ===============
>>>
>>> I really appreciate if you could help me finding the problem. Please let
>>> me know if you need any more information. Thanks in advance.
>>>
>>> Regards,
>>> Shayan
>>>
>>
>>
>