[aerogear-dev] [Pipe] Wrapped Response

Tiago Resende tiagor87 at gmail.com
Thu Mar 6 12:57:58 EST 2014


When a response is wrapped, it comes encapsulated, just like this:

- <MethodName>Response
    <RealResponse>



On Thursday, March 6, 2014, Daniel Passos <daniel at passos.me> wrote:

> Hi Tiago,
>
> I not sure what you mean about wrapper. But, if you JSON is not equals to
> your model you can annotate your model using
> @SerializedName("name_of_your_json_property")
>
> Please, gist[1] your Android model and your JSON
>
> [1] https://gist.github.com/
>
> -- Passos
>
>
> On Thu, Mar 6, 2014 at 1:37 PM, Tiago Resende <tiagor87 at gmail.com<javascript:_e(%7B%7D,'cvml','tiagor87 at gmail.com');>
> > wrote:
>
>> Hi guys, My name is Tiago, I am an old Daniel Passos's student from
>> Brazil.
>>
>> I'm new here and have a lot of noob questions, so, take it easy and
>> forgive my english.
>>
>> I am trying to integrate AG for Android to a WCF Service on .Net C#, but
>> all service responses are configured as Wrapped, so AG isn't working
>> properly.
>>
>> I just wanna know... Should I create Wrapped objects for every endpoint,
>> or is there another method to do it, some work around?
>>
>> Thanks everyone.
>>
>> --
>> *Tiago de Carvalho Resende*
>> Desenvolvedor
>>
>> "O importante não é saber fazer,
>>
>> é saber de onde copiar."
>>
>> por Bernardo Esbérard
>>
>>
>>
>> _______________________________________________
>> aerogear-dev mailing list
>> aerogear-dev at lists.jboss.org<javascript:_e(%7B%7D,'cvml','aerogear-dev at lists.jboss.org');>
>> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>
>
>

-- 
*Tiago de Carvalho Resende*
Desenvolvedor

"O importante não é saber fazer,

é saber de onde copiar."

por Bernardo Esbérard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20140306/f91f582d/attachment.html 


More information about the aerogear-dev mailing list