Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » [new AC] Hox to process command with a body from Java ?
[new AC] Hox to process command with a body from Java ? [message #116125] Mon, 22 October 2007 09:33
Eclipse UserFriend
Originally posted by: mlafon.arcadsoftware.removethis.com

Hi all,

I try to build an Agent, in Java, with the new AC API. If I send a
command with a body from a client, something like :

<cmd src="..." dest="..." ctxt="..">
<mycmd iid="myinterface">
<someXMLBODY>blablabla</someXMLBODY>
</mycmd>
</cmd>

Then my java agent proceed to the command "mycmd" but the
getCommandData() return an empty string !!! My question is, how can I
pass some command's parameter to an agent ?

(If the agent send a command with a body then the client receive it with
full body !)

I'm using tptp 4.4.0.3, under windows and Linux (Debian).


If I take a look to source code of the JavaBaseAgent library (with cvs),
I can see that the function processCmdCallBkWCtxt (in BaseAgentJNI.cpp)
does not set the command body (via setCommand method). So, I think,
it's missing something, somewhere !


My entreprise have plan to build agents on top of TPTP. Can someone tell
me if the new API is stable enough to production stage ? and, if not,
when will it be ? in 4.4.1, 4.5 ?

thx

Marc.



PS: Sorry for my bad english... this is monday morning !
Previous Topic:Problems with Integrated Agent Controller
Next Topic:Profiling a JUnit 4 test fails with NoClassDefFoundError CbeProbe_probe$Probe_0
Goto Forum:
  


Current Time: Sun Nov 23 01:20:51 GMT 2014

Powered by FUDForum. Page generated in 0.01502 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software