Your WSDL has a <wsdl:fault> element in binding section which doesn't
correspond to the one defined in portType section. After correcting
this error, I could run WSDL2Java without any issues. Here is the
corrected version of <wsdl:fault> inside binding section of your WSDL.
<wsdl:fault name="SaleError">
<soap:fault use="literal"
namespace="http://FaultMessageNamespace" name="SaleError"/>
</wsdl:fault>
-------------
- venkat
On 8/22/05, Arun Bhandari <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have attached my WSDL. Thanks for your response
>
> On 8/22/05, Venkat Reddy <[EMAIL PROTECTED]> wrote:
> > please post your WSDL.
> >
> > - venkat
> >
> > On 8/22/05, Arun Bhandari <[EMAIL PROTECTED]> wrote:
> > > I am using Apache Axis 1.2 with java jdk 1.5, Tomcat as my web container.
> > > I have ensured that all the Axis jars in my classpath.
> > >
> > > I am trying to generate a client stub using a WSDL, but I get the
> > > following error:
> > >
> > > ****************************************************************
> > > java.lang.NullPointerException
> > > at javax.wsdl.OperationType.equals(Unknown Source)
> > > at org.apache.axis.wsdl.toJava.JavaGeneratorFactory.constructSignat=
> > > ures(
> > > JavaGeneratorFactory.java:1393)
> > > at org.apache.axis.wsdl.toJava.JavaGeneratorFactory.generatorPass(J=
> > > avaGe
> > > neratorFactory.java:213)
> > > at org.apache.axis.wsdl.gen.Parser.generate(Parser.java:424)
> > > at org.apache.axis.wsdl.gen.Parser.access$000(Parser.java:44)
> > > at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361=
> > > )
> > > at java.lang.Thread.run(Unknown Source)
> > > ****************************************************************
> > > Any help will be appreciated.
> > >
> > > --
> > > Thanks & Regards,
> > >
> > > Arun Bhandari
> > >
> >
>
>
> --
> Thanks & Regards,
>
> Arun Bhandari
>
>
>