Re: [axis2-1.1.1] probems with enumerated types
I finally narrowed it down to an interaction with enumerated types and rampart.1.1-RC1. I have submitted a JIRA under the component "Modules" Mary Thompson Davanum Srinivas wrote: Mary, Please create an issue in JIRA and upload your wsdl and sample service/client. thanks, dims On 11/29/06, Mary Thompson <[EMAIL PROTECTED]> wrote: 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [axis2-1.1.1] probems with enumerated types
Mary, Please create an issue in JIRA and upload your wsdl and sample service/client. thanks, dims On 11/29/06, Mary Thompson <[EMAIL PROTECTED]> wrote: 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] -- Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[axis2-1.1.1] probems with enumerated types
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]