Having problems with IHMC CmapServer? Think you have found a bug? Let us know!
Forum rules
Before you post a problem or bug, please be sure you have included the version number of IHMC CmapServer, the operating system and version, the amount of RAM, and any other information that allows us to be able to replicate the problem you are having. (i.e. what were you doing when the problem occur? were you running another program (application) by the time you have the problem?)
Post Reply
Posts: 2
Joined: Mon Jun 14, 2010 12:41 pm


Post by crpolido » Mon Jun 14, 2010 12:56 pm

Dear All,

I'm trying to build a CmapWebService Client in java using AXIS and AXIOM. I'm far to be an expert. could you help me out with this issue?

I'm getting the following error:

"org.apache.axis2.AxisFault: us.ihmc.xml.XMLSimpleElement cannot be cast to us.ihmc.xml.namespaces.AccountList"

using the following code:

RPCServiceClient serviceClient = new RPCServiceClient(null, new URL(""),null,null);

Options options = serviceClient.getOptions();

EndpointReference targetEPR = new EndpointReference("");


QName methodName = new QName("account","getRootResourceMetaList");

Object[] args = new Object[] {"user","password"};

OMElement omElement = BeanUtil.getOMElement(methodName, args, null, false, null);

OMElement response = serviceClient.sendReceive(methodName,omElement);

String result = response.getFirstElement().getText();

Thank You,


Posts: 2
Joined: Mon Jun 14, 2010 12:41 pm

Re: CmapWebService

Post by crpolido » Thu Jun 24, 2010 11:10 am

Hello All,

Problem Solved. Tks. ;)

Site Admin
Posts: 683
Joined: Sat Dec 13, 2008 2:22 pm

Re: CmapWebService

Post by cmapadmin » Sat Jul 17, 2010 10:44 am

@ crpolido:

How did you solve it?


Post Reply