DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17439>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17439

WSDD causes deserialisation error ... not able to distribute the service!





------- Additional Comments From [EMAIL PROTECTED]  2003-02-28 07:05 -------
Java : J2SDK1.4.0
TOMCAT: 4.1.18
AXIS: 1.1 Release Candidate 1 Feb 7, 2002
Jboss: 
3.2

But the problem I got now with the WSDD is new and has nothing to do with the JBoss 
Server. 
What I'm developing right now is a standalone Service to test access to legacy systems 
etc.
I'm 
just right now started to write it to EJB's, to create a first 'Alpha' release of the 
final 
productive solution.
By the way, the WSDL2Java do also not properly create all classes with the 
needed setter- and getter-methods. A few classes have to be reworked manually, lke 
e.g. the 
ActionCodeType below (I added the body of the class). It is not a big problem, but you 
have to not 
forget to re-work the classes after you processed XSD with modified types. SO this bug 
to me is minor 
and I won't open it. But this info just in case you wonder why your generated classes 
looks 
different, it 
concerns:
ActionCodeType
AirTripType
FlightNumberType
FlightRefNumberType
PositionType
TravelerRefNumberType

my 
modified class:
 /**
 * ActionCodeType.java
 *
 * This file was auto-generated from WSDL
 * 
by the Apache Axis WSDL2Java emitter.
 */

package roland.ota.pnr;

public class 
ActionCodeType implements java.io.Serializable {
        private java.lang.String 
_value_;
        private static java.util.HashMap _table_ = new java.util.HashMap();

        // 
Constructor
        public ActionCodeType(java.lang.String value) {
                _value_ = 
value;
                _table_.put(_value_,this);
        };

        public static final java.lang.String _OK 
= "OK";
        public static final java.lang.String _Waitlist = "Waitlist";
        public static 
final java.lang.String _Other = "Other";
        public static final ActionCodeType OK = new 
ActionCodeType(_OK);
        public static final ActionCodeType Waitlist = new 
ActionCodeType(_Waitlist);
        public static final ActionCodeType Other = new 
ActionCodeType(_Other);
        public java.lang.String getValue() { return 
_value_;}
        public static ActionCodeType fromValue(java.lang.String value)
        throws 
java.lang.IllegalStateException {
                ActionCodeType enum = (ActionCodeType)
                                      
_table_.get(value);
                if (enum==null) throw new 
java.lang.IllegalStateException();
                return enum;
        }
        public static ActionCodeType 
fromString(java.lang.String value)
        throws java.lang.IllegalStateException 
{
                return fromValue(value);
        }
        public boolean equals(java.lang.Object obj) {return 
(obj == this);}
        public int hashCode() { return toString().hashCode();}
        public 
java.lang.String toString() { return _value_;}
        public java.lang.Object readResolve() 
throws java.io.ObjectStreamException { return fromValue(_value_);}
}

Reply via email to