Iam new here and i am creating php application that will interact with CCA and i genereated php class from the wsdl web services now i want to know how to make a login using php and what are the values need to be passed .. thanks
First you should review the API docuemntation fuond here:
Modify case and https based on your server install.
Then on th eleft frame, scroll to the 'all classes' section. Stop and identify the ones that begin with a slash /
These are the ones you should focus on: Session and MessageProvider
Thanks a lot for the last reply
Iam trying from The API to disconnect or to SendToHold() and these both functions take as input session ID and Interaction ID but the function successfully return service result = 0 means it is valid but it doesnt end the call or put the call to hold,
to clarify more before this i used the function dialExternalNumber to dial an external number and it is working very good
and iam genereating the interaction ID from the function getNewInteractionId
it return a number for me which am using into the disconnect and in the SendToHold functions
please Urgently need the help as soon as possible
The MessageProvider Web Service provides users with the ability to manage their session and to retrieve call center messages.
Message server will announce an event and give you information about the event. For example, the event might be a new Interaction. Information related to the new Interaction could be the Interaction type, the originator (caller ID or email address), priority, etc.
Once the client application is logged in, the messages should be obtained by having a dedicated thread call the getMessages(int, String, int, int) method in this service on an infinite loop at least every 30 seconds.
The getMessages() operation returns a result of type GetMessagesResult with has two parts getServiceResult( ) returns a ServiceResult object that describes whether the last call to getMessages succeeded or failed
An array of Message objects. By digging into each SessionMessage object, you can find out what events have happened and get all of the important information associated with each event
great reply really many thanks,
just another question
what is required to call the function disconnect() or the function sendtohold() because i called dialexternalnumber function then i tried to call disconnect () function to disconnect from this call but it did nothing ?
and another thing
does i need the interaction id in this process i just explained for you ?
Please i really need big help in this part
Once again thanks a lot my lord
and when i call this wsdl specialy it give me error :
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing Schema: unexpected <complexType> in complexType: SoapClient->SoapClient('http://69.28.24...', Array) #1