Invoking TimeOffService in na6 gives 500 Internal Server error

  • 1
  • Problem
  • Updated 3 years ago
  • Acknowledged
Hi Team,

We are trying to add an improvisation to the timeOffService, but while trying to invoke the same:
https://na6.replicon.com/services/TimeOffService1.svc/soap

We get the below error:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">;   <s:Header>
      <execution-correlation-id xmlns="http://replicon.com/">1023bcc58b8a4dd7a2fe60921f0d3675</execution-correlation-id>;
   </s:Header>
   <s:Body>
      <s:Fault>
         <faultcode xmlns:a="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">a:FailedA...;
         <faultstring xml:lang="en-US">The tenant account could not be found</faultstring>
         <detail>
            <AuthenticationError1 xmlns="http://replicon.com/saas-security/"; xmlns:i="http://www.w3.org/2001/XMLSchema-instance">;
               <displayText>The tenant account could not be found</displayText>
               <failureUri>urn:replicon-saas-security:authentication-error:unknown-tenant</failureUri>
            </AuthenticationError1>
         </detail>
      </s:Fault>
   </s:Body>
</s:Envelope>

However, the tenant being passed does exist in the system as we verify it portal:
https://na6.replicon.com/mcfadyen/services/TimeOffService1.svc/help/test/GetTimeOffDetailsForUserAnd...

Above link gives proper response but hitting the service end point directly gives authentication failure.

Please if you could let us know if there is any extra configuration required to get this working?
Thanks in advance.
Photo of Devika

Devika

  • 2 Posts
  • 0 Reply Likes

Posted 3 years ago

  • 1
Photo of Lingaraj Dharwad

Lingaraj Dharwad, Product Champion

  • 1100 Posts
  • 46 Reply Likes
Hi Devika,

Thank you for using Replicon community,

We are looking into this issue and will revert before EOD today. 

Thanks,
Lingaraj
Photo of Lingaraj Dharwad

Lingaraj Dharwad, Product Champion

  • 1100 Posts
  • 46 Reply Likes
Hi Devika,

We noticed that the company name is missing from the Time off service URL: 

https://na6.replicon.com/services/TimeOffService1.svc/soap

Ideally the URL should be: 

https://na6.replicon.com/mcfadyen/services/TimeOffService1.svc/soap

Let me know if that helps.

Thanks,
Lingaraj
Photo of Devika

Devika

  • 2 Posts
  • 0 Reply Likes
Thanks Lingaraj, but we did try the url with company name, same error...
Photo of Sreejesh Muralidharan

Sreejesh Muralidharan, Subject Matter Expert

  • 1 Post
  • 0 Reply Likes
Hi Devika,

Looking at the post I see that you are using SOAP call and based on the error "Authentication" parameters are not defined in that call.

URL posted is https://na6.replicon.com/mcfadyen/services/TimeOffService1.svc/soap to which we need to pass both username and password to get the results. Could you please debug your program and check whether authentication method (BasicAuth/Security) is passing the correct username and password?