EnglishRussianUkrainianChinese
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Web service on TS Host not responding
Goto page 1, 2  Next
 
Post new topicReply to topic    TrackStudio Forum Forum Index -> TrackStudio Support
View previous topic :: View next topic  
Author Message
sellingerd



Joined: 05 Dec 2003
Posts: 62
Location: Paris, France

PostPosted: Wed Feb 03, 2010 11:24 am    Post subject: Web service on TS Host not responding Reply with quote

The public Trackstudio web services for Trackstudio Host at, for example at

[url]
http://host.trackstudio.com/TrackStudio/services/User
[/url]

are returning 404 (not found).

Is this a temporary thing or is there some other problems?

thanks in advance.
_________________
d.
See blog.visitanywhere.info
Back to top
View user's profile Send private message Visit poster's website
admin
Site Admin


Joined: 01 Jan 1970
Posts: 6117
Location: Smolensk, Russia

PostPosted: Wed Feb 03, 2010 2:02 pm    Post subject: Re: Web service on TS Host not responding Reply with quote

We have changed in latest TrackStudio 4 betas SOAP framework from AXIS 1.x to JAX WS. This should simplify SOAP client (and server) development and improve SOAP API perfomance. Web services are accessible using new path, for example

http://host.trackstudio.com:8800/TrackStudio/services/User?wsdl
_________________
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com


Last edited by admin on Wed Feb 03, 2010 4:41 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
sellingerd



Joined: 05 Dec 2003
Posts: 62
Location: Paris, France

PostPosted: Wed Feb 03, 2010 4:15 pm    Post subject: Reply with quote

The URL provided is not responding. Will this be working soon?
_________________
d.
See blog.visitanywhere.info
Back to top
View user's profile Send private message Visit poster's website
admin
Site Admin


Joined: 01 Jan 1970
Posts: 6117
Location: Smolensk, Russia

PostPosted: Wed Feb 03, 2010 4:21 pm    Post subject: Reply with quote

sellingerd wrote:
The URL provided is not responding. Will this be working soon?


Have you tried to open it from browser ? Working fine for me.
_________________
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
sellingerd



Joined: 05 Dec 2003
Posts: 62
Location: Paris, France

PostPosted: Wed Feb 03, 2010 4:37 pm    Post subject: Reply with quote

Okay. It is working. It must be our firewall blocking the request.

cheers.
_________________
d.
See blog.visitanywhere.info
Back to top
View user's profile Send private message Visit poster's website
sellingerd



Joined: 05 Dec 2003
Posts: 62
Location: Paris, France

PostPosted: Mon Feb 15, 2010 10:43 am    Post subject: Reply with quote

The web service at this address is in no way the same as the previous web service. The names of many (maybe all) the ''object" bean classes - like TaskBean have been changed to a camel-case version - taskBean. This is not standard casing for class names.

In addition some members seem to have changed in incomprehensible ways. For example, previously the TaskSever.getChildren member returned an array of TaskBeans now it returns an array of userBeans.

I am using the WS from dot net with the command:

Quote:
wsdl.exe http://host.trackstudio.com:8800/TrackStudio/services/Task?wsdl /out:TaskService.cs /namespace:Com.TrackStudio.Task


Has this web service been fully tested and is it in its final form? It breaks all my code (and I am not really ready to rewrite everything).

Crying or Very sad
_________________
d.
See blog.visitanywhere.info
Back to top
View user's profile Send private message Visit poster's website
admin
Site Admin


Joined: 01 Jan 1970
Posts: 6117
Location: Smolensk, Russia

PostPosted: Mon Feb 15, 2010 11:02 am    Post subject: Reply with quote

sellingerd wrote:
The web service at this address is in no way the same as the previous web service.


Yes, this is different - old version uses Axis 1.0, which quite old for now, developement of Axis 1.x is stopped. We (and our customers) also have a lot of problems with it, generally regarded to bad perfomance and incorrect character encoding for non-latin chars.

We have tried to update to Axis 2.0, but it's incompatible with Axis 1.0, no easy way to replace.

Finally, we have decided to use JAX WS - standard Java way for SOAP API (introduced in Java SE 1.6), which is much faster (up to 3x) and easy to use (both client and server code).

We know, that API looks somewhat different now, for example it uses argument names like arg0, arg1, which can cause compatibility problems too. This change was not easy for us, because we know, that many customers uses SOAP API. But using Axis 1.x for next few years is a bad solution too, especially when we have standard way.
_________________
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
sellingerd



Joined: 05 Dec 2003
Posts: 62
Location: Paris, France

PostPosted: Mon Feb 15, 2010 11:05 am    Post subject: Reply with quote

Can you at least provide a comprehensive document describing the changes and the new API so we can decide what to do?
_________________
d.
See blog.visitanywhere.info
Back to top
View user's profile Send private message Visit poster's website
admin
Site Admin


Joined: 01 Jan 1970
Posts: 6117
Location: Smolensk, Russia

PostPosted: Mon Feb 15, 2010 11:12 am    Post subject: Reply with quote

sellingerd wrote:
Can you at least provide a comprehensive document describing the changes and the new API so we can decide what to do?


Actually, no major changes in API expected, we just replaced SOAP engine but doesn't control generated WSDL. No changes in API expected.

BTW, I've checked TaskService.getChildren - it should return array of TaskBeans:

Code:

    public TaskBean[] getChildren(String sessionId, String taskId) throws Exception {
        List<TaskBean> list = new ArrayList<TaskBean>();
        for (Object o : manager.getChildren(SessionManager.getInstance().getSessionContext(sessionId), Null.beNull(taskId))) {
            SecuredTaskBean stb = (SecuredTaskBean) o;
            list.add(stb.getSOAP());
        }
        return list.toArray(new TaskBean[]{new TaskBean()});
    }


Probably, you use UserService there ? It has the same method, but return array of UserBean.
_________________
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
sellingerd



Joined: 05 Dec 2003
Posts: 62
Location: Paris, France

PostPosted: Mon Feb 15, 2010 11:37 am    Post subject: Reply with quote

I don't under stand. When I generate my proxies (using the command that I posted previously, by proxy method for getChildren (in the TaskService is clearly):

Code:
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("",
        RequestNamespace="http://service.soap.trackstudio.com/",
        ResponseNamespace="http://service.soap.trackstudio.com/",
        Use=System.Web.Services.Description.SoapBindingUse.Literal,
        ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute("return",
        Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public userBean[] getChildren([System.Xml.Serialization.XmlElementAttribute(
        Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string arg0,
        [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] string arg1) {
    object[] results = this.Invoke("getChildren", new object[] {
       arg0,
        arg1});
    return ((userBean[])(results[0]));
}


I there a problem with the description of the service? If not, how should I be generating my .NET proxies so thay they match the code you posted?
_________________
d.
See blog.visitanywhere.info
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
TrackStudio Forum Forum Index -> TrackStudio Support All times are GMT + 3 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Copyright © 2002-2009,   TrackStudio, Ltd.
Contact Us