cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
413
Views
0
Helpful
2
Replies

404 Not found error when sending xml to CUP using Apex

anubha_saxena1
Level 1
Level 1

Hi,

 

I want to send a login request to CUP using Apex or JavaScript but I'm getting a 404 Not found error in response.

I tried sending request to login into CUP using the following format -

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope" 
      xmlns:epas="urn:cisco:epas:soap" 
      xmlns="urn:cisco:epas:soap">
<soapenv:Body>
<login>
<username>thirdpartyappadmin</username>
<password>12345</password>
</login>
</soapenv:Body>
</soapenv:Envelope>
 
What I'm doing is, creating an HttpRequest (in Apex) and setting this xml as its body. The headers I'm setting are - Content-Type, Accept and soapAction.
Same error is encountered when I use JavaScript.
 
Can you please tell me what I'm doing wrong?
 
2 Replies 2

Nirmal Issac
Level 1
Level 1

Is this issue resolved? Could you share the AXL / Client profile agent logs during the login?

There was a configuration problem in CUP.