Your best bet here is to start small with something that you know works such as 
interopTest.wsdl 
and add one type at a time..literally start with 
<wsdl:definition>
 <schema ...>
  <complexType name="ThisWorksSoDontTouchIt">
          <element name="varString" type="string"/>
          <element name="varInt" type="int"/>
          <element name="varFloat" type="float"/>
  </complexType>
 </schema>
</wsdl:definition>
add 1 element of a xsd primitive such as string or int or float
get that working
construct ComplexType (ThisWorksSoDontTouchIt) and add that 1 ComplexType 
element in 
get that working
you see the pattern..

What you have now had so many errors that it could take days to verify all of 
the incorrect namespances or improperly specified or constructed complexTypes

HTH,
M-
--------------------------------------------------------------------------- 
This e-mail message (including attachments, if any) is intended for the use of 
the individual or entity to which it is addressed and may contain information 
that is privileged, proprietary , confidential and exempt from disclosure. If 
you are not the intended recipient, you are notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
--------------------------------------------------------------------------- 
Le présent message électronique (y compris les pièces qui y sont annexées, le 
cas échéant) s'adresse au destinataire indiqué et peut contenir des 
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
destinataire de ce document, nous vous signalons qu'il est strictement interdit 
de le diffuser, de le distribuer ou de le reproduire.
  ----- Original Message ----- 
  From: Peter 
  To: [email protected] 
  Sent: Sunday, December 17, 2006 7:56 PM
  Subject: problems with wsdl2java,need help!


  hallo all, I have a problem when using wsdl2java, it looks like following 

  D:\test>java org.apache.axis.wsdl.WSDL2Java province2.wsdl
  java.lang.NullPointerException
          at 
org.apache.axis.wsdl.toJava.JavaBeanWriter.preprocess(JavaBeanWriter.
  java:295)
          at org.apache.axis.wsdl.toJava.JavaBeanWriter 
<init>(JavaBeanWriter.java
  :160)
          at 
org.apache.axis.wsdl.toJava.JavaTypeWriter.getBeanWriter(JavaTypeWrit
  er.java:174)
          at 
org.apache.axis.wsdl.toJava.JavaTypeWriter.<init>(JavaTypeWriter.java 
  :89)
          at 
org.apache.axis.wsdl.toJava.JavaGeneratorFactory.getGenerator(JavaGen
  eratorFactory.java:318)
          at org.apache.axis.wsdl.gen.Parser.generateTypes(Parser.java:545)
          at org.apache.axis.wsdl.gen.Parser.generate (Parser.java:432)
          at org.apache.axis.wsdl.gen.Parser.access$000(Parser.java:45)
          at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:362)
          at java.lang.Thread.run(Unknown Source) 

  the wsdl file is in the attachment

  any idea about how to solve it !

  thank you very much 
   


------------------------------------------------------------------------------


  ---------------------------------------------------------------------
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to