Actually, I am beginning to think it is something else that is causing
it. Will add some debugging statements to the Axis source and get back
to you.


On Thu, 2002-04-11 at 23:12, Russell Butek wrote:
> Could we see more of this reasonably simple WSDL file?  We've got at least
> one test (I think more) that tests XML imports and they work, so you
> obviously have something that we don't.
> 
> Russell Butek
> [EMAIL PROTECTED]
> 
> 
> Chris Burnley <[EMAIL PROTECTED]> on 04/11/2002 01:31:51 AM
> 
> Please respond to [EMAIL PROTECTED]
> 
> To:    [EMAIL PROTECTED]
> cc:
> Subject:    Nullpointer exception when importing schemas
> 
> 
> 
> 
> I get the following when running WSDL2Java on a reasonably simple wsdl
> file.
> 
> 
> java.lang.NullPointerException
>         at java.net.URL.<init>(URL.java:294)
>         at java.net.URL.<init>(URL.java:224)
>         at java.net.URL.<init>(URL.java:243)
>         at org.apache.axis.wsdl.toJava.SymbolTable.getURL(Unknown
> Source)
>         at org.apache.axis.wsdl.toJava.SymbolTable.populate(Unknown
> Source)
>         at org.apache.axis.wsdl.toJava.SymbolTable.add(Unknown Source)
>         at org.apache.axis.wsdl.toJava.Emitter.emit(Unknown Source)
>         at org.apache.axis.wsdl.toJava.Emitter.emit(Unknown Source)
>         at org.apache.axis.wsdl.WSDL2Java$WSDLRunnable.run(Unknown
> Source)
>         at java.lang.Thread.run(Thread.java:484)
> 
> 
> My wsdl looks something like this:
> 
> <definitions name="Name">
> ...
>         <import namespace="http://www.xyz.com/schema/Foo";
>                 schemaLocation="Foo.xsd"/>
> ...
> </definitions>
> 
> 
> Any ideas?
> 
> 
> 


Reply via email to