welcome.
sorry but my English is bad.
I have a problem with this example. When www.webservicex.net service is unavailable then the program crashes, and very long waits for the server response.
methods:
locautXmlHttp.setRequestHeader('KeepAlive','false');
locautXmlHttp.setRequestHeader('Timeout','5000');
do not work.
Is there another way to do it, so the program does not crash (stop)?
Comments
can anyone explain how to use this "Webservicetool" for getting Orders from a webshop.
Need Authentification for Example :
< ?xml version="1.0" encoding="UTF-8"? >
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://current.plenty.shop/plenty/api/soap/version100/"
xmlns:ns2="Authentification" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Header>
<ns2:verifyingToken>
<UserID>9</UserID>
<Token>810f2edcb7677ab90d53551eca7a2df5</Token>
</ns2:verifyingToken>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:GetServerTime ></ns1:GetServerTime>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
sorry but my English is bad.
I have a problem with this example. When www.webservicex.net service is unavailable then the program crashes, and very long waits for the server response.
methods:
locautXmlHttp.setRequestHeader('KeepAlive','false');
locautXmlHttp.setRequestHeader('Timeout','5000');
do not work.
Is there another way to do it, so the program does not crash (stop)?