Important Update: Archer Community Scheduled Maintenance on November 23–24 - New Community Launching Soon! Learn More..
2022-02-20 06:13 AM
Hi,
If using REST API, able to connect to SAAS API. But when I use SOAP API it doesn't connect. The reason I'm using SOAP API is availability of searchrecordsbyreport and bulk update. Do we have the same features in REST API, then can someone please share the latest documentation.
Thanks,
Prem
2022-03-07 01:24 PM - edited 2022-03-07 01:26 PM
Sorry Perm, that doesn't help at all...
When you make a call to general.asmx, what is the SOAP body you are sending it?
It should look something like this:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<CreateUserSessionFromInstance xmlns="http://archer-tech.com/webservices/">
<userName>string</userName>
<instanceName>string</instanceName>
<password>string</password>
</CreateUserSessionFromInstance>
</soap:Body>
</soap:Envelope>
Advisory Consultant
2022-02-20 10:53 AM
Advisory Consultant
2022-02-20 04:56 PM
Also, which URL you are using to send SOAP request?
2022-02-22 11:01 AM
Request failed with an empty response
2022-02-22 12:05 PM
2022-02-22 12:24 PM
Hi David/Ilya,
The funny part is after multiple attempts it connects. If it helps below is screenshot of error message.
Thanks,
Prem
2022-02-22 12:30 PM
@Anonymous, what is the full SOAP response that's returned?
Advisory Consultant
2022-02-28 12:17 PM - edited 2022-02-28 12:18 PM
Hi David,
I shared the trace with David Freeman as he is helping us with SAAS move and it contained sensitive information so couldn't share it here. But he asked me to try getting more details using Fiddler. So will check using Fiddler and let you know.
Thanks,
Prem
2022-03-07 06:23 AM
Hi David,
Fiddler also didn't give in more information and so I installed API Toolbox to see if it connects over there. Below is the message I got for getting information on ws/general.asmx
{
"readyState": 4,
"responseText": "<?xml version=\"1.0\" encoding=\"utf-8\"?><soap:Envelope xmlns:soap=\"http://www.w3.org/2003/05/soap-envelope\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"><soap:Body><soap:Fault><soap:Code><soap:Value>soap:Receiver</soap:Value></soap:Code><soap:Reason><soap:Text xml:lang=\"en\">Server was unable to process request. ---> Root element is missing.</soap:Text></soap:Reason><soap:Detail /></soap:Fault></soap:Body></soap:Envelope>",
"responseXML": {
"location": null
},
"status": 500,
"statusText": "Internal Server Error"
}
soap:Receiver
2022-03-07 07:59 AM
@Anonymous wrote:
{
"readyState": 4,
"responseText": "<?xml version=\"1.0\" encoding=\"utf-8\"?><soap:Envelope xmlns:soap=\"http://www.w3.org/2003/05/soap-envelope\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"><soap:Body><soap:Fault><soap:Code><soap:Value>soap:Receiver</soap:Value></soap:Code><soap:Reason><soap:Text xml:lang=\"en\">Server was unable to process request. ---> Root element is missing.</soap:Text></soap:Reason><soap:Detail /></soap:Fault></soap:Body></soap:Envelope>",
"responseXML": {
"location": null
},
"status": 500,
"statusText": "Internal Server Error"
}soap:Receiver
Thanks and the reason for the issue is right in the response, highlighted above. The SOAP you're sending to Archer isn't correct. Can you post the complete SOAP you're sending to Archer?
Advisory Consultant