Can't Parse Arrays results in malformed XML ([0,unbounded]) - Using Doc-Literal
Wrapped
---------------------------------------------------------------------------------------
Key: AXIS-2716
URL: https://issues.apache.org/jira/browse/AXIS-2716
Project: Axis
Issue Type: Bug
Components: Serialization/Deserialization
Affects Versions: 1.2RC3, 1.3, 1.4
Environment: Tomcat 5.5, Sun JDK 1.5.06 on Windows XP
Reporter: jzwang
Priority: Critical
Step-By-Step Instructions:
1. Deploy the sample object to tomcat
2. Using Axis1.x expose the component as a web service, Binding style=
wrapped, Use = literal
3. Get the WS client
4. Run the sample WS client, error message displayed
The case can ref to bug2454.
My fix:
org\apache\axis\utils\FieldPropertyDescriptor.java
public Class getType() {
if (isIndexed()) {
if (
field.getType().getComponentType().getName().equalsIgnoreCase("byte"))
{
return field.getType();
}
// END WST CHANGE
return field.getType().getComponentType();
} else {
return field.getType();
}
}
===>
public Class getType() {
return field.getType();
}
The case can pass.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]