| Welcome to the Zimbra :: Forums! | |
Welcome, if you would like to post a comment please register.
We also encourage you to explore all things Zimbra with our team and members of the community.
|  | 
02-19-2007, 02:38 AM
| | Intermediate Member | |
Posts: 20
| | how to call Parlay X Web Services from zimlet I will make a zimlet which uses Parlay X Web Services. But I don't know Web Services well, so I don't know how to write the code which calls Parlay X Web Services (Interface:ThirdPartyCall, Operation:makeCall).
Please teach me how to write the code which calls Web Services. | 
02-19-2007, 11:48 PM
| | Former Zimbran | |
Posts: 5,606
| | Hi, and welcome to the Forums.
To be honest, I'm not sure we're going to be much help. Anything in particular?
-john | 
02-20-2007, 01:11 AM
| | Intermediate Member | |
Posts: 20
| | how to call Parlay X Web Services from zimlet Thank you for replying and sorry for bad explanation.
In "parlayx_third_party_call_interface_2_3.wsdl" and "parlayx_third_party_call_service_2_3.wsdl", "soap:address location", "service name","operation" and "input parameter" are written.
1) "soap:address location" = "http://localhost:9080/ThirdPartyCallService/services/ThirdPartyCall"
2) "service name" = "ThirdPartyCallService"
3) "operation" = "makeCall"
4) "input parameter" = "callingParty" and "calledParty"
When using AjxRpc.invoke method to call Parlay X Web Services, how should I set the parameters ?
AjxRpc.invoke(requestStr, serverUrl, requestHeaders, callback, useGet, timeout)
For example, 3) "operation" is set to requestStr or serverUrl ?
In case of requestStr, I set "operation=makeCall&callingParty=11111&calledParty =22222" to requestStr.
In case of serverUrl, I set "http://localhost:9080/ThirdPartyCallService/services/ThirdPartyCall/ThirdPartyCallService/makeCall" to serverUrl.
I want to know how to write the code in order to call Web Services correctly.
I hope you can understand my awkward English. | 
02-20-2007, 02:16 AM
| | | Yokomi, no need to post 8 times your message.
It was "delayed for moderation" because of the antispam feature of the board. | 
04-29-2008, 11:10 AM
| | | Quote:
Originally Posted by Yokomie Thank you for replying and sorry for bad explanation.
In "parlayx_third_party_call_interface_2_3.wsdl" and "parlayx_third_party_call_service_2_3.wsdl", "soap:address location", "service name","operation" and "input parameter" are written.
1) "soap:address location" = "http://localhost:9080/ThirdPartyCallService/services/ThirdPartyCall"
2) "service name" = "ThirdPartyCallService"
3) "operation" = "makeCall"
4) "input parameter" = "callingParty" and "calledParty"
When using AjxRpc.invoke method to call Parlay X Web Services, how should I set the parameters ?
AjxRpc.invoke(requestStr, serverUrl, requestHeaders, callback, useGet, timeout)
For example, 3) "operation" is set to requestStr or serverUrl ?
In case of requestStr, I set "operation=makeCall&callingParty=11111&calledParty =22222" to requestStr.
In case of serverUrl, I set "http://localhost:9080/ThirdPartyCallService/services/ThirdPartyCall/ThirdPartyCallService/makeCall" to serverUrl.
I want to know how to write the code in order to call Web Services correctly.
I hope you can understand my awkward English. | Did you solve it? I have the same question .... | | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |