mod_xml_curl SOAP newbie question
this is not so much a question but rather I'd like to know if I'm on the right track with this. I want to use mod_xml_curl to call a SOAP web service and return a dialplan. Am I correct in saying that the SOAP response has to be re-formatted by some other script/etc. on the web server before the response is sent back to FS so it is in the correct XML dialplan format that FS requires? thanks jeff
Correct. On 27 October 2012 11:38, Jeff Geddes <geddes.jeffrey@gmail.com> wrote:
this is not so much a question but rather I'd like to know if I'm on the right track with this.
I want to use mod_xml_curl to call a SOAP web service and return a dialplan.
Am I correct in saying that the SOAP response has to be re-formatted by some other script/etc. on the web server before the response is sent back to FS so it is in the correct XML dialplan format that FS requires?
thanks jeff
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
You are right. FS must receive a response formatted as XML FS format. Regards 2012/10/27 Jeff Geddes <geddes.jeffrey@gmail.com>
this is not so much a question but rather I'd like to know if I'm on the right track with this.
I want to use mod_xml_curl to call a SOAP web service and return a dialplan.
Am I correct in saying that the SOAP response has to be re-formatted by some other script/etc. on the web server before the response is sent back to FS so it is in the correct XML dialplan format that FS requires?
thanks jeff
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
It depends on what you want to do In general the mod_xml_curl sends a request to web server with many parameters and you need to reply to the request based on those parameters I did a very simple example in which I bind only the dialplan (by setting the autoload configs) and removed all the static xml files (well not all but just the one that contains information about the users) When the call came in the module requested the dialplan from my web server (LAMP) which replied just a static dialplan file It is a very simple example but it worked On Sat, Oct 27, 2012 at 11:38 AM, Jeff Geddes <geddes.jeffrey@gmail.com>wrote:
this is not so much a question but rather I'd like to know if I'm on the right track with this.
I want to use mod_xml_curl to call a SOAP web service and return a dialplan.
Am I correct in saying that the SOAP response has to be re-formatted by some other script/etc. on the web server before the response is sent back to FS so it is in the correct XML dialplan format that FS requires?
thanks jeff
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Bottom line is.. SOAP won't even factor in. -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH_Wire T: +1.918.420.9266 | F: +1.918.420.9267 | M: +1.918.424.WEST iNUM: +883 5100 1420 9266 UK: +44 20 3298 4900 ISN: 410*543 On Oct 27, 2012, at 1:38 PM, Jeff Geddes <geddes.jeffrey@gmail.com> wrote:
this is not so much a question but rather I'd like to know if I'm on the right track with this.
I want to use mod_xml_curl to call a SOAP web service and return a dialplan.
Am I correct in saying that the SOAP response has to be re-formatted by some other script/etc. on the web server before the response is sent back to FS so it is in the correct XML dialplan format that FS requires?
thanks jeff ________
participants (5)
-
Ben Langfeld
-
Brian West
-
Jeff Geddes
-
Juan Antonio Ibañez Santorum
-
Yiftach Golan