Subject: Send query.
Hello everyone.
How I can send query width this xml for example:
<iq type='get'>
<query xmlns='...'>
<methodCall>
<methodName>getStopName</methodName>
<params>
<param><value><string>somestring</string></value></param>
<param><value><i4>3</i4></value></param>
</params>
</methodCall>
</query>
</iq>
I use the agsXMPP.protocol.client.IQ class:
IQ myIq=new IQ(IqType.get);
myIq.Query.SetTag("MethodCall");
//send this query
con.Send(myIq);
How paste other elements in <methodCall> element, such as <methodName>,<params>...?
How I can send query width this xml for example:
<iq type='get'>
<query xmlns='...'>
<methodCall>
<methodName>getStopName</methodName>
<params>
<param><value><string>somestring</string></value></param>
<param><value><i4>3</i4></value></param>
</params>
</methodCall>
</query>
</iq>
I use the agsXMPP.protocol.client.IQ class:
IQ myIq=new IQ(IqType.get);
myIq.Query.SetTag("MethodCall");
//send this query
con.Send(myIq);
How paste other elements in <methodCall> element, such as <methodName>,<params>...?