You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Tom Jordahl <to...@macromedia.com> on 2004/01/08 22:40:55 UTC

RE: Class org.apache.axis.wsdl.toJava.JavaFaultWriter error?

I just submitted a fix for this.
Thanks!


--
Tom Jordahl
Macromedia Server Development

-----Original Message-----
From: Zhou Zhu (SH/RDC) [mailto:zhou.zhu@ericsson.com] 
Sent: Friday, December 26, 2003 4:32 AM
To: 'axis-dev@ws.apache.org'
Subject: Class org.apache.axis.wsdl.toJava.JavaFaultWriter error? 

Hi:
For the designer who is responsible for the class "
org.apache.axis.wsdl.toJava.JavaFaultWriter" :
When i use WSDL2Java compile my webservice wsdl, an null exception is
reported. 
After tracing the source code, i found in this class there is a private
variable named: faultName. Strangely this variable is not initialized in the
constructor like other private variable. I supporsed it should be
initialized in constructor function like: 

this.literal=faultInfo.getUse();
this.faultMessage=faultInfo.getMessage();
this.faultName=faultInfo.getName();  (omitted)
this.symbolTable=symbolTable;
..

Does any one regard it as a bug or i missed something? 

Thank you in advance.

B.Rs
/zhu zhou