<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">&lt;<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>&gt;</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>&lt;action application=&quot;curl&quot;<br>data=&quot;<a href="http://www.myhost.com/script?getName=myGetValue" target="_blank">http://www.myhost.com/script?getName=myGetValue</a>&quot; /&gt;<br>
&lt;action application=&quot;curl&quot; data=&quot;<a href="http://www.myhost.com/script" target="_blank">http://www.myhost.com/script</a> post<br>postName=myPostValue%20a%20space&quot; /&gt;<br><br>You&#39;d have to form a request string to match what your application expects. E.g.<br>
&lt;action application=&quot;curl&quot; data=&quot;<a href="http://www.myhost.com/" target="_blank">http://www.myhost.com</a> post<br>username=${username}&amp;ip=${network_addr}&quot;/&gt;<br><br>You can parse the XML from a script after the curl request, you&#39;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 &lt;<a href="mailto:alain.meliot@gmail.com">alain.meliot@gmail.com</a>&gt; wrote:<br>&gt;<br>&gt; Hi All<br>&gt;<br>&gt; New to freeswitch i rewrite an asterisk application to freeswitch.<br>
&gt; I have a javascript application where i collect some user data and i must<br>&gt; send  the data to a web service (wsdl) for processing.<br>&gt; The problem is that i have no idea  how to call the web service from curl or<br>
&gt; javascript.<br>&gt; Any help will be welcome.<br>&gt; Thank in advance<br>&gt;<br>&gt; Alain MELIOT<br></div></div>&gt; _______________________________________________<br>&gt; FreeSWITCH-users mailing list<br>&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>&gt;<br>&gt;<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>