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 "donald yang (JIRA)" <ji...@apache.org> on 2007/03/30 17:36:25 UTC
[jira] Commented: (AXIS2-2192) AXIS2 can not correctly map byte[]
member variable to xml data type
[ https://issues.apache.org/jira/browse/AXIS2-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12485534 ]
donald yang commented on AXIS2-2192:
------------------------------------
When the byte[] variable is a member of complex data structure, AXIS2-1.2RC1 can map it to XML data type, base64Binary. But it maps the byte[] member variable to base64Binary[].
I have updated the source code of SchemaGenerator.java and what I have changed is to test if it is base64Binary before setting the max occurs. So I have changed the following statement
if(isArryType)
to
if (isArryType && (!propertyName.equals("base64Binary")))
at line 463.
Could you please check it and see if it is fine?
best regards
donald
> AXIS2 can not correctly map byte[] member variable to xml data type
> -------------------------------------------------------------------
>
> Key: AXIS2-2192
> URL: https://issues.apache.org/jira/browse/AXIS2-2192
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Reporter: donald yang
> Assigned To: Deepal Jayasinghe
> Attachments: ComplexTestCaseService.java, ComplexTestCaseService.wsdl
>
>
> If the byte[] variable is a member of complex data structure, AXIS2 map it to xml byte, not base64Binary. But the byte[] variable is not a member of complex data structure, AXIS2 map it to base64Binary. I am attaching the test case.
--
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