axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajith Ranabahu" <ajith.ranab...@gmail.com>
Subject Re: Is this possible? (Axis2+Flex2)
Date Thu, 08 Mar 2007 23:44:00 GMT
Well you can write a doc/lit service and specify the schema you want

Ajith

On 3/8/07, jzs11 <jingzhe.shan@gmail.com> wrote:
>
> Because some reserved word issue with Flex2 I need modify the axis2 response
> message's style.
>
> ----------------------------------------------Original
> Response-----------------------------------------------------
> <ns:getWeatherResponse
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:ns="http://service.pojo.sample/xsd">
> <ns:return>
>         <forecast xmlns="http://data.pojo.sample/xsd">windy</forecast>
>         <howMuchRain xmlns="http://data.pojo.sample/xsd">10.0</howMuchRain>
>         <rain xmlns="http://data.pojo.sample/xsd">true</rain>
>         <temperature xmlns="http://data.pojo.sample/xsd">10.0</temperature>
> </ns:return>
> </ns:getWeatherResponse>
>
> ----------------------------------------------I need to
> achieve------------------------------------------------------
> <ns:getWeatherResponse
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:ns="http://service.pojo.sample/xsd">
> <ns:returnResp>
>         <forecast xmlns="http://data.pojo.sample/xsd">windy</forecast>
>         <howMuchRain xmlns="http://data.pojo.sample/xsd">10.0</howMuchRain>
>         <rain xmlns="http://data.pojo.sample/xsd">true</rain>
>         <temperature xmlns="http://data.pojo.sample/xsd">10.0</temperature>
> </ns:returnResp>
> </ns:getWeatherResponse>
> -------------------------------------------------------------------------------------------------------------------------
> Change <ns:return> to <ns:returnResp>
> Is this possible?
> --
> View this message in context: http://www.nabble.com/Is-this-possible--%28Axis2%2BFlex2%29-tf3371444.html#a9381529
> Sent from the Axis - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Ajith Ranabahu

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message