You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "jzwang (JIRA)" <ax...@ws.apache.org> on 2008/01/07 10:39:34 UTC

[jira] Created: (AXIS-2716) Can't Parse Arrays results in malformed XML ([0,unbounded]) - Using Doc-Literal Wrapped

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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org