One more thing that broke when I moved from 2.1 to 2.1.1. In 2.1 enumerated types based on strings were just treated as ordinary strings. In 2.1.1 a class was created (by wsdl2java) for each enumerated type and the values were checked. So far, an improvement. But when the type is put in or out of a message (using ADB binding) the OMElement classes reject it.

For example resStatus is a return parameter which can hold a few string values. It is part of a CreateReservationResponse but when axis goes to return it I get.

Nov 29, 2006 6:54:02 PM org.apache.axiom.om.impl.llom.OMSourcedElementImpl forceExpand SEVERE: forceExpand: expected element name cancelReservationResponse, found resStatus
Nov 29, 2006 6:54:02 PM org.apache.axis2.transport.http.AxisServlet doPost
SEVERE: java.lang.ExceptionInInitializerError

My Skeleton class is returning a CreateReservationClass which contains a ResStatus class instance which has been set to "CANCELLED" using the fromString("CANCELLED") method.

This happens both in axis2 1.1 and 1.1.1 Nov 29.

Any suggestions or enlightenment would be appreciated.

Mary

---------------------------------------------------------------------
Mary R. Thompson                                <[EMAIL PROTECTED]>
Secure Grid Technologies Group                  (510) 486-7408
Lawrence Berkeley National Lab                  http://dsd.lbl.gov/~mrt
----------------------------------------------------------------------

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

Reply via email to