on 06-03-2005 10:01 AM
Hello All,
SAP Help for Netweaver Developer Studio states that these services allows navigation in the system landscape and gives an example :
try {
// Get the required CIMClient object
com.sap.lcr.api.cimclient.CIMClient
cimClient = WDSystemLandscapeFactory.getClient();
...
}
Which package WDSystemLandscapeFactory belongs to? Does anyone have any examples how to navigate SAP System Landscape Directory from a webdynpro app?
Any Help in this regard will be appreicated.
Thanks in advance.
Regards
~Deshdeepak
Hi Deshdeepak,
You can get classes for this purpose on the server at the following location:
usr\sap\<SYS ID>\JC00\SDM\root\origin\sap.com\com.sap.lcr.api.cimclient
There you can find one sda file which contains all required classes.
Check this and let me know.
Regards,
Bhavik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kishore
Thanks for a reply,but my query was for WDSystemLandscapeFactory Class.
I can find WDSystemLandscape and WDsystemLandscapeException classes but even after searching rigoursly i was unable to find "WDSystemLandscapeFactory" class. The factory class is required for creating an instance of CIMClient class.
If anyone has some solution for the above mentioned problem,their inputs are most welcome.
Thanks in advance.
Regards
~Deshdeepak
Hi Deshdeepak
I have the same problem , not able to locate the class
WDSystemLandscapeFactory. But the objective is to get
CIMClient , here is alternative
URL url = new URL("<sld host>:<sld port>");
ClientFactory factory = ClientFactory.newInstance();
CIMOMClient client = factory.createClient(url,
"<sld user>", "<sld password>");
CIMClient cimClient = new CIMClient(client);
Then you could do the rest as in the example.
Regards
Bhanu Mohanty
Hi Did someone manage to find the WDSystemLandscapeFactory class
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.