Forums

« Back to SOAP API

Java application for consuming Presence Web Service.

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi,
I have to develop a java application that will consume presence web service.I have created stub classes from given wsdl for this service.But i am not not able to find how can i login an application user using provided login function in stub class,because parameters it specifies are just {username,[password|app-session-id],force}.
No argument specification is there for sending call back url.
Or is it because i am using stub classes in a wrong way?
Also i just want to build a console application to interact with this web service ,is it possible to go with console app or do i have to make a web application for accessing this service.
I am using apache-cxf with eclipse to generate stub classes.Can you just tell me how to proceed for creating console application for this presence web service,because reference application is a web application.Any sample console application would work.
Your help will be very much appreciated.Thank you in advance.

Hi Avnessh,
It explained in the developer doc. Refer page 94.

Jose

Thanks for response to query regarding application user login.What about console based application for this presence web service ??Is it possible to implement ??If not then please clarify ,so that i can move on to web application for consuming this web service.
Thanks,
Avneesh.

PWS is also a REST interface, therefore you write applications not necessarily a web app.

You mean to say that we can have console application if we use REST interface but in case of SOAP interface one could only consume the PWS with web application.Is it ??If that is so then i would have to drop the idea of developing console app using SOAP interface.Plese clarify so that i can start in one direction.
Thanks,
Avneesh.

Collateral


No files available