<div>Hi steven</div>
<div> </div>
<div>Thank you for your answer</div>
<div>i will try <br><br></div>
<div class="gmail_quote">2010/4/26 Steven Ayre <span dir="ltr"><<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>></span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">To use mod_curl to do a GET/POST request:<br><br><action application="curl"<br>data="<a href="http://www.myhost.com/script?getName=myGetValue" target="_blank">http://www.myhost.com/script?getName=myGetValue</a>" /><br>
<action application="curl" data="<a href="http://www.myhost.com/script" target="_blank">http://www.myhost.com/script</a> post<br>postName=myPostValue%20a%20space" /><br><br>You'd have to form a request string to match what your application expects. E.g.<br>
<action application="curl" data="<a href="http://www.myhost.com/" target="_blank">http://www.myhost.com</a> post<br>username=${username}&ip=${network_addr}"/><br><br>You can parse the XML from a script after the curl request, you'll<br>
find the curl_response_code and curl_response variables contain the<br>HTTP status code (200 if ok) and XML result.<br><br>-Steve<br>
<div>
<div></div>
<div class="h5"><br><br>On 26 April 2010 17:28, Alain MELIOT <<a href="mailto:alain.meliot@gmail.com">alain.meliot@gmail.com</a>> wrote:<br>><br>> Hi All<br>><br>> New to freeswitch i rewrite an asterisk application to freeswitch.<br>
> I have a javascript application where i collect some user data and i must<br>> send the data to a web service (wsdl) for processing.<br>> The problem is that i have no idea how to call the web service from curl or<br>
> javascript.<br>> Any help will be welcome.<br>> Thank in advance<br>><br>> Alain MELIOT<br></div></div>> _______________________________________________<br>> FreeSWITCH-users mailing list<br>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>><br>><br><br>_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br>