RE: FW: Problems with Axis generated Java beans from XSD

2004-01-26 Thread Carl . Ansley
Perhaps the problem (wrt Axis) is your complexType isn't named. Don't give it the opportunity to do something stupid :). Try pulling it out of saveBuildTaskObject, name it (e.g. saveBuildTaskType) and set the saveBuildTaskObject element to that type. Also, we do the message element->type ma

Re: FW: Problems with Axis generated Java beans from XSD

2004-01-26 Thread Carl . Ansley
I had a similar issue, although I'm not sure if this solution would be applicable to your XSD. I got rid of the bean classes prefixed with an "_" by moving the definition of fields (e.g. enumerations) out of my complex type definitions into the top level of the schema. e.g. changed this: