[
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]