Just some suggestions.
Try moving the actionCode attribute above expressionLanguage attribute
in your xsd. To see if the error moves with the actionCode or now gets
displayed for expressionLanguage instead. I suspect you have found a bug
with Axis 1.4, and the use of multiple attributes in the same complex
type.
Next, try removing the use='required", just in case Axis doesn't handle
that.
Also, just to let you kow, the type attribute (type="xs:string") is
strictly not required for local and global attributes. (It's then
supposed to default to anySimpleType. I wonder how Axis will handle
that!)
Finally, try declaring a global attribute instead of a local attribute,
just to see if it gets you past this problem.
-jeff
_____
From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 15, 2007 1:36 PM
To: [email protected]
Subject: AxisFault issue, with java.lang.String
Hi
I searched google and axis forum, and saw many issues with
creating a wsdl file from axis published web site, is this a axis bug or
some work around for it,
I get error
Fault - Bean attribute actionCode is of type java.lang.String,
which is not a simple type
AxisFault
faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode:
faultString: Bean attribute actionCode is of type
java.lang.String, which is not a simple type
faultActor:
The definiation in xsd file is
<xs:element name="ActionExpression">
<xs:complexType>
<xs:attribute name="expressionLanguage" type="xs:string"
use="required"/>
<xs:attribute name="actionCode" type="xs:string"
use="required"/>
</xs:complexType>
</xs:element>
Is there a work around for it
I am using axis 1.4
Ashish