Comments on: Consuming a .Net SOAP Webservice from Classic ASP (VBScript) https://www.kashflow.com/blog/consume-soap-from-vbscript/ Accounting & Payroll | Free Trial - No Card Required‎ Tue, 11 Aug 2020 16:08:43 +0000 hourly 1 https://wordpress.org/?v=6.4.3 By: Duane Jackson - Founder & CEO https://www.kashflow.com/blog/consume-soap-from-vbscript/#comment-4632 Tue, 02 Oct 2012 22:44:27 +0000 http://www.kashflow.com/?p=65#comment-4632 In reply to Jon Stephens.

Hi Jon,

Yes, you can. There are API calls for that documented here: http://www.kashflow.com/developers/soap-api/EmailInvoice/

Do email support@kashflow.com if you need help with it.

]]>
By: Jon Stephens https://www.kashflow.com/blog/consume-soap-from-vbscript/#comment-4627 Mon, 01 Oct 2012 15:06:27 +0000 http://www.kashflow.com/?p=65#comment-4627 Hi
Can we post an invoice using the API (this I know is possible) – and then automatically sent it.
Thanks
Jon
PS. Great product – keep up the good work 🙂

]]>
By: Duane Jackson - Founder & CEO https://www.kashflow.com/blog/consume-soap-from-vbscript/#comment-1828 Wed, 16 May 2012 22:51:31 +0000 http://www.kashflow.com/?p=65#comment-1828 Hi Férnas,

I was going to suggest setting the encoding/charset.

Thanks for sharing your solution

]]>
By: Férnas https://www.kashflow.com/blog/consume-soap-from-vbscript/#comment-1827 Wed, 16 May 2012 17:42:40 +0000 http://www.kashflow.com/?p=65#comment-1827 Well, I solved the problem with the accents. Here what need to be changed:

Just put “; charset=utf-8” after “text/xml”, in the SOAP_SendRequest() function.

Bellow is the changed function to accept accents. I hope it help somebody 😉

function SOAP_SendRequest()
‘end function, body and envelope
SOAP_REQUEST = SOAP_REQUEST + “”
SOAP_REQUEST = SOAP_REQUEST + “”
SOAP_REQUEST = SOAP_REQUEST + “”
Dim oHttp
Dim strResult
Set oHttp = CreateObject(“Msxml2.XMLHTTP”)
oHttp.open “POST”, SOAP_ENDPOINT, false
oHttp.setRequestHeader “Content-Type”, “text/xml; charset=utf-8”
oHttp.setRequestHeader “SOAPAction”, SOAP_NS + “/” & SOAP_FUNCTION
oHttp.send SOAP_REQUEST
SOAP_RESPONSE = oHttp.responseText
end function

]]>
By: Férnas https://www.kashflow.com/blog/consume-soap-from-vbscript/#comment-1826 Wed, 16 May 2012 16:40:31 +0000 http://www.kashflow.com/?p=65#comment-1826 One question: when I use this function, accented letters become “??”. Any idea to solve that? thanks

]]>
By: Férnas https://www.kashflow.com/blog/consume-soap-from-vbscript/#comment-1825 Wed, 16 May 2012 14:53:47 +0000 http://www.kashflow.com/?p=65#comment-1825 Pretty useful information.. that really works.. Thanks a lot for sharing your knowledge.. 😉

]]>
By: Karl https://www.kashflow.com/blog/consume-soap-from-vbscript/#comment-1824 Wed, 27 Apr 2011 17:34:10 +0000 http://www.kashflow.com/?p=65#comment-1824 Thanks for this generic code. Works great and saved me a ton of time! I’m using it to schedule several processes that I need to run in the Task Scheduler. Thanks for posting.

]]>
By: Paul wood https://www.kashflow.com/blog/consume-soap-from-vbscript/#comment-1822 Fri, 12 Mar 2010 17:14:24 +0000 http://www.kashflow.com/?p=65#comment-1822 SOAP to classic ASP.
I havent found any other info that worked, and is easy to understand. You have made my day.
Your my hero of the week.

]]>
By: mortimernova https://www.kashflow.com/blog/consume-soap-from-vbscript/#comment-1821 Mon, 08 Jun 2009 14:41:59 +0000 http://www.kashflow.com/?p=65#comment-1821 This is probably the most useful SOAP to classic ASP information I’ve found in the last week. Everything I’ve found has been broken and this is likely going to save me hours of more searching. Bravo to you and thanks for posting this up.

]]>
By: Klint https://www.kashflow.com/blog/consume-soap-from-vbscript/#comment-1820 Tue, 09 Dec 2008 18:53:42 +0000 http://www.kashflow.com/?p=65#comment-1820 This post just made my day. Thank you for posting your code for all. It works like a charm, and the code is very logical and easy to understand.

]]>