minimize response from RPCMessageReceiver
-----------------------------------------

                 Key: AXIS2-1598
                 URL: http://issues.apache.org/jira/browse/AXIS2-1598
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Improvement
          Components: rpc
         Environment: Axis2 1.1 RC2
            Reporter: Kinichiro Inoguchi


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 contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.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