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 14:55:05 UTC

[jira] Created: (AXIS2-2190) binaray data is returned by value not by reference from web service server

binaray data is returned by value not by reference from web service server
--------------------------------------------------------------------------

                 Key: AXIS2-2190
                 URL: https://issues.apache.org/jira/browse/AXIS2-2190
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
    Affects Versions: 1.1.1
         Environment: windows 2000
axis2-1.1.1
tomcat
            Reporter: donald yang
         Attachments: axis2.xml, TestService.java, TransResp.java

When web service returns an attachment to web service client, the attachment is sent back by value not by reference even if I have enabled MTOM in the axis2.xml. I am attachming the source codes for the web service.

-- 
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-2190) binaray data is returned by value not by reference from web service server

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

donald yang updated AXIS2-2190:
-------------------------------

    Description: When web service returns an attachment to web service client, the attachment is sent back by value not by reference even if I have enabled MTOM in the axis2.xml. I am attachming the source codes for the web service. However if the return data type is just a simple data type, OMElement, the binary is returned by reference not by value. It seems that the attachment variable is a member variable of return complex data structure, AXIS2 can not send the binary data by reference.  (was: When web service returns an attachment to web service client, the attachment is sent back by value not by reference even if I have enabled MTOM in the axis2.xml. I am attachming the source codes for the web service.)

> binaray data is returned by value not by reference from web service server
> --------------------------------------------------------------------------
>
>                 Key: AXIS2-2190
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2190
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.1.1
>         Environment: windows 2000
> axis2-1.1.1
> tomcat
>            Reporter: donald yang
>         Attachments: axis2.xml, ComputeResp.java, Request.java, SOAP message for transfer method.txt, TestService.java, TransResp.java
>
>
> When web service returns an attachment to web service client, the attachment is sent back by value not by reference even if I have enabled MTOM in the axis2.xml. I am attachming the source codes for the web service. However if the return data type is just a simple data type, OMElement, the binary is returned by reference not by value. It seems that the attachment variable is a member variable of return complex data structure, AXIS2 can not send the binary data by reference.

-- 
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-2190) binaray data is returned by value not by reference from web service server

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

donald yang updated AXIS2-2190:
-------------------------------

    Description: 
When web service returns a complex data structure, which has a binary data variable member, to web service client, the attachment is sent back by value not by reference even if I have enabled MTOM in the axis2.xml. I am attachming the source codes for the web service. 

However if the return data type is just a binary data alone, OMElement, the binary data is returned by reference not by value. 

It seems that AXIS2 can not deal with the complex data structure properly if the complex data structure has a binaray data member.

  was:When web service returns an attachment to web service client, the attachment is sent back by value not by reference even if I have enabled MTOM in the axis2.xml. I am attachming the source codes for the web service. However if the return data type is just a simple data type, OMElement, the binary is returned by reference not by value. It seems that the attachment variable is a member variable of return complex data structure, AXIS2 can not send the binary data by reference.


> binaray data is returned by value not by reference from web service server
> --------------------------------------------------------------------------
>
>                 Key: AXIS2-2190
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2190
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.1.1
>         Environment: windows 2000
> axis2-1.1.1
> tomcat
>            Reporter: donald yang
>         Attachments: axis2.xml, ComputeResp.java, Request.java, SOAP message for transfer method.txt, TestService.java, TransResp.java
>
>
> When web service returns a complex data structure, which has a binary data variable member, to web service client, the attachment is sent back by value not by reference even if I have enabled MTOM in the axis2.xml. I am attachming the source codes for the web service. 
> However if the return data type is just a binary data alone, OMElement, the binary data is returned by reference not by value. 
> It seems that AXIS2 can not deal with the complex data structure properly if the complex data structure has a binaray data member.

-- 
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-2190) binaray data is returned by value not by reference from web service server

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

Deepal Jayasinghe resolved AXIS2-2190.
--------------------------------------

    Resolution: Fixed

fixed in 1.2

> binaray data is returned by value not by reference from web service server
> --------------------------------------------------------------------------
>
>                 Key: AXIS2-2190
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2190
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.1.1
>         Environment: windows 2000
> axis2-1.1.1
> tomcat
>            Reporter: donald yang
>         Attachments: axis2.xml, ComputeResp.java, Request.java, SOAP message for transfer method.txt, TestService.java, TransResp.java
>
>
> When web service returns a complex data structure, which has a binary data variable member, to web service client, the attachment is sent back by value not by reference even if I have enabled MTOM in the axis2.xml. I am attachming the source codes for the web service. 
> However if the return data type is just a binary data alone, OMElement, the binary data is returned by reference not by value. 
> It seems that AXIS2 can not deal with the complex data structure properly if the complex data structure has a binaray data member.

-- 
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-2190) binaray data is returned by value not by reference from web service server

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

donald yang updated AXIS2-2190:
-------------------------------

    Attachment: SOAP message for transfer method.txt

> binaray data is returned by value not by reference from web service server
> --------------------------------------------------------------------------
>
>                 Key: AXIS2-2190
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2190
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.1.1
>         Environment: windows 2000
> axis2-1.1.1
> tomcat
>            Reporter: donald yang
>         Attachments: axis2.xml, ComputeResp.java, Request.java, SOAP message for transfer method.txt, TestService.java, TransResp.java
>
>
> When web service returns an attachment to web service client, the attachment is sent back by value not by reference even if I have enabled MTOM in the axis2.xml. I am attachming the source codes for the web service.

-- 
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-2190) binaray data is returned by value not by reference from web service server

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

donald yang updated AXIS2-2190:
-------------------------------

    Attachment: ComputeResp.java
                Request.java

> binaray data is returned by value not by reference from web service server
> --------------------------------------------------------------------------
>
>                 Key: AXIS2-2190
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2190
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.1.1
>         Environment: windows 2000
> axis2-1.1.1
> tomcat
>            Reporter: donald yang
>         Attachments: axis2.xml, ComputeResp.java, Request.java, TestService.java, TransResp.java
>
>
> When web service returns an attachment to web service client, the attachment is sent back by value not by reference even if I have enabled MTOM in the axis2.xml. I am attachming the source codes for the web service.

-- 
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-2190) binaray data is returned by value not by reference from web service server

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

donald yang updated AXIS2-2190:
-------------------------------

    Attachment: TransResp.java
                TestService.java
                axis2.xml

> binaray data is returned by value not by reference from web service server
> --------------------------------------------------------------------------
>
>                 Key: AXIS2-2190
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2190
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.1.1
>         Environment: windows 2000
> axis2-1.1.1
> tomcat
>            Reporter: donald yang
>         Attachments: axis2.xml, TestService.java, TransResp.java
>
>
> When web service returns an attachment to web service client, the attachment is sent back by value not by reference even if I have enabled MTOM in the axis2.xml. I am attachming the source codes for the web service.

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