axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kinichiro Inoguchi (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-1598) minimize response from RPCMessageReceiver
Date Fri, 03 Nov 2006 15:07:17 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-1598?page=all ]

Kinichiro Inoguchi updated AXIS2-1598:
--------------------------------------

    Attachment: WsdlTest2.aar

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


Mime
View raw message