Unsolved
This post is more than 5 years old
2 Posts
0
869
July 20th, 2011 01:00
Voyence Api issues: compiling the standard api sample ApiConnectionTest.java
Hi Everyone I was wondering if anyone has had the same issue as this and possibly knows a solution to it.
When just looking at the WS portion of the samples.tar file in eclipse it shows that the following two class imports are missing.
import com.powerup.configmgr.server.services.api.ApiServiceSoapBindingStub;
import com.powerup.configmgr.server.services.api.ApiServiceServiceLocator;
The same thing when compiling on command line.
Attached is a screen shot of the ecplise highlighting the 'missing' classes
This it the output of the javac for it too
[root@uatcdlvoyapp1 samples]# javac -cp /tmp/samples/WS/lib/:/tmp/samples/WS/lib/* ApiConnectionTest.java
ApiConnectionTest.java:10: cannot find symbol
symbol : class ApiServiceSoapBindingStub
location: package com.powerup.configmgr.server.services.api
import com.powerup.configmgr.server.services.api.ApiServiceSoapBindingStub;
^
ApiConnectionTest.java:11: cannot find symbol
symbol : class ApiServiceServiceLocator
location: package com.powerup.configmgr.server.services.api
import com.powerup.configmgr.server.services.api.ApiServiceServiceLocator;
^
ApiConnectionTest.java:18: cannot find symbol
symbol : class ApiServiceSoapBindingStub
location: class com.voyence.api.samples.ApiConnectionTest
ApiServiceSoapBindingStub api;
^
ApiConnectionTest.java:20: cannot find symbol
symbol : class ApiServiceServiceLocator
location: class com.voyence.api.samples.ApiConnectionTest
ApiServiceServiceLocator locator = new ApiServiceServiceLocator();
^
ApiConnectionTest.java:20: cannot find symbol
symbol : class ApiServiceServiceLocator
location: class com.voyence.api.samples.ApiConnectionTest
ApiServiceServiceLocator locator = new ApiServiceServiceLocator();
^
ApiConnectionTest.java:22: cannot find symbol
symbol : class ApiServiceSoapBindingStub
location: class com.voyence.api.samples.ApiConnectionTest
api = (ApiServiceSoapBindingStub) locator.getApiService();
^
6 errors