Issue calling a SOAP webservice

Hi all,

I'm trying to invoke a SOAP service by configuring the "Call Web Service" smart service.

I passed the required credentials along with it.

However, I'm getting an error as follows:

Communication with the remote server failed. Details: Transport error: 401 Error: HTTP/1.1 401 401 (APNX-1-4045-000)

Any pointers will be helpful.

Thanks,

Phani

  Discussion posts and replies are publicly visible

Parents Reply Children
  • Hi Nitesh,
    When we were trying to call the wsdl from Appian, we were getting an error that the remote server's certificate is invalid. So, we reached out to the team and they had given a certificate.

    That certificate was installed on Appian server and it resolved the issue.
  • 0
    Certified Lead Developer
    in reply to phanibabuk
    Hi Phani,

    Thanks for your reply.. Even i am trying to consume a soap service which supports basic authentication. However, in order to authenticate, i am sending the credential in header as per below:
    extensions: {
    a!wsHttpHeaderField(name:"Authorization",
    value:"---Base 64 encoded password--"
    )
    }
    As the "name"/"Value" for a!wsHttpHeaderField() is text i am not able to use a!scsField() and due to security reason i can't have the password as text.

    Could you please let me know how you have done the authentication for your case.

    Thanks,
    Nitesh