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