Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

4748

February 7th, 2011 11:00

EMC® VoyenceControl version 4.0.1

Dear All

I must integrate external system with Voyence Control via API. As I know, it is part of Ionix now, but customer want still use it....

I have only Application Programming Interface Cookbook, javadoc from server and WSDL. I can do export via UI using popup menu->Navigation->Interfaces_in_Device information like this:

Interface Name,Technology Type,If Index,Mac Address,Admin State,Operational State,Description,Last Update Time,Ip Redirects,Ip Proxy Arp,Speed,Encapsulation,Send Unreachable
GigabitEthernet6/1,Ethernet,14,001b.904a.2400,Up,Up,critical- < >,2011-01-26 11:25:47.263,true,Enabled,nonegotiate,arpa,true
GigabitEthernet6/2,Ethernet,15,001b.904a.2400,Down,Down,,2011-01-26 11:25:47.196,true,Enabled,,arpa,true
GigabitEthernet7/1,Ethernet,16,001b.904a.2400,Down,Down,,2011-01-26 11:25:47.196,true,Enabled,,arpa,true
GigabitEthernet7/10,Ethernet,25,001b.904a.2400,Down,Down,,2011-01-26 11:25:47.196,true,Enabled,,arpa,true
GigabitEthernet7/11,Ethernet,26,001b.904a.2400,Down,Down,,2011-01-26 11:25:47.196,true,Enabled,,arpa,true
GigabitEthernet7/12,Ethernet,27,001b.904a.2400,Down,Down,,2011-01-26 11:25:47.196,true,Enabled,,arpa,true
GigabitEthernet7/13,Ethernet,28,001b.904a.2400,Down,Down,,2011-01-26 11:25:47.196,true,Enabled,,arpa,true






Please, help me find out If Index,Mac Address,Description,Last Update Time,Ip Redirects,Ip Proxy in API sevice. I don't observe anything like this in WSDL and javadoc Help....

Thanks you in advance!!!

Oleg

13 Posts

February 11th, 2011 14:00

Hi Ravinder,

Thanks a lot. But I have only Application Programming Interface Cookbook P/N 300-007-475 REV A01. It book has a short description only how to connect to this service via RMI or WS. Nothing about available classes, methods, etc. And where I can find appropriate JAR with this API?

Thanks in advance,

Oleg

13 Posts

February 11th, 2011 14:00

Thanks you very much!

Oleg

13 Posts

February 17th, 2011 06:00

ravinder.battu wrote:

DSAPI samples and Javadoc can be found under $TOMCAT_HOME/webapps/web/dsapi on the Reporting Server. Thanks

Hello Ravinder,

I'm downloading  all needed goods from the server. I generate the JAR from WSDL and attach one to samples sources as library. I also take following JARs from sevrer:
VCApiCore2.jar
acegi-security-1.0.7.jar
client-4.0.1.697.RA.HF1.Patch.jar
jbossall-client.jar
jbossjmx-ant.jar

Also I generated the VoyenceDataAPI.jar from WSDL which gotten via http://your-report-server:8882/ws/dsapi/20/services/DataApiService?wsdl

But DataApiService.JNDI_NAME was not found out in any case. And I have troubles in AttributedModelQuerySample with Param.class definition.

What's is wrong? Please, help me

Thanks you in advance,

Oleg

13 Posts

February 20th, 2011 04:00

Hi Reid,

I found needed JARs for me and successfully complied test from provided sources. But I'm permanently getting following error:

Exception in thread "main" javax.naming.NameNotFoundException: 20DataApiService not bound
        at org.jnp.server.NamingServer.getBinding(NamingServer.java:491)
        at org.jnp.server.NamingServer.getBinding(NamingServer.java:499)
        at org.jnp.server.NamingServer.getObject(NamingServer.java:505)
        at org.jnp.server.NamingServer.lookup(NamingServer.java:278)
(lot of lines skipped.....)

I'm using following JARs in CLASSPATH:

VCApiCore2.jar
acegi-security-1.0.7.jar
client-4.0.1.697.RA.HF1.Patch.jar
javax.jar
javax.jws-1.0.jar
jaxb-api-2.0.jar
jaxws-api-2.1.jar
jbossall-client.jar
jbossjmx-ant.jar
voyence-dsapi-client-2.1.0.159.jar

PS How can I do myself reports? I'm extremely need get MAC addresses per each one interface...

Thanks you in advance,

Oleg

August 25th, 2014 22:00

Hi Friends,

I am trying this RMI interface.

But getting compiler error at this -   DataApiService.JNDI_NAME

I have generate the java classes from axis tool. It also generates the DataApiService class. But this class would not have JNDI_NAME parameter.

Can someone please help ?

No Events found!

Top