WSDL2Java NullPointerException populateService

2007-11-12 Thread Roman Sch�nbichler
Hey Guys! I'm stuck here trying to generate code out of my hand made wsdl file. wsdl2java throws an exception: [ERROR] NullPointerException at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateServic e(WSDL11ToAxisServiceBuilder.java:246) The wsdl file looks like this:

Re: axis wsdl2java nullPointerException

2007-11-12 Thread samanth marisetty
: samanth marisetty [mailto:[EMAIL PROTECTED] Sent: Friday, November 09, 2007 11:38 AM To: axis-user@ws.apache.org Subject: axis wsdl2java nullPointerException Hi, When I use the axis wsdl2java tool I get this error.. java.lang.NullPointerException

Re: WSDL2Java NullPointerException populateService

2007-11-12 Thread Anne Thomas Manes
Roman, You shouldn't use wsdl:import to import an XSD file. Change this: wsdl:import namespace=http://webservice; location=../schemas/household.xsd / to this: wsdl:types xsd:schema targetNamespace=http://webservice;

Re: WSDL2Java NullPointerException populateService

2007-11-12 Thread Anne Thomas Manes
I also found a number of errors in your schema. 1. You need to declare a namespace for your targetNamespace. You have declared a default namespace (http://www.w3.org/2000/10/XMLSchema;), so any unqualified QNames refer to types in the schema namespace. E.g.: element name=Household

Re: WSDL2Java NullPointerException populateService

2007-11-12 Thread Roman Sch�nbichler
Thanks for your Help! I'm going to work that out and look for a validator! Original Message From: [EMAIL PROTECTED] To: axis-user@ws.apache.org Subject: Re: WSDL2Java NullPointerException populateService Date: Mon, 12 Nov 2007 15:55:22 -0500 I also found a number of errors in your

axis wsdl2java nullPointerException

2007-11-09 Thread samanth
-wsdl2java-nullPointerException-tf4778297.html#a13669011 Sent from the Axis - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

axis wsdl2java nullPointerException

2007-11-09 Thread samanth marisetty
Hi, When I use the axis wsdl2java tool I get this error.. java.lang.NullPointerException at org.apache.axis.wsdl.toJava.JavaBeanHelperWriter.getAsFieldName(JavaBeanHelperWriter.java:435) at

Re: axis wsdl2java nullPointerException

2007-11-09 Thread robert lazarski
Hmm, I thought we got rid of all those NPE's, its pretty much never acceptable. Can you validate your wsdl in one of the countless tools, eclipse's WST, xmlspy etc? HTH, Robert On Nov 9, 2007 11:37 AM, samanth marisetty [EMAIL PROTECTED] wrote: Hi, When I use the axis wsdl2java tool I get

Re: axis wsdl2java nullPointerException

2007-11-09 Thread robert lazarski
Ehh, you're using axis and not axis2 - my bad. My knowledge is very hazy on axis, but the validation suggestion still applies. Robert On Nov 9, 2007 11:40 AM, robert lazarski [EMAIL PROTECTED] wrote: Hmm, I thought we got rid of all those NPE's, its pretty much never acceptable. Can you

RE: axis wsdl2java nullPointerException

2007-11-09 Thread Walker, Jeff
the request and response parameters until you learn which piece of schema is probably causing your issue. -jeff -Original Message- From: samanth marisetty [mailto:[EMAIL PROTECTED] Sent: Friday, November 09, 2007 11:38 AM To: axis-user@ws.apache.org Subject: axis wsdl2java

Re: axis wsdl2java nullPointerException

2007-11-09 Thread samanth marisetty
learn which piece of schema is probably causing your issue. -jeff -Original Message- From: samanth marisetty [mailto:[EMAIL PROTECTED] Sent: Friday, November 09, 2007 11:38 AM To: axis-user@ws.apache.org Subject: axis wsdl2java nullPointerException Hi, When I use the axis

RE: axis wsdl2java nullPointerException

2007-11-09 Thread Walker, Jeff
you learn which piece of schema is probably causing your issue. -jeff -Original Message- From: samanth marisetty [mailto:[EMAIL PROTECTED] Sent: Friday, November 09, 2007 11:38 AM To: axis-user@ws.apache.org Subject: axis wsdl2java nullPointerException Hi, When I use the axis

[AXIS2-1.0] WSDL2Java: NullPointerException

2006-07-27 Thread Nirmit Desai
Hi, I am trying to generate code from the WSDL below, It throws the following exception: Exception in thread main org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.init(CodeGenerationEngine.java:94)

Re: [AXIS2-1.0] WSDL2Java: NullPointerException

2006-07-27 Thread Anne Thomas Manes
You have a typo in the binding: output name=requestForMembershipoResponse --- Also, you must remove all the namespace attributes in your soap:body definitions. they should simply be: soap:body use=literal/ You use the

Re: [AXIS2-1.0] WSDL2Java: NullPointerException

2006-07-27 Thread Nirmit Desai
cc 07/27/2006 12:44 PMSubject Re: [AXIS2-1.0] WSDL2Java: NullPointerException

Re: [AXIS2-1.0] WSDL2Java: NullPointerException

2006-07-27 Thread Anne Thomas Manes
Subject Re: [AXIS2-1.0] WSDL2Java: NullPointerException Please respond to [EMAIL PROTECTED] he.org You have a typo in the binding: output name

RE: [AXIS2-1.0] WSDL2Java: NullPointerException

2006-07-27 Thread Derek
PROTECTED] Sent: Thursday, July 27, 2006 9:44 AM To: axis-user@ws.apache.org Subject: Re: [AXIS2-1.0] WSDL2Java: NullPointerException You have a typo in the binding: output name=requestForMembershipoResponse --- Also

Re: [AXIS2-1.0] WSDL2Java: NullPointerException

2006-07-27 Thread Ajith Ranabahu
under any circumstances, so there is definitely a bug here. Please file a JIRA so that it gets fixed. Thanks. Derek -Original Message- From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Thursday, July 27, 2006 9:44 AM To: axis-user@ws.apache.org Subject: Re: [AXIS2-1.0] WSDL2Java

WSDL2Java NullPointerException (?)

2006-02-07 Thread Scott McCoy
With the attached documents, I attempt to use WSDL2Java to build some empty classes for me, however, I get this error:java.lang.NullPointerException at org.apache.axis.wsdl.symbolTable.SymbolTable.populateServices (SymbolTable.java:3069) at