The title covers pretty much the problem..
Along the last months I've covered xCp, webtop customization and dfc..
Now I need to use DFS for some webservices and the thing is proving a chore.. But a chore at a VERY basic level..
I've downloaded via powerlink the development guide and successfully checked that the dfs are installed (to be on the safe side, I installed them as a separate deploying on tomcat so it ain't answering on 9080 method server but on 8080/emc-dfs/etcetc)..
I checked the preinstalled webservice and they are available on the application server, but....
I've tried working on my eclipse (3.6) with added composer dependancy&all, axis plugin and a few more plugin i usually use in development..
At first i tried to "improvise" following common sense..
1) Created a new dynamic web project
2) added an axis2 facet for the various library
3) added dfs library
4) saved the two wsdl from the remote location and added to the project
5) generated proxies via wdsl2java axis2 plugin (graphical interface, no command line) using default settings (adb binding)
6) now... before I add the proxies I get a missing import&unabletoretrieveclass error relative to the two stubs (stub for contextservice and schemaservice)... if i properly add the proxies I get a NICE error since during proxies generation I get a few class re-declared (like identity, and servicecontext, etc)..
Issue is: those generated class are either "messed up" with autogeneration or are messed up to begin with, since they redefine some methods..
for example serviceContext.getIdentities().add(identity); pre-proxy generation is a valid code row..
post code generation is invalid, because getIdentities get switched from a List<Identity> to a Identity[] where the add is not valid... and like that there are a plethora of similar error if i try to chase down the issue (es: GetRepositoryInfoResponse response = stub.getRepositoryInfo(get); getrepositoryinfo returns a GetRepositoryInfoResponseE, not a GetRepositoryInfoResponse)..
so i guess that's not working as intended and follow the canonical route..
if I instead follow the "guide"
1) Create a new documentum project
2) add axis2 lib
3) add the two java files Axisdfsconsumer and axisdfsnoregistrationconsumer and the build files (properties and build.xml)
4) edit the java files with login information and service location
5) edit the build files to match exact folder/service location
6) run build all
since there are no proxies the only notable error beforehand is the notification for missing stubs.. w/e, they supposedly should be generated by the ant build.
instead i get in the compile phase
\workspace_learn\AxisDfs\src\AxisDfsConsumer.java:1: cannot find symbol
[javac] symbol : class RepositoryIdentity
[javac] location: package com.emc.documentum.fs.datamodel.core.context
[javac] import com.emc.documentum.fs.datamodel.core.context.RepositoryIdentity;
issue is... the IDE finds them regularly in the code and they are in the classpath as library....
and of course i get errors like
\workspace_learn\AxisDfs\src\AxisDfsConsumer.java:62: cannot find symbol
[javac] symbol : method get(int)
[javac] location: class com.emc.documentum.fs.datamodel.core.context.Identity[]
[javac] serviceContext.getIdentities().get(0)).getRepositoryName());
(that are referring to mismatch in available methods in class, like i found while doing the whole round-up without following the guide).
Environment info:
Eclipse 3.6 (with all composer dependancy&plugin), java 1.6 (tested too with compliance level 1.5) and axis2 1.6.0
Eclipse Composer 6.6 , java 1.6 (tested too with compliance level 1.5) and axis2 1.6.0
Any advice? What's the abysmally noobish error I'm doing?