Subject: Component Problem
Hi,
I'm trying to send/recieve custom packets as described in tutorial and have a problem on component side.
My component and client connects to server without any problem.
When I send weather packet to the component with Iq, it appears on component side but recieved packet type is not a weather!
I mean (query.GetType() == typeof(Weather)) returns false.
Anybody can help me?
I'm using followings to register weather object on both side.
Recived xml on component side is
I'm trying to send/recieve custom packets as described in tutorial and have a problem on component side.
My component and client connects to server without any problem.
When I send weather packet to the component with Iq, it appears on component side but recieved packet type is not a weather!
I mean (query.GetType() == typeof(Weather)) returns false.
Anybody can help me?
I'm using followings to register weather object on both side.
Recived xml on component side is
- <iq id="agsXMPP_5" type="get" to="weather.development" from="ali@development/e5867c94">
- <query xmlns="agsoftware:weather">
- <zip>74080</zip>
- </query>
- </iq>
This post was edited on 2014-11-21, 11:19 by Alex.