On Fri, May 20, 2011 at 11:15 AM, George Niculae <[email protected]> wrote: > 2011/5/20 Rajan, Nihar <[email protected]>: >> Hi George, >> >> Thnak u so much. At last I managed to connect with sipxecs webservice and >> create user.... > > Great, please update wiki page so anyone could take benefits from your > experience in developing clients with JAX-WS > >> >> I need one more help. I want to write Restful client application of sipxecs >> in java to perform operations like MWI,Auto attendent...... >> >> I tried to generate clent codes using Java web service from >> https://10.8.2.11:8443/sipxconfig/rest/ but got error. >> >> Is it the way to start or I need to follow other way ? kindly suggest. >> > > REST services are different than SOAP and unfortunately there is no > standard for JAVA REST clients (or at least I am not aware of). There > are several ways: > - you could use HttpClient to connect to and parse the response (that > is XML representation) > - Apache CXF REST client > - Jersey REST client > - Spring and RestTemplate > > But I think first you have to read and get familiar with REST web services. > (then check > http://wiki.sipfoundry.org/display/sipXecs/Configuration+RESTful+Service > and go through examples) >
http://leejava.wordpress.com/2009/09/02/consuming-a-rest-web-service/ for a simple HttpClient sample George _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev/
