How-to SOAP TrackStudio 5.0.5

Discuss problems installing or using TrackStudio.

How-to SOAP TrackStudio 5.0.5

Postby province-sud » Thu May 28, 2015 7:08 am

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

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
province-sud
 
Posts: 23
Joined: Thu Jan 08, 2009 11:58 pm

Re: How-to SOAP TrackStudio 5.0.5

Postby dpochtarev » Thu May 28, 2015 1:05 pm

dpochtarev
 
Posts: 256
Joined: Wed Aug 22, 2012 4:35 pm


Return to TrackStudio Support

Who is online

Users browsing this forum: No registered users and 3 guests