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

  • HI,

    Is this SAOP request working fine in Postman or in SOAP UI?
  • In reply to sandeepr373:

    Hi,
    It works through SOAP UI.
  • Hi Phani,

    What is the authentication mechanism you are using? Where are you passing the credentials while calling the SOAP Web service?
  • In reply to Shanmukha:

    Hi Shanmukha,
    I'm passing the credentials in the SETUP tab of Call Web Service.
  • In reply to phanibabuk:

    Hi Phani,

    In the SOAP UI, how you are passing the credentials i.e. is it basic auth or token based??

    Thanks,
    Nitesh
  • In reply to phanibabuk:

    Hi all,
    This got resolved.

    We installed a certificate and that resolved the issue.
  • In reply to phanibabuk:

    Hi Phani,

    Could you please elaborate a bit more on the issue and resolution. As even i am trying to make a soap service call which has basic auth authentication mechanism. What certificate was installed to make it working??

    Thanks,
    Nitesh
  • In reply to nitesht:

    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.
  • 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

 Discussion posts and replies are publicly visible