Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Zimlets

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.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-19-2007, 02:38 AM
Intermediate Member
 
Posts: 20
Default 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.
Reply With Quote
  #2 (permalink)  
Old 02-19-2007, 11:48 PM
Former Zimbran
 
Posts: 5,606
Default

Hi, and welcome to the Forums.

To be honest, I'm not sure we're going to be much help. Anything in particular?

-john
Reply With Quote
  #3 (permalink)  
Old 02-20-2007, 01:11 AM
Intermediate Member
 
Posts: 20
Default 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.
Reply With Quote
  #4 (permalink)  
Old 02-20-2007, 02:16 AM
Moderator
 
Posts: 2,207
Default

Yokomi, no need to post 8 times your message.
It was "delayed for moderation" because of the antispam feature of the board.
Reply With Quote
  #5 (permalink)  
Old 04-29-2008, 11:10 AM
New Member
 
Posts: 4
Default

Quote:
Originally Posted by Yokomie View Post
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 ....
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.