[aerogear-dev] [Pipe] Wrapped Response

Daniel Passos daniel at passos.me
Thu Mar 6 13:14:53 EST 2014


Well, It's not a valid JSON

-- Passos


On Thu, Mar 6, 2014 at 2:57 PM, Tiago Resende <tiagor87 at gmail.com> wrote:

> 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> 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
>>> 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
>
>
>
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20140306/9a7f4f1a/attachment-0001.html 


More information about the aerogear-dev mailing list