Hi Tom, thanks for the suggestion.  I set the timeout to -1 and it worked.  

I guess it needed more that 45seconds to finish processing the wsdl.

Bill

* Tom Jordahl <[EMAIL PROTECTED]> [2002-12-06 10:39]:
> 
> Turn the timeout off (value 0 or -1) and see what happens.
> 
> --
> Tom Jordahl
> Macromedia Server Development
> 
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Friday, December 06, 2002 10:29 AM
> To: [EMAIL PROTECTED]
> Subject: WSDL is inaccessible
> 
> 
> Hello everyone, I am blocked by this one.  Using a new version of the mappoint.net 
>wsdl file and running the WSDL2java from within ant:
> 
> <target name='wsdl2java'>
>   <java classname='org.apache.axis.wsdl.WSDL2Java' fork='yes'>
>     <arg value='wsdl/mappoint.wsdl'/>
>     <classpath refid='axis.test.classpath'/>
>   </java>
> </target>
> 
> I receive this:
> 
> > [java] java.io.IOException: WSDL2Java emitter timed out (this often means the WSDL 
>at the specified URL is inaccessible)!                                    
> > [java]     at org.apache.axis.wsdl.gen.Parser.run(Parser.java:223)            
> > [java]     at org.apache.axis.wsdl.toJava.Emitter.run(Emitter.java:379)       
> > [java]     at org.apache.axis.wsdl.gen.WSDL2.run(WSDL2.java:284)              
> > [java]     at org.apache.axis.wsdl.WSDL2Java.main(WSDL2Java.java:297)
> 
> The wsdl file is in the same directory as the previous version.  I added a debug 
>line to the Parser.java to show the wsdlURI and it returns the directory and wsdl 
>file name correctly.
> 
> If I switch back to the previous version of the wsdl file, everything works.
> 
> Has anyone seen this, or can you tell me what is wrong?
> 
> I've tried the build on Linux and Windows and still get the same result.
> 
> Thanks,
> Bill

Reply via email to