[ 
https://issues.apache.org/jira/browse/AXIS2-3416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13186147#comment-13186147
 ] 

Sagara Gunathunga  commented on AXIS2-3416:
-------------------------------------------

This is fixed in all latest releases try to use Axis2 1.5.6 or Axis2 1.6.1  
                
> CLONE -minimize response from RPCMessageReceiver
> ------------------------------------------------
>
>                 Key: AXIS2-3416
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3416
>             Project: Axis2
>          Issue Type: Improvement
>          Components: rpc
>         Environment: Axis2 1.3
>            Reporter: Howard Points
>            Assignee: Deepal Jayasinghe
>
> Is there any way to minimize SOAP response 
> from RPCMessageReceiver ?
> With my sample aar, I can receive this response.
> Each element has namespace definition.
> <ns:sayHelloResponse xmlns:ns="http://ws.aaa.bbb/types";>
>   <ns:return>
>     <ret1 xmlns="http://test/xsd";>xyz</ret1>
>     <ret2 xmlns="http://test/xsd";>123</ret2>
>     <ret3 xmlns="http://test/xsd";>99999</ret3>
>     <ret4 xmlns="http://test/xsd";>123.456</ret4>
>     <ret5 xmlns="http://test/xsd";>4.0</ret5>
>     <ret6 xmlns="http://test/xsd";>789</ret6>
>     <ret7 xmlns="http://test/xsd";>true</ret7>
>   </ns:return>
>   <ns:return>
>     <ret1 xmlns="http://test/xsd";>xyzxyz</ret1>
>     <ret2 xmlns="http://test/xsd";>246</ret2>
>     <ret3 xmlns="http://test/xsd";>199998</ret3>
>     <ret4 xmlns="http://test/xsd";>246.912</ret4>
>     <ret5 xmlns="http://test/xsd";>8.0</ret5>
>     <ret6 xmlns="http://test/xsd";>789</ret6>
>     <ret7 xmlns="http://test/xsd";>true</ret7>
>   </ns:return>
> </ns:sayHelloResponse>
> This response is correct, but little bit heavy.
> I think response like below is enough.
> <ns:sayHelloResponse xmlns:ns="http://ws.aaa.bbb/types"; 
> xmlns:ns1="http://test/xsd";>
>   <ns:return>
>     <ns1:ret1>xyz</ns1:ret1>
>     <ns1:ret2>123</ns1:ret2>
>     <ns1:ret3>99999</ns1:ret3>
>     <ns1:ret4>123.456</ns1:ret4>
>     <ns1:ret5>4.0</ns1:ret5>
>     <ns1:ret6>789</ns1:ret6>
>     <ns1:ret7>true</ns1:ret7>
>   </ns:return>
>   <ns:return>
>     <ns1:ret1>xyzxyz</ns1:ret1>
>     <ns1:ret2>246</ns1:ret2>
>     <ns1:ret3>199998</ns1:ret3>
>     <ns1:ret4>246.912</ns1:ret4>
>     <ns1:ret5>8.0</ns1:ret5>
>     <ns1:ret6>789</ns1:ret6>
>     <ns1:ret7>true</ns1:ret7>
>   </ns:return>
> </ns:sayHelloResponse>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to