Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.8.2
-
None
-
None
-
Axis2 1.8.2
Java 17.0.5+8-LTS
Description
Hi there,
I just did and upgrade from Axis2 1.6.2 to Axis2 1.8.2.
And unfortunately it looks like there's a new bug with the empty tags for enums and axis returns the following error:
processAxisFault() found a null HTTP status from the MessageContext instance, setting HttpServletResponse status to: axis2.http.response.state
wsdl definition:
<wsdl:message name="getUserEventRequest"> <wsdl:part name="userEventQuery" type="types:SomeEventFilter"></wsdl:part> </wsdl:message>
This is an example of the xsd:
<xs:complexType name="SomeEventFilter"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="1" name="userName" type="xs:string"/> <xs:element minOccurs="0" maxOccurs="1" name="eventType" type="SomeEvent"/> </xs:sequence> </xs:complexType> <xs:simpleType name="SomeEvent"> <xs:restriction base="xs:string"> <xs:enumeration value="ACTION1"/> <xs:enumeration value="ACTION2"/> <xs:enumeration value="ACTION3"/> </xs:restriction> </xs:simpleType>
And this is the response:
<soapenv:Fault> <faultcode>soapenv:Server</faultcode> <faultstring>unknown</faultstring> <detail/> </soapenv:Fault>
I know for sure that the same wsdl works on Axis2 1.6.2 because I already tested the same request and works fine.
If you have any insights on this issue, I'll appreciate!