Fix Classic ASP & Kashflow script

Stängt Publicerat 6 år sedan Betalades vid leverans
Stängt Betalades vid leverans

We are trying to use the following script to view invoice details from Kashflow using Classic ASP. But we are receiving the following error:

Microsoft VBScript runtime error '800a01a8'

Object required: '[url removed, login to view]'

We simply need it fixing, or advising us on what can fix this issue.

Script below....

Many thanks

-------------------------------------------------------------------------------------------------------------------------------

<%

SOAP_ENDPOINT = ""

SOAP_NS = ""

SOAP_FUNCTION = ""

SOAP_REQUEST = ""

SOAP_RESPONSE = ""

function SOAP_StartRequest(sEndPoint, sNameSpace, sFunction)

SOAP_ENDPOINT = sEndPoint

SOAP_NS = sNameSpace

SOAP_FUNCTION = sFunction

'do the SOAP envelope

SOAP_REQUEST = ""

SOAP_REQUEST = SOAP_REQUEST + " "

'start the SOAP body

SOAP_REQUEST = SOAP_REQUEST + ""

'start function

SOAP_REQUEST = SOAP_REQUEST + ""

end function

Function SOAP_AddParameter(byval strParam, byval strValue)

Dim strSoap

SOAP_REQUEST = SOAP_REQUEST + ""

SOAP_REQUEST = SOAP_REQUEST + strValue

SOAP_REQUEST = SOAP_REQUEST + ""

End Function

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 = [url removed, login to view]("MSXML2.ServerXMLHTTP.6.0")

[url removed, login to view] 2, 13056

[url removed, login to view] "POST", SOAP_ENDPOINT, false

[url removed, login to view] "Content-Type", "text/xml"

[url removed, login to view] "SOAPAction", SOAP_NS + "/" & SOAP_FUNCTION

[url removed, login to view] SOAP_REQUEST

SOAP_RESPONSE = [url removed, login to view]

end function

Function SOAP_GetResult(resultParam)

Dim oXml

Set oXml = CreateObject("[url removed, login to view]")

[url removed, login to view] = true

[url removed, login to view] SOAP_RESPONSE

Dim strPath

strPath = "/*/*//" + resultParam

Dim oNode

Set oNode = [url removed, login to view](strPath)

SOAP_GetResult = [url removed, login to view]

End Function

%>

------------------------------------------------------------------------------------------------------------------------------

<%

SOAP_StartRequest "[url removed, login to view]", "KashFlow", "GetInvoice"

SOAP_AddParameter "UserName", "USERNAME"

SOAP_AddParameter "Password", "PASSWORD"

SOAP_AddParameter "InvoiceNumber", "16477"

SOAP_SendRequest

%>

Status: <%=SOAP_GetResult("Status")%><br />

NetAmount: <%=SOAP_GetResult("NetAmount")%><br />

VATAmount: <%=SOAP_GetResult("VATAmount")%><br />

ASP HTML

Projekt-id: #15214965

About the project

12 offerter Distansprojekt Aktivt 6 år sedan

12 frilansare har lagt bud på i genomsnitt $15 för det här jobbet

vmadhavan15

Hi. this is simple as you have to check the component registered correctly or not at server. Relevant Skills and Experience ASP Proposed Milestones $15 USD - final payment

$15 USD inom 1 dag
(0 omdömen)
0.0
manjeet2017

Hi, I went through your requirement and feel comfortable to do this job. I have good experience in website design & development. Please initiate chat to discuss further. Relevant Skills and Experience PHP, Word press, Mer

$15 USD inom 10 dagar
(0 omdömen)
0.0
weonlydo

If you're online now, let's fit it right away Relevant Skills and Experience classic asp developer Proposed Milestones $15 USD - fix this error

$15 USD inom 0 dagar
(0 omdömen)
0.0
arcan08

Hi, I think I can fix the code but I have some questions, and I am not sure I can ask these questions if my bid is not won. Stay tuned, I'm still working on this proposal.

$15 USD inom 1 dag
(0 omdömen)
0.0
intemo

Hi! I can fix your issue. I have long term skills for classical asp development. Соответствующие навыки и опыт classical asp Предлагаемые промежуточные платежи $10 USD - after job is done

$10 USD inom 10 dagar
(0 omdömen)
0.0
gkalish

Good experience in Classic ASP and willing to start the work immediately. Relevant Skills and Experience Ready to fix it immediately. Proposed Milestones $15 USD - milestone 1

$15 USD inom 10 dagar
(0 omdömen)
0.0
ITservice

Are you also using include file in the top of the page? Relevant Skills and Experience Need to have a include file, I can see suggest you the right file. Proposed Milestones $25 USD - project milestone

$25 USD inom 1 dag
(0 omdömen)
0.0
vickey181

Hi,I have checked the issue and my understanding is that you are making api request and while parsing the response this error comes as this is object required so i need to check the response 1st. Relevant Skills and E Mer

$15 USD inom 10 dagar
(0 omdömen)
0.0