axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <dava...@gmail.com>
Subject Re: 1.2RC2 wsdl2java generated setter method name change
Date Thu, 18 Nov 2004 13:28:29 GMT
Joe,

Can you please post a bug report with a stripped down WSDL which
recreates the problem?

thanks,
dims


On Wed, 17 Nov 2004 23:50:44 -0800, Joe Nall <joe@nall.com> wrote:
> This type (extracted from a large schema) generates a setter called
> setMessage1() in 1.2RC2 instead of setMessage() (1.2b, 1.1).
> Intentional or bug?
> 
> joe
> 
>    <xs:complexType name="ErrorType">
>      <xs:annotation>
>        <xs:documentation>Represents an error in both human and computer
> readable formats.</xs:documentation>
>      </xs:annotation>
>      <xs:sequence>
>        <xs:element name="message" type="xs:string" nillable="false">
>          <xs:annotation>
>            <xs:documentation>Human readable text describing the error
> condition.</xs:documentation>
>          </xs:annotation>
>        </xs:element>
>        <xs:element name="errorCode" type="xs:string" nillable="true"
> minOccurs="0">
>          <xs:annotation>
>            <xs:documentation>Provider specific error
> code.</xs:documentation>
>          </xs:annotation>
>        </xs:element>
>        <xs:element name="stackDump" type="ifis:TraceType"
> nillable="true" minOccurs="0">
>          <xs:annotation>
>            <xs:documentation>Execution stack trace.</xs:documentation>
>          </xs:annotation>
>        </xs:element>
>      </xs:sequence>
>    </xs:complexType>
> 
> /**
>   * Represents an error in both human and computer readable formats.
>   */
> public class ErrorType  extends org.apache.axis.AxisFault  implements
> java.io.Serializable {
>      /** Human readable text describing the error condition. */
>      private java.lang.String message1;
>      /** Provider specific error code. */
>      private java.lang.String errorCode;
>      /** Execution stack trace. */
>      private mil.dod.sws.TraceType stackDump;
> 
>      public ErrorType() {
>      }
> 
>      public ErrorType(
>             java.lang.String message1,
>             java.lang.String errorCode,
>             mil.dod.sws.TraceType stackDump) {
>          this.message1 = message1;
>          this.errorCode = errorCode;
>          this.stackDump = stackDump;
>      }
> 
>      /**
>       * Gets the message1 value for this ErrorType.
>       *
>       * @return message1 Human readable text describing the error
> condition.
>       */
>      public java.lang.String getMessage1() {
>          return message1;
>      }
> 
>      /**
>       * Sets the message1 value for this ErrorType.
>       *
>       * @param message1 Human readable text describing the error
> condition.
>       */
>      public void setMessage1(java.lang.String message1) {
>          this.message1 = message1;
>      }
> 
> 


-- 
Davanum Srinivas - http://webservices.apache.org/~dims/

Mime
View raw message