Java client for IHMC CmapServer web services
Posted: Wed Oct 20, 2010 3:26 pm
Is there any Java example that access the web services provided by IHMC CmapServer? I'm trying to use them, without success (BTW, I'm using IHMC CmapServer 5.04, 64 bits).
I'm developing a client for the IHMC CmapServer instance I installed in my machine (http://www.ironiacorp.com:8088/). The .Net client (the one available at http://cmap.ihmc.us/xml/CmapWSClientTutorial.html) worked just fine. However, every Java client that I try to build does not work. I've tried either Eclipse (CXL) and Netbeans, with no success at all (they couldn't generate Java code using the WSDL). Both have shown an error regarding SimpleLiteral (and dcterms).
The error shown by Netbeans is:
Although I think such problem can be solved (as advertised by Netbeans), I haven't got enough experience using web services to implement it (may be latter).
After several tries, I managed to create a client using Eclipse and Axis2. However, I had no success beyond accessing the methods/services 'getRootResourceMeta' and 'getRootResourceMetaList' (and that using Eclipse's Web Service Explorer, my own code cannot accomplish even that). The source code of the class I created is available at http://pastebin.com/cRG89GCT
I'm developing a client for the IHMC CmapServer instance I installed in my machine (http://www.ironiacorp.com:8088/). The .Net client (the one available at http://cmap.ihmc.us/xml/CmapWSClientTutorial.html) worked just fine. However, every Java client that I try to build does not work. I've tried either Eclipse (CXL) and Netbeans, with no success at all (they couldn't generate Java code using the WSDL). Both have shown an error regarding SimpleLiteral (and dcterms).
The error shown by Netbeans is:
Although I think such problem can be solved (as advertised by Netbeans), I haven't got enough experience using web services to implement it (may be latter).
After several tries, I managed to create a client using Eclipse and Axis2. However, I had no success beyond accessing the methods/services 'getRootResourceMeta' and 'getRootResourceMetaList' (and that using Eclipse's Web Service Explorer, my own code cannot accomplish even that). The source code of the class I created is available at http://pastebin.com/cRG89GCT