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 "Andreas Veithen (JIRA)" <ji...@apache.org> on 2010/07/11 12:34:49 UTC

[jira] Moved: (AXIS2-4768) Mtom optimization doesn't work when using simple bean

     [ https://issues.apache.org/jira/browse/AXIS2-4768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen moved WSCOMMONS-551 to AXIS2-4768:
--------------------------------------------------

              Project: Axis2  (was: WS-Commons)
                  Key: AXIS2-4768  (was: WSCOMMONS-551)
    Affects Version/s:     (was: Axiom 1.2.9)
          Component/s: adb
                           (was: AXIOM)

> Mtom optimization doesn't work when using simple bean
> -----------------------------------------------------
>
>                 Key: AXIS2-4768
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4768
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb
>         Environment: Tomcat 6.0.28 - axis2 1.5.1 - axiom 1.2.9
>            Reporter: Giambattista Pisasale
>         Attachments: prova-0.1.aar
>
>
> Tested with Linux and Windows, 32 and 64 bit, with Java 6 sun. Using soapUi, java client or c# wse3.0 client.
> Hello 
> I tested a simple axis2 1.5.1 service using axiom 1.2.9 libs downloaded from here: http://repository.apache.org/snapshots/org/apache/ws/commons/axiom/
> with a simple method like this:
> Document getDocument(String id)
> The class Document contains two fields:
>   String uuid  
>   DataHandler fileContent 
> Mtom optimization doesn't work calling the service method, the file content is printed inline and not as an attachment/xop included
> Same service AAR work with axiom 1.2.8
> Result:
> <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
>    <soapenv:Body>
>       <ns:getDocumentResponse xmlns:ns="http://www.wso2.org/types">
>          <return xsi:type="ax2282:Document" xmlns:ax2282="http://dao.dlsvc.webscience.it/xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>             <UUID>uuidprova</UUID>
>             <fileContent>/9j/4A..........................</fileContent>
>          </return>
>       </ns:getDocumentResponse>
>    </soapenv:Body>
> </soapenv:Envelope>
> I think this is a regression.
> thanks
> regards

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