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/02/15 16:29:05 UTC

[jira] Created: (AXIS2-2192) AXIS2 can not correctly map byte[] member variable to xml data type

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


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 attachment 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


[jira] Updated: (AXIS2-2192) AXIS2 can not correctly map byte[] member variable to xml data type

Posted by "donald yang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

donald yang updated AXIS2-2192:
-------------------------------

    Attachment: SchemaGenerator.java

> 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, SchemaGenerator.java
>
>
> 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


[jira] Resolved: (AXIS2-2192) AXIS2 can not correctly map byte[] member variable to xml data type

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe resolved AXIS2-2192.
--------------------------------------

    Resolution: Fixed

fixed the issue in current svn code base

> 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


[jira] Updated: (AXIS2-2192) AXIS2 can not correctly map byte[] member variable to xml data type

Posted by "donald yang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

donald yang updated AXIS2-2192:
-------------------------------

    Description: 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.  (was: 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 attachment the test case.)

> 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
>
> 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


[jira] Commented: (AXIS2-2192) AXIS2 can not correctly map byte[] member variable to xml data type

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12486224 ] 

Deepal Jayasinghe commented on AXIS2-2192:
------------------------------------------

I will do the changes.

Thanks
Deepal

> 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, SchemaGenerator.java
>
>
> 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


[jira] Updated: (AXIS2-2192) AXIS2 can not correctly map byte[] member variable to xml data type

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas updated AXIS2-2192:
------------------------------------

    Assignee: Deepal Jayasinghe

> 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


[jira] Commented: (AXIS2-2192) AXIS2 can not correctly map byte[] member variable to xml data type

Posted by "donald yang (JIRA)" <ji...@apache.org>.
    [ 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


[jira] Updated: (AXIS2-2192) AXIS2 can not correctly map byte[] member variable to xml data type

Posted by "donald yang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

donald yang updated AXIS2-2192:
-------------------------------

    Attachment: ComplexTestCaseService.wsdl
                ComplexTestCaseService.java

> 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
>         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