How-to SOAP TrackStudio 5.0.5
![Post Post](http://www.trackstudio.ru/forum/styles/prosilver/imageset/icon_post_target.gif)
Hi,
I try to run this code, but it's missing libraries.
Could give me links to libraries for download them ?
Another things, "http://user.service.soap.trackstudio.com/" is the good URL to use ?
Run on Netbeans with java 1.8u45
Regards,
LD
I try to run this code, but it's missing libraries.
Could give me links to libraries for download them ?
Another things, "http://user.service.soap.trackstudio.com/" is the good URL to use ?
Run on Netbeans with java 1.8u45
- Code: Select all
import com.trackstudio.soap.service.task.Task;
import com.trackstudio.soap.service.task.TaskService;
import com.trackstudio.soap.service.user.User;
import com.trackstudio.soap.service.user.UserService;
import javax.xml.namespace.QName;
import java.net.URL;
import java.util.Arrays;
public class TaskUtil {
public static void main(String[] arg) throws Exception {
String login = "root";
String pws = "root";
String url = "http://localhost:8888/TrackStudio/services/";
UserService service = new UserService(new URL(url + User.class.getSimpleName() + "?wsdl"), new QName("http://user.service.soap.trackstudio.com/", "UserService"));
String sessionId = service.getUserPort().authenticate(login, pws);
}
Regards,
LD