Take a look at WSDL2.java, line 291.  It looks like it should return 1....

--Glen

> -----Original Message-----
> From: Matt Seibert [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 19, 2002 9:29 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [GUMP] Build Failure - Axis
> 
> 
> 
> 
> 
> 
> Okay, I need some help here:
> 
> wsdl2java sometimes fails to pull a file down from the 'net.  Today's
> problem is with xmethods.  The issue is that, althought 
> wsdl2java fails to
> get the wsdl, it DOESN'T stop the buil process....
> 
> Is there a way to tell wsdl2java to return "non 0" if there 
> is an error?
> 
> Matt Seibert                                           
> [EMAIL PROTECTED]
> IBM        External:    (512) 838-3656      Internal:   678-3656
> 
> 
>                                                               
>                                                                
>                       Sam                                     
>                                                                
>                       Ruby/Raleigh/IBM@        To:       
> [EMAIL PROTECTED]                                             
>                       IBMUS                    cc:            
>                                                                
>                                                Subject:  
> [GUMP] Build Failure - Axis                                         
>                       09/19/2002 06:52                        
>                                                                
>                       Please respond to                       
>                                                                
>                       axis-dev                                
>                                                                
>                                                               
>                                                                
> 
> 
> 
> ----------------------------------------------------
> This email is autogenerated from the output from:
> <http://jakarta.apache.org/builds/gump/2002-09-19/xml-axis.html>
> ----------------------------------------------------
> 
> Build results exceed maximum length.
> Please see URL above for details.
> Last 50 lines of build output follows.
> 
>      [java] Interop3GroupE.main:
>      [java]      [copy] Copying 10 files to
> /home/rubys/jakarta/xml-axis/java/build/work/test/wsdl/interop3/groupE
>      [java]     [javac] Compiling 5 source files to
> /home/rubys/jakarta/xml-axis/java/build/classes
>      [java]      [echo]
> /home/rubys/jakarta/xml-axis/java/test/wsdl/interop3/groupE/In
> teropTestDocLit
>  is rpc/enc and should be doc/lit
>      [java] [java2wsdl] Java2WSDL
> test.wsdl.interop3.groupE.InteropTestDocLit
>      [java] [java2wsdl] Java2WSDL
> test.wsdl.interop3.groupE.InteropTestRpcEnc
>      [java] [java2wsdl] Java2WSDL 
> test.wsdl.interop3.groupE.InteropTestList
>      [java] [wsdl2java] WSDL2Java
> /home/rubys/jakarta/xml-axis/java/build/work/test/wsdl/interop
> 3/groupE/InteropTestDocLit.wsdl
> 
>      [java] [wsdl2java] WSDL2Java
> /home/rubys/jakarta/xml-axis/java/build/work/test/wsdl/interop
> 3/groupE/InteropTestRpcEnc.wsdl
> 
>      [java] [wsdl2java] WSDL2Java
> /home/rubys/jakarta/xml-axis/java/build/work/test/wsdl/interop
> 3/groupE/InteropTestList.wsdl
> 
>      [java]      [copy] Copying 4 files to
> /home/rubys/jakarta/xml-axis/java/build/work/test/wsdl/interop
> 3/groupE/client
> 
>      [java]     [javac] Compiling 21 source files to
> /home/rubys/jakarta/xml-axis/java/build/classes
>      [java]      [echo] end of InteropTestSuite.main
> 
>      [java] [wsdl2java] WSDL2Java
> http://services.xmethods.net/soap/urn:xmethods-delayed-quotes.wsdl
>      [java] [wsdl2java] WSDL2Java
> http://www.perfectxml.net/WebServices/SalesRankNPrice/BookServ
> ice.asmx?WSDL
>      [java] [wsdl2java] WSDL2Java
> /home/rubys/jakarta/xml-axis/java/samples/jaxrpc/hello/HelloWorld.wsdl
>      [java] HelloBindingImpl.java already exists, WSDL2Java will not
> overwrite it.
>      [java] [wsdl2java] WSDL2Java
> /home/rubys/jakarta/xml-axis/java/samples/jaxrpc/hello/HelloWorld.wsdl
>      [java] HelloBindingImpl.java already exists, WSDL2Java will not
> overwrite it.
>      [java] [wsdl2java] WSDL2Java
> /home/rubys/jakarta/xml-axis/java/test/wsdl/import3/MultiImpIn
> cl/wsdl/MultiImp.wsdl
> 
>      [java]      [copy] Copying 7 files to
> /home/rubys/jakarta/xml-axis/java/build/work/samples
>      [java]     [javac] Compiling 141 source files to
> /home/rubys/jakarta/xml-axis/java/build/classes
>      [java]   [foreach]
> /home/rubys/jakarta/xml-axis/java/build/work/samples/userguide
> /example6/Main.java:81:
>  exception java.rmi.RemoteException is never thrown in body of
> corresponding try statement
>      [java]   [foreach]         } catch 
> (java.rmi.RemoteException re) {
>      [java]   [foreach]           ^
>      [java]   [foreach]
> /home/rubys/jakarta/xml-axis/java/build/work/samples/userguide
> /example6/WidgetPriceSoapBindingImpl.java:66:
>  getWidgetPrice(java.lang.String) in
> samples.userguide.example6.WidgetPriceSoapBindingImpl cannot implement
> getWidgetPrice(java.lang.String) in 
> samples.userguide.example6.WidgetPrice;
> overridden method does not throw java.rmi.RemoteException
>      [java]   [foreach] public class 
> WidgetPriceSoapBindingImpl implements
> samples.userguide.example6.WidgetPrice {
>      [java]   [foreach]        ^
>      [java]   [foreach]
> /home/rubys/jakarta/xml-axis/java/build/work/samples/userguide
> /example6/WidgetPriceServiceLocator.java:62:
>  incompatible types
>      [java]   [foreach] found   :
> samples.userguide.example6.WidgetPriceSoapBindingStub
>      [java]   [foreach] required: java.rmi.Remote
>      [java]   [foreach]                 return _stub;
>      [java]   [foreach]                        ^
>      [java]   [foreach]
> /home/rubys/jakarta/xml-axis/java/build/work/samples/userguide
> /example6/WidgetPriceSoapBindingStub.java:10:
>  getWidgetPrice(java.lang.String) in
> samples.userguide.example6.WidgetPriceSoapBindingStub cannot implement
> getWidgetPrice(java.lang.String) in 
> samples.userguide.example6.WidgetPrice;
> overridden method does not throw java.rmi.RemoteException
>      [java]   [foreach] public class 
> WidgetPriceSoapBindingStub extends
> org.apache.axis.client.Stub implements
> samples.userguide.example6.WidgetPrice {
>      [java]   [foreach]        ^
>      [java]   [foreach]
> /home/rubys/jakarta/xml-axis/java/build/work/samples/userguide
> /example6/WidgetPriceSoapBindingSkeleton.java:10:
>  getWidgetPrice(java.lang.String) in
> samples.userguide.example6.WidgetPriceSoapBindingSkeleton 
> cannot implement
> getWidgetPrice(java.lang.String) in 
> samples.userguide.example6.WidgetPrice;
> overridden method does not throw java.rmi.RemoteException
>      [java]   [foreach] public class WidgetPriceSoapBindingSkeleton
> implements samples.userguide.example6.WidgetPrice,
> org.apache.axis.wsdl.Skeleton {
>      [java]   [foreach]        ^
>      [java]   [foreach] 5 errors
> 
>      [java] BUILD FAILED
>      [java]
> file:/home/rubys/jakarta/xml-axis/java/test/wsdl/interop/build
.xml:565:
Compile failed; see the compiler error output for details.

     [java] Total time: 1 minute 16 seconds

BUILD FAILED
file:xmls/targets.xml:6: Java returned: 1

Total time: 6 minutes 22 seconds

Reply via email to