Log In
Developer Network
Technologies
Join the Network
Member Services
Events & Community
Unified Presence APIs (CUPAPI) Developer Center
Overview
Overview Of Interfaces
XMPP
BOSH
SIP/SIMPLE
SOAP
REST
System Architecture
CAXL SDK
Overview
Compatibility
Documentation
Download
Resources
Client Configuration Web Service
Presence Web Service
Web Services Reference Application
Platform SOAP Service
Documentation
Community
Resources
Support & Services
Cisco Unified Presence APIs Developer Forums
Message Boards Home
Recent Posts
Statistics
Answer
(
Unmark
)
Mark as an Answer
« Back to SOAP API
Java application for consuming Presence Web Service.
Threads [
Previous
|
Next
]
Avnessh yadav
Posts:
3
Join Date:
5/21/12
Recent Posts
Java application for consuming Presence Web Service.
presence web service
soap
sample application
Answer
7/13/12 3:21 PM
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Jose Sebastian
Posts:
25
Join Date:
9/3/10
Recent Posts
RE: Java application for consuming Presence Web Service.
Answer
7/13/12 3:41 PM as a reply to Avnessh yadav.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Hi Avnessh,
It explained in the developer doc. Refer page 94.
Jose
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Avnessh yadav
Posts:
3
Join Date:
5/21/12
Recent Posts
RE: Java application for consuming Presence Web Service.
Answer
7/13/12 7:04 PM as a reply to Jose Sebastian.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Jose Sebastian
Posts:
25
Join Date:
9/3/10
Recent Posts
RE: Java application for consuming Presence Web Service.
Answer
7/13/12 11:13 PM as a reply to Avnessh yadav.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
PWS is also a REST interface, therefore you write applications not necessarily a web app.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Avnessh yadav
Posts:
3
Join Date:
5/21/12
Recent Posts
RE: Java application for consuming Presence Web Service.
Answer
7/14/12 5:12 AM as a reply to Jose Sebastian.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
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.
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Overview
Overview Of Interfaces
XMPP
BOSH
SIP/SIMPLE
SOAP
REST
System Architecture
CAXL SDK
Overview
Compatibility
Documentation
Download
Resources
Client Configuration Web Service
Presence Web Service
Web Services Reference Application
Platform SOAP Service
Documentation
Community
Resources
Support & Services
Search Community